SearchResultLayoutView_tmpl.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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="position-relative">
  18. <div class="tableOverlay"></div>
  19. <!-- Not for table Loader its only for initial loading -->
  20. <div class="fontLoader" style="z-index:999">
  21. <i class="fa fa-refresh fa-spin-custom"></i>
  22. </div>
  23. <div class="ellipsis-with-margin" style="display: none;"><span class="searchResult" style=" font-size: 16px;"></span></div>
  24. <div class="searchTable">
  25. <div class="no-data" style="display: none;">
  26. <div class="position-relative thick-border">
  27. <div style="padding-top: 20px; " class="table-responsive tableBorder">
  28. <table class="table table-hover backgrid table-quickMenu">
  29. <tbody>
  30. <tr class="empty">
  31. <td colspan="16"><span>No Records found!</span></td>
  32. </tr>
  33. </tbody>
  34. </table>
  35. </div>
  36. </div>
  37. </div>
  38. <div class="pagination-box clearfix row" style="display: none;{{#unless isSearchTab}}margin-top: 0px;{{/unless}}">
  39. <div class="form-group filter-box col-md-12" {{#if isSearchTab}} style="position: absolute;right: 0;top: -44px; padding: 0;width:auto" {{/if}}>
  40. <div class="pull-right inline-content-fr no-padding-left">
  41. {{#if isSearchTab}}
  42. <div class="inline" data-id="colManager"></div>
  43. {{#if entityCreate}}
  44. <div class="inline"><button class="btn btn-action btn-sm" data-id="createEntity"><i class="fa fa-plus"></i>&nbsp;Create Entity</button></div>
  45. {{/if}}
  46. <div class="inline"><button title="Save as custom filter" class="btn btn-action btn-sm" data-id="saveFilter"><i class="fa fa-save"></i>&nbsp;Save Filter</button></div>
  47. {{/if}}
  48. <div class="inline">
  49. <a href="javascript:void(0)" class="multiSelectTag assignTag btn btn-action btn-sm" style="display:none" title="Assign Classification" data-id="addAssignTag"><i class="fa fa-plus"></i>&nbsp;Classification</a>
  50. </div>
  51. {{#unless isGlossaryView}}
  52. <div class="inline">
  53. <a href="javascript:void(0)" class="multiSelectTerm assignTerm btn btn-action btn-sm" style="display:none" title="Assign Term" data-id="addAssignTerm"><i class="fa fa-plus"></i>&nbsp;Term</a>
  54. </div>
  55. {{/unless}}
  56. <div class="action-box pull-right inline-content-fr">
  57. <div class="inline" data-id="containerCheckBox" style="display: none;">
  58. <label class="checkbox-inline btn" for="historicalentities">
  59. <input type="checkbox" data-id="checkDeletedEntity" data-value="includeDE" id="historicalentities" />
  60. <b>Show historical entities</b></label>
  61. </div>
  62. <div class="inline" data-id="containerCheckBox" style="display: none;">
  63. <label class="checkbox-inline btn" for="subclassifications">
  64. <input type="checkbox" data-id="checkSubClassification" data-value="excludeSC" id="subclassifications" />
  65. <b>Exclude sub-classifications</b></label>
  66. </div>
  67. {{#ifCond fromView '!==' "classification"}}
  68. <div class="inline" data-id="containerCheckBox" style="display: none;">
  69. <label class="checkbox-inline btn" for="subtypes">
  70. <input type="checkbox" data-id="checkSubType" data-value="excludeST" id="subtypes" />
  71. <b>Exclude sub-types</b></label>
  72. </div>
  73. {{/ifCond}}
  74. </div>
  75. </div>
  76. </div>
  77. <div id="r_searchResultTableLayoutView" class="col-sm-12"></div>
  78. <div class="pagination-box searach-result-pagination col-sm-12 no-padding" style="display: none">
  79. <div class="col-sm-4">
  80. <span class="labelShowRecord pull-left" data-id="pageRecordText"> </span>
  81. </div>
  82. <div class="col-sm-8">
  83. <div class="inline-content-fr">
  84. <div class="backgrid-paginator inline">
  85. <ul class="" data-id="paginationDiv" style="display:none">
  86. <li>
  87. <button type="button" data-id="previousData" title="Previous" disabled="true">
  88. <i class="fa fa-angle-left" aria-hidden="true"></i>
  89. </button>
  90. </li>
  91. <li class="active">
  92. <a href="javascript:void(0)" data-id="activePage"></a>
  93. </li>
  94. <li>
  95. <button type="button" data-id="nextData" title="Next">
  96. <i class="fa fa-angle-right" aria-hidden="true"></i>
  97. </button>
  98. </li>
  99. </ul>
  100. </div>
  101. <div class="inline col-sm-4" data-id="paginationDiv">
  102. <div class="input-group" data-id="goToPageDiv">
  103. <input type="text" class="form-control number-input" data-id="gotoPage" placeholder="Goto Page" />
  104. <span class="input-group-btn">
  105. <button class="btn btn-default" type="button" data-id="gotoPagebtn" title="Goto Page" disabled="disabled">
  106. Go!
  107. </button>
  108. </span>
  109. </div>
  110. </div>
  111. <div class="inline">
  112. <div class="inline-content">
  113. <span class="control-label-sm inline ">Page Limit :</span>
  114. <div class="inline" style="width: 80px;">
  115. <select data-id="showPage" multiple="multiple" class="form-control"> </select>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. <div class="text-center" data-id="columnEmptyInfo" style="display: none;">
  126. <h4>Please select one/more column to see the data</h4>
  127. </div>