SearchDefaultLayoutView_tmpl.html 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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="f-right clearfix" data-id="resizable" style="transition: width ease 0.2s;padding-bottom: 41px;">
  18. <div class="search-container center">
  19. {{#if entityCreate}}
  20. <div class="create-entity">
  21. <div class="inline"><button style="margin-top: 10px" class="btn btn-action btn-sm" data-id="createNewEntity"><i class="fa fa-plus"></i>&nbsp;Create Entity</button></div>
  22. </div>
  23. {{/if}}
  24. <div class="default-global-search row group-box">
  25. <div id="r_globalSearchLayoutView" class="global-search-container col-sm-12"></div>
  26. </div>
  27. </div>
  28. <div class="col-sm-12 attributeResultContainer form-group">
  29. <button title="Refresh Search Result" class="btn-action btn-sm" data-id="refreshSearchResult" data-original-title="Refresh Search Result"><i class="fa fa-refresh"></i></button>
  30. <button class="btn-action btn-sm attribute-filter-text" data-id='attrFilter'> <i class="fa fa-angle-right"></i> Filters</button>
  31. <button class='btn-action btn-sm' data-id='clearQuerySearch'>Clear</button>
  32. <div class="attribute-filter-container hide">
  33. <div class="panel panel-default expand_collapse_panel-icon" data-id="includeExclude" style="margin-bottom: 0px;">
  34. <div class="panel-heading" data-toggle="collapse" href="#collapseIncludeExclude" aria-expanded="true">
  35. <h4 class="panel-title">
  36. <a>Include/Exclude</a>
  37. </h4>
  38. <div class="btn-group pull-right">
  39. <button type="button" title="Collapse"><i class="ec-icon fa"></i></button>
  40. </div>
  41. </div>
  42. <div id="collapseIncludeExclude" class="panel-collapse collapse in">
  43. <div class="panel-body" style="padding: 4px 15px;">
  44. <div class="form-group filter-box" style="margin: 0;">
  45. <div class="entity-detail-table-toggle">
  46. <div class="pretty p-switch p-fill">
  47. <input type="checkbox" data-id="checkDeletedEntity" data-value="includeDE" id="historicalentities" />
  48. <div class="state p-primary">
  49. <label>Show historical entities</label>
  50. </div>
  51. </div>
  52. </div>
  53. <div class="entity-detail-table-toggle">
  54. <div class="pretty p-switch p-fill">
  55. <input type="checkbox" data-id="checkSubClassification" data-value="excludeSC" id="subclassifications" />
  56. <div class="state p-primary">
  57. <label>Exclude sub-classifications</label>
  58. </div>
  59. </div>
  60. </div>
  61. <div class="entity-detail-table-toggle">
  62. <div class="pretty p-switch p-fill">
  63. <input type="checkbox" data-id="checkSubType" data-value="excludeST" id="subtypes" />
  64. <div class="state p-primary">
  65. <label>Exclude sub-types</label>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. <div class="panel panel-default expand_collapse_panel-icon" data-id="entityRegion">
  74. <div class="panel-heading" data-toggle="collapse" href="#collapseEntity" aria-expanded="true">
  75. <h4 class="panel-title">
  76. <a>Type: <span class="entityName"></span></a>
  77. </h4>
  78. <div class="btn-group pull-right">
  79. <button type="button" title="Collapse"><i class="ec-icon fa"></i></button>
  80. </div>
  81. </div>
  82. <div id="collapseEntity" class="panel-collapse collapse in">
  83. <div class="panel-body">
  84. <div id='r_attributeQueryBuilderEntity' class='attribute-querybuilder'>
  85. <div class='fontLoader-relative show'><i class='fa fa-refresh fa-spin-custom'></i></div>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. <div class="panel panel-default expand_collapse_panel-icon" data-id="classificationRegion">
  91. <div class="panel-heading" data-toggle="collapse" href="#collapseClassification" aria-expanded="true">
  92. <h4 class="panel-title">
  93. <a>Classifications: <span class="classificationName"></span></a>
  94. </h4>
  95. <div class="btn-group pull-right">
  96. <button type="button" title="Collapse"><i class="ec-icon fa"></i></button>
  97. </div>
  98. </div>
  99. <div id="collapseClassification" class="panel-collapse collapse in">
  100. <div class="panel-body">
  101. <div id='r_attributeQueryBuilderClassification' class='attribute-querybuilder'>
  102. <div class='fontLoader-relative show'><i class='fa fa-refresh fa-spin-custom'></i></div>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. <div class='attribute-result-footer'>
  108. <div type="ok" class="btn btn-atlas ok search" data-id='attrApply'>Apply</div>
  109. <div type="ok" class="btn btn-atlas ok" data-id='attrClose'>Close</div>
  110. </div>
  111. </div>
  112. </div>
  113. <div class='attr-filter-overlay hide'></div>
  114. <div class="col-sm-12 searchResultContainer">
  115. <div id="r_searchResultLayoutView"></div>
  116. </div>
  117. </div>