blob: 4be137539c0a902acdb7bb12df951a0b4bf2996d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
<div class="ball" style="padding:5px;">
<div class="modal-body">
<div class="form-horizontal">
<fieldset>
<div class="form-group">
<legend>{{installerModalCtrl.data.text}}</legend>
<div class="row">
<div class="update-project">
<div class="col-sm-4">
<label for="cpid" class="control-label col-sm-2"> Name: </label>
</div>
<div class="col-sm-6">
<input type="text" class="form-control" ng-model="installerModalCtrl.installer.installer"/>
<p class="help-block"></p>
</div>
</div>
<div class="update-project">
<div class="col-sm-4">
<label for="cpid" class="control-label col-sm-2"> Version: </label>
</div>
<div class="col-sm-6">
<button class="btn btn-primary" ng-click="installerModalCtrl.openVersionModal()">Add Version</button>
<p class="help-block"></p>
</div>
</div>
</div>
</div>
</fieldset>
</div>
<div class='clo-md-12' style="padding-right:0px">
<h3>Version</h3>
<div class="table-responsive">
<table class="table table-bordered table-hover" ng-data="installerModalCtrl.installer.versions">
<thead>
<tr style="
text-align: center;">
<th style="width: 19%;">Version</th>
</tr>
</thead>
<tbody>
<tr ng-repeat-start="(index, version) in installerModalCtrl.installer.versions" style="padding:9px">
<td>{{version.version}}</td>
</tr>
<tr ng-repeat-end=>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="modal-footer">
<div ng-show="installerModalCtrl.showCreateError" style="padding:0px;" class="col-md-6 alert alert-danger" role="alert">
<span class="pull-right"> {{installerModalCtrl.error}}</span>
<span class="glyphicon glyphicon-exclamation-sign pull-right" aria-hidden="true" >Error:</span>
</div>
<button class="btn btn-primary" ng-click="installerModalCtrl.confirm()">Ok</button>
<button class="btn btn-default" ng-click="installerModalCtrl.cancel()">Cancel</button>
</div>
</div>
|