提交 | 用户 | 时间
|
1ac2bc
|
1 |
|
懒 |
2 |
<div class="modal" ng-controller="KisBpmFieldsPopupCtrl"> |
|
3 |
<div class="modal-dialog modal-wide"> |
|
4 |
<div class="modal-content"> |
|
5 |
<div class="modal-header"> |
|
6 |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="close()">×</button> |
|
7 |
<h3>{{'PROPERTY.PROPERTY.EDIT.TITLE' | translate:property}}</h3> |
|
8 |
</div> |
|
9 |
<div class="modal-body"> |
|
10 |
|
|
11 |
<div class="row row-no-gutter"> |
|
12 |
<div class="col-xs-6"> |
|
13 |
<div ng-if="translationsRetrieved" class="kis-listener-grid" ng-grid="gridOptions"></div> |
|
14 |
<div class="pull-right"> |
|
15 |
<div class="btn-group"> |
|
16 |
<a href="#" class="btn btn-icon btn-lg" rel="tooltip" data-title="{{'ACTION.MOVE.UP' | translate}}" data-placement="bottom" data-original-title="" title="" ng-click="moveFieldUp()"><i class="glyphicon glyphicon-arrow-up"></i></a> |
|
17 |
<a href="#" class="btn btn-icon btn-lg" rel="tooltip" data-title="{{'ACTION.MOVE.DOWN' | translate}}" data-placement="bottom" data-original-title="" title="" ng-click="moveFieldDown()"><i class="glyphicon glyphicon-arrow-down"></i></a> |
|
18 |
</div> |
|
19 |
<div class="btn-group"> |
|
20 |
<a href="#" class="btn btn-icon btn-lg" rel="tooltip" data-title="{{'ACTION.ADD' | translate}}" data-placement="bottom" data-original-title="" title="" ng-click="addNewField()"><i class="glyphicon glyphicon-plus"></i></a> |
|
21 |
<a href="#" class="btn btn-icon btn-lg" rel="tooltip" data-title="{{'ACTION.REMOVE' | translate}}" data-placement="bottom" data-original-title="" title="" ng-click="removeField()"><i class="glyphicon glyphicon-minus"></i></a> |
|
22 |
</div> |
|
23 |
</div> |
|
24 |
</div> |
|
25 |
|
|
26 |
<div class="col-xs-6"> |
|
27 |
<div ng-show="selectedFields.length > 0"> |
|
28 |
|
|
29 |
<div class="form-group"> |
|
30 |
<label for="fieldName">{{'PROPERTY.FIELDS.NAME' | translate}}</label> |
|
31 |
<input type="text" id="fieldName" class="form-control" ng-model="selectedFields[0].name" placeholder="{{'PROPERTY.FIELDS.NAME.PLACEHOLDER' | translate}}" /> |
|
32 |
</div> |
|
33 |
|
|
34 |
<div class="form-group"> |
|
35 |
<label for="fieldStringValue">{{'PROPERTY.FIELDS.STRINGVALUE' | translate}}</label> |
|
36 |
<input type="text" id="fieldStringValue" class="form-control" ng-model="selectedFields[0].stringValue" ng-change="fieldDetailsChanged()" placeholder="{{'PROPERTY.FIELDS.STRINGVALUE.PLACEHOLDER' | translate}}" /> |
|
37 |
</div> |
|
38 |
|
|
39 |
<div class="form-group"> |
|
40 |
<label for="fieldExpression">{{'PROPERTY.FIELDS.EXPRESSION' | translate}}</label> |
|
41 |
<input type="text" id="fieldExpression" class="form-control" ng-model="selectedFields[0].expression" ng-change="fieldDetailsChanged()" placeholder="{{'PROPERTY.FIELDS.EXPRESSION.PLACEHOLDER' | translate}}" /> |
|
42 |
</div> |
|
43 |
|
|
44 |
<div class="form-group"> |
|
45 |
<label for="fieldString">{{'PROPERTY.FIELDS.STRING' | translate}}</label> |
|
46 |
<textarea type="text" id="fieldString" class="form-control" ng-model="selectedFields[0].string" ng-change="fieldDetailsChanged()" placeholder="{{'PROPERTY.FIELDS.STRING.PLACEHOLDER' | translate}}"></textarea> |
|
47 |
</div> |
|
48 |
|
|
49 |
</div> |
|
50 |
<div ng-show="selectedFields.length == 0" class="muted no-property-selected" translate>PROPERTY.FIELDS.EMPTY</div> |
|
51 |
</div> |
|
52 |
</div> |
|
53 |
|
|
54 |
</div> |
|
55 |
<div class="modal-footer"> |
|
56 |
<button ng-click="cancel()" class="btn btn-primary" translate>ACTION.CANCEL</button> |
|
57 |
<button ng-click="save()" class="btn btn-primary" translate>ACTION.SAVE</button> |
|
58 |
</div> |
|
59 |
</div> |
|
60 |
</div> |
|
61 |
</div> |