blob: 90e454453cbb8d26883faa3fc3e442f27d771157 (
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
|
<div class="ball" style="padding:5px;">
<div class="modal-body">
<div class="form-horizontal">
<fieldset>
<div class="form-group">
<legend>{{customModalCtrl.data.text}}</legend>
<div class="row">
<div class="update-project">
<label for="cpid" class="control-label col-sm-4">Custom: </label>
<table cellpadding="0" cellspacing="0">
<tbody ng-repeat="custom in customModalCtrl.customs">
<tr>
<td>
<div class="col-sm-12">
<input type="text" class="form-control" value="{{custom}}" disabled/>
<p class="help-block"></p>
</div>
</td>
<td><input type="button" class="btn btn-danger" ng-click="customModalCtrl.remove($index)" value="Remove" /></td>
</tr>
</tbody>
<tfoot>
<tr>
<td>
<div class="col-sm-12">
<input type="text" class="form-control" ng-model="customModalCtrl.custom"/>
<p class="help-block"></p>
</div>
</td>
<td><input type="button" class="btn btn-primary" ng-click="customModalCtrl.add()" value="Add" /></td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</fieldset>
</div>
</div>
<div class="modal-footer">
<div ng-show="customModalCtrl.showCreateError" style="padding:0px;" class="col-md-6 alert alert-danger" role="alert">
<span class="pull-right"> {{customModalCtrl.error}}</span>
<span class="glyphicon glyphicon-exclamation-sign pull-right" aria-hidden="true" >Error:</span>
</div>
<button class="btn btn-primary" ng-click="customModalCtrl.confirm()">Ok</button>
<button class="btn btn-default" ng-click="customModalCtrl.cancel()">Cancel</button>
</div>
</div>
|