out-parameters-popup.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <div class="modal" ng-controller="KisBpmOutParametersPopupCtrl">
  2. <div class="modal-dialog modal-wide">
  3. <div class="modal-content">
  4. <div class="modal-header">
  5. <button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="close()">&times;</button>
  6. <h2>{{'PROPERTY.PROPERTY.EDIT.TITLE' | translate:property}}</h2>
  7. </div>
  8. <div class="modal-body">
  9. <div class="row row-no-gutter">
  10. <div class="col-xs-6">
  11. <div ng-if="translationsRetrieved" class="kis-listener-grid" ng-grid="gridOptions"></div>
  12. <div class="pull-right">
  13. <div class="btn-group">
  14. <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>
  15. <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>
  16. </div>
  17. <div class="btn-group">
  18. <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>
  19. <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>
  20. </div>
  21. </div>
  22. </div>
  23. <div class="col-xs-6">
  24. <div ng-show="selectedParameters.length > 0">
  25. <div class="form-group">
  26. <label for="sourceField">{{'PROPERTY.PARAMETER.SOURCE' | translate}}</label>
  27. <input type="text" id="sourceField" class="form-control" ng-model="selectedParameters[0].source" placeholder="{{'PROPERTY.PARAMETER.SOURCE.PLACEHOLDER' | translate}}" />
  28. </div>
  29. <div class="form-group">
  30. <label for="expressionField">{{'PROPERTY.PARAMETER.SOURCEEXPRESSION' | translate}}</label>
  31. <input type="text" id="expressionField" class="form-control" ng-model="selectedParameters[0].sourceExpression" placeholder="{{'PROPERTY.PARAMETER.SOURCEEXPRESSION.PLACEHOLDER' | translate}}" />
  32. </div>
  33. <div class="form-group">
  34. <label for="expressionField">{{'PROPERTY.PARAMETER.TARGET' | translate}}</label>
  35. <input type="text" id="expressionField" class="form-control" ng-model="selectedParameters[0].target" placeholder="{{'PROPERTY.PARAMETER.TARGET.PLACEHOLDER' | translate}}" />
  36. </div>
  37. </div>
  38. <div ng-show="selectedParameters.length == 0" class="muted no-property-selected" translate>PROPERTY.PARAMETER.EMPTY</div>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="modal-footer">
  43. <button ng-click="cancel()" class="btn btn-primary" translate>ACTION.CANCEL</button>
  44. <button ng-click="save()" class="btn btn-primary" translate>ACTION.SAVE</button>
  45. </div>
  46. </div>
  47. </div>
  48. </div>