GlossaryDetailLayoutView_tmpl.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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="page-title clearfix">
  18. <div class="fontLoader">
  19. <i class="fa fa-refresh fa-spin-custom"></i>
  20. </div>
  21. <div data-id="details" class="clearfix form-horizontal col-sm-12">
  22. <h1 class="row title"><span data-id="title"></span></h1>
  23. <button type="button" data-id="editButton" class="btn btn-sm btn-action pull-right"><i class="fa fa-pencil"></i></button>
  24. <div class="form-group clearfix">
  25. <span class="pull-left text-muted">简述:&nbsp;</span>
  26. <div class="pull-left">
  27. <p data-id="shortDescription"></p>
  28. </div>
  29. </div>
  30. <div class="form-group clearfix">
  31. <span class="pull-left text-muted">详细描述:&nbsp;</span>
  32. <div>
  33. <textarea class="form-control long-description" name="longDescription" data-id="longDescription" disabled></textarea>
  34. </div>
  35. </div>
  36. {{#if isTermView}}
  37. <div class="form-group clearfix">
  38. <span class="control-label-sm-pr pull-left">数据模型:</span>
  39. <div class="pull-left" data-id="tagListTerm">
  40. <button class="btn btn-action btn-sm" title="添加数据模型" data-id="addTagTerm">
  41. <i class="fa fa-plus"> </i>
  42. </button>
  43. </div>
  44. </div>
  45. <div class="form-group clearfix">
  46. <span class="control-label-sm-pr pull-left">类别:</span>
  47. <div class="pull-left" data-id="categoryList">
  48. <button class="btn btn-action btn-sm" title="添加类别" data-id="addCategory">
  49. <i class="fa fa-plus"> </i>
  50. </button>
  51. </div>
  52. </div>
  53. {{/if}} {{#if isCategoryView}}
  54. <div class="form-group clearfix">
  55. <span class="control-label-sm-pr pull-left">术语:</span>
  56. <div class="pull-left" data-id="termList">
  57. <button class="btn btn-action btn-sm" title="添加术语" data-id="addTerm">
  58. <i class="fa fa-plus"> </i>
  59. </button>
  60. </div>
  61. </div>
  62. {{/if}} {{#if isTermView}}
  63. <div class="row">
  64. <div class="col-sm-12 default-tab">
  65. <ul class="nav nav-tabs" data-id="tab-list">
  66. <li role="entities" class="tab active"><a href="#tab-entities" aria-controls="tab-entities" role="tab" data-toggle="tab">实体</a></li>
  67. <li role="classification"><a href="#tab-tagTable" aria-controls="tab-tagTable" role="tab" data-toggle="tab">数据模型</a></li>
  68. <li role="relatedTerm"><a href="#tab-relatedTerm" aria-controls="tab-relatedTerm" role="tab" data-toggle="tab">关联术语</a></li>
  69. </ul>
  70. </div>
  71. </div>
  72. {{/if}}
  73. </div>
  74. </div>
  75. {{#if isTermView}}
  76. <div class="tab-content">
  77. <div id="tab-entities" role="entities" class="tab-pane active animated fadeIn">
  78. <div id="r_searchResultLayoutView">
  79. <div class="fontLoader-relative">
  80. <i class="fa fa-refresh fa-spin-custom"></i>
  81. </div>
  82. </div>
  83. </div>
  84. <div id="tab-tagTable" role="classification" class="tab-pane animated fadeIn">
  85. <div id="r_tagTableLayoutView">
  86. <div class="fontLoader-relative">
  87. <i class="fa fa-refresh fa-spin-custom"></i>
  88. </div>
  89. </div>
  90. </div>
  91. <div id="tab-relatedTerm" role="relatedTerm" class="tab-pane animated fadeIn">
  92. <div id="r_relationLayoutView">
  93. <div class="fontLoader-relative">
  94. <i class="fa fa-refresh fa-spin-custom"></i>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. {{/if}}