signal-definitions-popup.html 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <div class="modal" ng-controller="ActivitiSignalDefinitionsPopupCtrl">
  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-8">
  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.ADD | translate}}" data-placement="bottom" data-original-title="" title="" ng-click="addNewSignalDefinition()"><i class="glyphicon glyphicon-plus"></i></a>
  15. <a class="btn btn-icon btn-lg" rel="tooltip" data-title="{{ACTION.REMOVE | translate}}" data-placement="bottom" data-original-title="" title="" ng-click="removeSignalDefinition()"><i class="glyphicon glyphicon-minus"></i></a>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="col-xs-4" ng-show="selectedSignals && selectedSignals.length > 0">
  20. <div class="form-group">
  21. <label>{{'PROPERTY.SIGNALDEFINITIONS.ID' | translate}}</label>
  22. <input type="text" class="form-control" ng-model="selectedSignals[0].id">
  23. </div>
  24. <div class="form-group">
  25. <label>{{'PROPERTY.SIGNALDEFINITIONS.NAME' | translate}}</label>
  26. <input type="text" class="form-control" ng-model="selectedSignals[0].name">
  27. </div>
  28. <div class="form-group">
  29. <label>{{'PROPERTY.SIGNALDEFINITIONS.SCOPE' | translate}}</label>
  30. <select class="form-control" ng-model="selectedSignals[0].scope">
  31. <option value="global">{{'PROPERTY.SIGNALDEFINITIONS.SCOPE-GLOBAL' | translate}}</option>
  32. <option value="processInstance">{{'PROPERTY.SIGNALDEFINITIONS.SCOPE-PROCESSINSTANCE' | translate}}</option>
  33. </select>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. <div class="modal-footer">
  39. <button ng-click="cancel()" class="btn btn-primary" translate>ACTION.CANCEL</button>
  40. <button ng-click="save()" class="btn btn-primary" translate>ACTION.SAVE</button>
  41. </div>
  42. </div>
  43. </div>
  44. </div>