提交 | 用户 | 时间
|
1ac2bc
|
1 |
|
懒 |
2 |
<div class="modal" ng-controller="KisBpmExecutionListenersPopupCtrl"> |
|
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 |
<h2>{{'PROPERTY.PROPERTY.EDIT.TITLE' | translate:property}}</h2> |
|
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 class="btn btn-icon btn-lg" rel="tooltip" data-title="{{ACTION.MOVE.UP | translate}}" data-placement="bottom" data-original-title="" title="" ng-click="moveListenerUp()"><i class="glyphicon glyphicon-arrow-up"></i></a> |
|
17 |
<a class="btn btn-icon btn-lg" rel="tooltip" data-title="{{ACTION.MOVE.DOWN | translate}}" data-placement="bottom" data-original-title="" title="" ng-click="moveListenerDown()"><i class="glyphicon glyphicon-arrow-down"></i></a> |
|
18 |
</div> |
|
19 |
<div class="btn-group"> |
|
20 |
<a class="btn btn-icon btn-lg" rel="tooltip" data-title="{{ACTION.ADD | translate}}" data-placement="bottom" data-original-title="" title="" ng-click="addNewListener()"><i class="glyphicon glyphicon-plus"></i></a> |
|
21 |
<a class="btn btn-icon btn-lg" rel="tooltip" data-title="{{ACTION.REMOVE | translate}}" data-placement="bottom" data-original-title="" title="" ng-click="removeListener()"><i class="glyphicon glyphicon-minus"></i></a> |
|
22 |
</div> |
|
23 |
</div> |
|
24 |
</div> |
|
25 |
|
|
26 |
<div class="col-xs-6"> |
|
27 |
<div ng-show="selectedListeners.length > 0"> |
|
28 |
|
|
29 |
<div class="form-group"> |
|
30 |
<label for="eventField">{{'PROPERTY.EXECUTIONLISTENERS.EVENT' | translate}}</label> |
|
31 |
<select id="eventField" class="form-control" ng-model="selectedListeners[0].event"> |
|
32 |
<option>start</option> |
|
33 |
<option>end</option> |
|
34 |
<option>take</option> |
|
35 |
</select> |
|
36 |
</div> |
|
37 |
<div class="form-group"> |
|
38 |
<label for="classField">{{'PROPERTY.EXECUTIONLISTENERS.CLASS' | translate}}</label> |
|
39 |
<input type="text" id="classField" class="form-control" ng-model="selectedListeners[0].className" ng-change="listenerDetailsChanged()" placeholder="{{'PROPERTY.EXECUTIONLISTENERS.CLASS.PLACEHOLDER' | translate}}" /> |
|
40 |
</div> |
|
41 |
<div class="form-group"> |
|
42 |
<label for="expressionField">{{'PROPERTY.EXECUTIONLISTENERS.EXPRESSION' | translate}}</label> |
|
43 |
<input type="text" id="expressionField" class="form-control" ng-model="selectedListeners[0].expression" ng-change="listenerDetailsChanged()" placeholder="{{'PROPERTY.EXECUTIONLISTENERS.EXPRESSION.PLACEHOLDER' | translate}}" /> |
|
44 |
</div> |
|
45 |
<div class="form-group"> |
|
46 |
<label for="delegateExpressionField">{{'PROPERTY.EXECUTIONLISTENERS.DELEGATEEXPRESSION' | translate}}</label> |
|
47 |
<input type="text" id="delegateExpressionField" class="form-control" ng-model="selectedListeners[0].delegateExpression" ng-change="listenerDetailsChanged()" placeholder="{{'PROPERTY.EXECUTIONLISTENERS.DELEGATEEXPRESSION.PLACEHOLDER' | translate}}" /> |
|
48 |
</div> |
|
49 |
</div> |
|
50 |
<div ng-show="selectedListeners.length == 0" class="muted no-property-selected" translate>PROPERTY.EXECUTIONLISTENERS.UNSELECTED</div> |
|
51 |
</div> |
|
52 |
</div> |
|
53 |
|
|
54 |
<div class="row row-no-gutter"> |
|
55 |
<div class="col-xs-6"> |
|
56 |
<div ng-if="translationsRetrieved" class="kis-field-grid" ng-grid="gridFieldOptions"></div> |
|
57 |
<div class="pull-right"> |
|
58 |
<div class="btn-group"> |
|
59 |
<a 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> |
|
60 |
<a 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> |
|
61 |
</div> |
|
62 |
<div class="btn-group"> |
|
63 |
<a 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> |
|
64 |
<a 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> |
|
65 |
</div> |
|
66 |
</div> |
|
67 |
</div> |
|
68 |
|
|
69 |
<div class="col-xs-6"> |
|
70 |
<div ng-show="selectedFields.length > 0"> |
|
71 |
|
|
72 |
<div class="form-group"> |
|
73 |
<label for="nameField">{{'PROPERTY.EXECUTIONLISTENERS.FIELDS.NAME' | translate}}</label> |
|
74 |
<input type="text" id="nameField" class="form-control" ng-model="selectedFields[0].name" placeholder="{{'PROPERTY.EXECUTIONLISTENERS.FIELDS.NAME.PLACEHOLDER' | translate}}" /> |
|
75 |
</div> |
|
76 |
<div class="form-group"> |
|
77 |
<label for="stringValueField">{{'PROPERTY.EXECUTIONLISTENERS.FIELDS.STRINGVALUE' | translate}}</label> |
|
78 |
<input type="text" id="stringValueField" class="form-control" ng-model="selectedFields[0].stringValue" ng-change="fieldDetailsChanged()" placeholder="{{'PROPERTY.EXECUTIONLISTENERS.FIELDS.STRINGVALUE.PLACEHOLDER' | translate}}" /> |
|
79 |
</div> |
|
80 |
<div class="form-group"> |
|
81 |
<label for="expressionField">{{'PROPERTY.EXECUTIONLISTENERS.FIELDS.EXPRESSION' | translate}}</label> |
|
82 |
<input type="text" id="expressionField" class="form-control" ng-model="selectedFields[0].expression" ng-change="fieldDetailsChanged()" placeholder="{{'PROPERTY.EXECUTIONLISTENERS.FIELDS.EXPRESSION.PLACEHOLDER' | translate}}" /> |
|
83 |
</div> |
|
84 |
<div class="form-group"> |
|
85 |
<label for="stringField">{{'PROPERTY.EXECUTIONLISTENERS.FIELDS.STRING' | translate}}</label> |
|
86 |
<textarea id="stringField" class="form-control" ng-model="selectedFields[0].string" ng-change="fieldDetailsChanged()" placeholder="{{'PROPERTY.EXECUTIONLISTENERS.FIELDS.STRING.PLACEHOLDER' | translate}}"></textarea> |
|
87 |
</div> |
|
88 |
|
|
89 |
</div> |
|
90 |
<div ng-show="selectedFields.length == 0" class="muted no-property-selected"translate>PROPERTY.EXECUTIONLISTENERS.FIELDS.EMPTY</div> |
|
91 |
</div> |
|
92 |
</div> |
|
93 |
|
|
94 |
</div> |
|
95 |
<div class="modal-footer"> |
|
96 |
<button ng-click="cancel()" class="btn btn-primary" translate>ACTION.CANCEL</button> |
|
97 |
<button ng-click="save()" class="btn btn-primary" translate>ACTION.SAVE</button> |
|
98 |
</div> |
|
99 |
</div> |
|
100 |
</div> |
|
101 |
</div> |