message-definitions-popup.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <div class="modal" ng-controller="ActivitiMessageDefinitionsPopupCtrl">
  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="addNewMessageDefinition()"><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="removeMessageDefinition()"><i class="glyphicon glyphicon-minus"></i></a>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="col-xs-4" ng-show="selectedMessages && selectedMessages.length > 0">
  20. <div class="form-group">
  21. <label>{{'PROPERTY.MESSAGEDEFINITIONS.ID' | translate}}</label>
  22. <input type="text" class="form-control" ng-model="selectedMessages[0].id">
  23. </div>
  24. <div class="form-group">
  25. <label>{{'PROPERTY.MESSAGEDEFINITIONS.NAME' | translate}}</label>
  26. <input type="text" class="form-control" ng-model="selectedMessages[0].name">
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="modal-footer">
  32. <button ng-click="cancel()" class="btn btn-primary" translate>ACTION.CANCEL</button>
  33. <button ng-click="save()" class="btn btn-primary" translate>ACTION.SAVE</button>
  34. </div>
  35. </div>
  36. </div>
  37. </div>