EntityBusinessMetaDataView_tmpl.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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="panel panel-default custom-panel expand_collapse_panel-icon businessMetaDataPanel" style="position:relative;">
  18. <div class="panel-heading main-parent collapsed" data-toggle="collapse" href="#businessMetadataCollapse" aria-expanded="false" style="width: 70%;">
  19. <h4 class="panel-title">
  20. <a>业务元数据</a>
  21. </h4>
  22. <div class="btn-group pull-left">
  23. <button type="button" title="折叠"><i class="ec-icon fa"></i></button>
  24. </div>
  25. </div>
  26. {{#ifCond readOnlyEntity "===" false}}
  27. <div class="panel-actions detailpage-panel-button">
  28. <button class="btn btn-action btn-sm" data-id="addBusinessMetadata">添加</button>
  29. <button class="btn btn-action btn-sm" style="display: none;" data-id="saveBusinessMetadata">保存</button>
  30. <button class="btn btn-action btn-sm" style="display: none;" data-id="cancel">取消</button>
  31. </div>
  32. {{/ifCond}}
  33. <div id="businessMetadataCollapse" class="panel-collapse collapse">
  34. <div class="panel-body">
  35. <div data-id="businessMetadataTree"></div>
  36. <div class="editBox" style="display: none;">
  37. <div class="form-group">
  38. <a href="javascript:void(0)" class="btn btn-action btn-sm" data-id="addItem" data-type="addAttrButton">添加属性</a>
  39. </div>
  40. <ul class="business-metadata-tree-parent" data-id="itemView"></ul>
  41. </div>
  42. </div>
  43. </div>
  44. </div>