TableLayout_tmpl.html 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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>
  18. <div class="clearfix">
  19. <div class="form-group pull-right no-margin">
  20. {{#unless columnOpts.el}}
  21. <div data-id="control" class="pull-right"></div>
  22. {{/unless}}
  23. </div>
  24. </div>
  25. <div class="position-relative thick-border">
  26. <div data-id="r_tableList" class="table-responsive tableBorder"> </div>
  27. {{#if includeTableLoader}}
  28. <div data-id="r_tableSpinner" class="fontLoader for-ignore">
  29. <i class="fa fa-refresh fa-spin-custom"></i>
  30. </div>
  31. {{/if}}
  32. </div>
  33. {{#if includePagination}}
  34. <div class="row clearfix banded pagination-box">
  35. <div class="col-sm-4">
  36. <div data-id="r_footerRecords" class="margin-top-10"></div>
  37. </div>
  38. <div class="col-sm-8">
  39. <div class="inline-content-fr">
  40. <div data-id="r_pagination" data-id="paginationDiv" class="inline"></div>
  41. {{#if includeGotoPage}}
  42. <div class="inline col-sm-4" data-id="paginationDiv" style="display:none">
  43. <div class="input-group" data-id="goToPageDiv">
  44. <input type="text" class="form-control number-input" data-id="gotoPage" placeholder="目标页面" />
  45. <span class="input-group-btn">
  46. <button class="btn btn-default" type="button" data-id="gotoPagebtn" title="跳转" disabled="disabled">跳转!</button>
  47. </span>
  48. </div>
  49. </div>
  50. {{/if}}
  51. {{#if includePageSize}}
  52. <div class="inline">
  53. <div class="inline-content">
  54. <span class="control-label-sm inline ">每页条数 :</span>
  55. <div class="select inline" style="width: 80px;">
  56. <select data-id="pageSize" class="form-control"></select>
  57. </div>
  58. </div>
  59. </div>
  60. {{/if}}
  61. </div>
  62. </div>
  63. </div>
  64. {{/if}} {{#if includeAtlasPagination}}
  65. <div class="row pagination-box">
  66. <div class="col-sm-4">
  67. <span class="labelShowRecord pull-left" data-id="pageRecordText"> </span>
  68. </div>
  69. <div class="col-sm-8">
  70. <div class="inline-content-fr">
  71. <div class="backgrid-paginator inline">
  72. <ul class="" data-id="paginationDiv" style="display:none">
  73. <li>
  74. <button type="button" data-id="previousData" title="上一项" disabled=true>
  75. <i class="fa fa-angle-left" aria-hidden="true"></i>
  76. </button>
  77. </li>
  78. <li class="active">
  79. <a href="javascript:void(0)" data-id="activePage"></a>
  80. </li>
  81. <li>
  82. <button type="button" data-id="nextData" title="下一项">
  83. <i class="fa fa-angle-right" aria-hidden="true"></i>
  84. </button>
  85. </li>
  86. </ul>
  87. </div>
  88. {{#if includeAtlasGotoPage}}
  89. <div class="inline col-sm-4" data-id="paginationDiv" style="display:none">
  90. <div class="input-group" data-id="goToPageDiv">
  91. <input type="text" class="form-control number-input" data-id="gotoPage" placeholder="目标页面" />
  92. <span class="input-group-btn">
  93. <button class="btn btn-default" type="button" data-id="gotoPagebtn" title="跳转至" disabled="disabled">跳转!</button>
  94. </span>
  95. </div>
  96. </div>
  97. {{/if}} {{#if includeAtlasPageSize}}
  98. <div class="inline">
  99. <div class="form-group inline-content">
  100. <span class="control-label-sm inline ">每页条数 :</span>
  101. <div class="inline" style="width: 80px;">
  102. <select data-id="showPage" multiple="multiple" class="form-control">
  103. </select>
  104. </div>
  105. </div>
  106. </div>
  107. {{/if}}
  108. </div>
  109. </div>
  110. </div>
  111. {{/if}}
  112. </div>