GlossaryDetailLayoutView_tmpl.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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 class="back-button" title="Back to search page">
  22. <i class="fa fa-angle-left" data-id="backButton"></i>
  23. </div>
  24. <div data-id="details" class="clearfix form-horizontal col-sm-12">
  25. <h1 class="title"><span data-id="title"></span></h1>
  26. <button type="button" data-id="editButton" class="btn btn-sm btn-action pull-right"><i class="fa fa-pencil"></i></button>
  27. <div class="form-group col-sm-12">
  28. <span class="pull-left text-muted">Short Description:&nbsp;</span>
  29. <div class="pull-left">
  30. <p data-id="shortDescription"></p>
  31. </div>
  32. </div>
  33. <div class="form-group col-sm-12">
  34. <span class="pull-left text-muted">Long Description:&nbsp;</span>
  35. <div>
  36. <textarea class="form-control long-description" name="longDescription" data-id="longDescription" disabled></textarea>
  37. </div>
  38. </div>
  39. {{#if isTermView}}
  40. <div class="form-group col-sm-12">
  41. <span class="control-label-sm-pr pull-left">Classifications:</span>
  42. <div class="pull-left" data-id="tagListTerm">
  43. <button class="btn btn-action btn-sm" title="Add Classification" data-id="addTagTerm">
  44. <i class="fa fa-plus"> </i>
  45. </button>
  46. </div>
  47. </div>
  48. <div class="form-group col-sm-12">
  49. <span class="control-label-sm-pr pull-left">Categories:</span>
  50. <div class="pull-left" data-id="categoryList">
  51. <button class="btn btn-action btn-sm" title="Add Category" data-id="addCategory">
  52. <i class="fa fa-plus"> </i>
  53. </button>
  54. </div>
  55. </div>
  56. {{/if}} {{#if isCategoryView}}
  57. <div class="form-group col-sm-12">
  58. <span class="control-label-sm-pr pull-left">Terms:</span>
  59. <div class="pull-left" data-id="termList">
  60. <button class="btn btn-action btn-sm" title="Add Term" data-id="addTerm">
  61. <i class="fa fa-plus"> </i>
  62. </button>
  63. </div>
  64. </div>
  65. {{/if}} {{#if isTermView}}
  66. <div class="row">
  67. <div class="col-sm-12 default-tab no-padding">
  68. <ul class="nav nav-tabs" data-id="tab-list">
  69. <li role="entities" class="tab active"><a href="#tab-entities" aria-controls="tab-entities" role="tab" data-toggle="tab">Entities</a></li>
  70. <li role="classification"><a href="#tab-tagTable" aria-controls="tab-tagTable" role="tab" data-toggle="tab">Classifications</a></li>
  71. <li role="relatedTerm"><a href="#tab-relatedTerm" aria-controls="tab-relatedTerm" role="tab" data-toggle="tab">Related Terms</a></li>
  72. </ul>
  73. </div>
  74. </div>
  75. {{/if}}
  76. </div>
  77. </div>
  78. {{#if isTermView}}
  79. <div class="tab-content">
  80. <div id="tab-entities" role="entities" class="tab-pane active animated fadeIn">
  81. <div id="r_searchResultLayoutView">
  82. <div class="fontLoader-relative">
  83. <i class="fa fa-refresh fa-spin-custom"></i>
  84. </div>
  85. </div>
  86. </div>
  87. <div id="tab-tagTable" role="classification" class="tab-pane animated fadeIn">
  88. <div id="r_tagTableLayoutView">
  89. <div class="fontLoader-relative">
  90. <i class="fa fa-refresh fa-spin-custom"></i>
  91. </div>
  92. </div>
  93. </div>
  94. <div id="tab-relatedTerm" role="relatedTerm" class="tab-pane animated fadeIn">
  95. <div id="r_relationLayoutView">
  96. <div class="fontLoader-relative">
  97. <i class="fa fa-refresh fa-spin-custom"></i>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. {{/if}}