懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
提交 | 用户 | 时间
1ac2bc 1
2 <div class="modal" ng-controller="KisBpmInParametersPopupCtrl">
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()">&times;</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="moveParameterUp()"><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="moveParameterDown()"><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:property}}" data-placement="bottom" data-original-title="" title="" ng-click="addNewParameter()"><i class="glyphicon glyphicon-plus"></i></a>
21                                 <a class="btn btn-icon btn-lg" rel="tooltip" data-title="{{'ACTION.REMOVE' | translate:property}}" data-placement="bottom" data-original-title="" title="" ng-click="removeParameter()"><i class="glyphicon glyphicon-minus"></i></a>
22                             </div>
23                         </div>
24                     </div>
25             
26                     <div class="col-xs-6">
27                         <div ng-show="selectedParameters.length > 0">
28                             
29                             <div class="form-group">
30                                    <label for="sourceField">{{'PROPERTY.PARAMETER.SOURCE' | translate}}</label>
31                                    <input type="text" id="sourceField" class="form-control" ng-model="selectedParameters[0].source" placeholder="{{'PROPERTY.PARAMETER.SOURCE.PLACEHOLDER' | translate}}" />
32                             </div>
33                             <div class="form-group">
34                                    <label for="expressionField">{{'PROPERTY.PARAMETER.SOURCEEXPRESSION' | translate}}</label>
35                                    <input type="text" id="expressionField" class="form-control" ng-model="selectedParameters[0].sourceExpression" placeholder="{{'PROPERTY.PARAMETER.SOURCEEXPRESSION.PLACEHOLDER' | translate}}" />
36                             </div>
37                             <div class="form-group">
38                                    <label for="expressionField">{{'PROPERTY.PARAMETER.TARGET' | translate}}</label>
39                                    <input type="text" id="expressionField" class="form-control" ng-model="selectedParameters[0].target" placeholder="{{'PROPERTY.PARAMETER.TARGET.PLACEHOLDER' | translate}}" />
40                             </div>
41                             
42                         </div>
43                         <div ng-show="selectedParameters.length == 0" class="muted no-property-selected" translate>PROPERTY.PARAMETER.EMPTY</div>
44                     </div>
45                 </div>
46             </div>
47             <div class="modal-footer">
48                 <button ng-click="cancel()" class="btn btn-primary" translate>ACTION.CANCEL</button>
49                 <button ng-click="save()" class="btn btn-primary" translate>ACTION.SAVE</button>
50             </div>
51         </div>
52     </div>
53 </div>