CreateBusinessMetadataLayoutView_tmpl.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!--
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. -->
  17. <div class="fontLoader">
  18. <i class="fa fa-refresh fa-spin-custom"></i>
  19. </div>
  20. <form class="hide form-horizontal" data-id="createForm" style="width: 70%;margin: 0 auto;">
  21. {{#if fromTable}}
  22. <div class="form-group">
  23. <label class="control-label col-sm-2 {{#if create}}required{{/if}}" for="name">名称</label>
  24. {{#if create}}
  25. <div class="col-sm-10">
  26. <input class="form-control businessMetadata-name require" data-id="name" placeholder="名称(必须)" autofocus />
  27. </div>
  28. {{else}}
  29. <span class="ellipsis-with-margin control-label text-left col-sm-10" data-id="title"></span> {{/if}}
  30. </div>
  31. <div class="form-group">
  32. <label class="control-label col-sm-2" for="description">Description</label>
  33. <div class="col-sm-10">
  34. <input class="form-control" data-id="description" value="{{description}}" placeholder="描述" />
  35. </div>
  36. </div>
  37. {{/if}}
  38. <div class="form-group">
  39. <!-- <h4 class="col-sm-6">Attributes</h4> -->
  40. {{#if isEditAttr}}
  41. <div class="col-sm-12 no-padding-left">
  42. <button title="创建业务元数据属性" type="button" class="btn btn-action btn-sm pull-left" data-id="attributeData"><i class="fa fa-plus"></i> Add Business Metadata attribute</button>
  43. </div>
  44. {{/if}}
  45. </div>
  46. <div data-id="addAttributeDiv">
  47. </div>
  48. </div>
  49. </form>
  50. <div class="modal-footer " data-id="modalFooter">
  51. <button type="button" class="btn btn-action cancel" data-id="businessMetadataAttrPageCancle">Cancel</button>
  52. <button type="button" class="btn btn-atlas ok" data-id="businessMetadataAttrPageOk">Ok</button>
  53. </div>