You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

182 lines
8.7 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns:th="http://www.thymeleaf.org">
  3. <head th:replace="~{fragments/modules/base/head :: head}"></head>
  4. <body>
  5. <!--[if lt IE 8]>
  6. <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
  7. <![endif]-->
  8. <div class="wrapper">
  9. <!-- header top menu Start -->
  10. <header th:replace="~{fragments/modules/base/header :: header}"></header>
  11. <!-- header top menu end -->
  12. <div class="page-wrap">
  13. <!--=============== Left Menu side Start ================-->
  14. <div th:replace="~{fragments/modules/base/menu :: menu}"></div>
  15. <!--=============== Left side End ================-->
  16. <div class="main-content">
  17. <div class="container-fluid">
  18. <div class="page-header">
  19. <div class="row align-items-end">
  20. <div class="col-lg-6">
  21. <div class="page-header-title">
  22. <i class="fa fa-users bg-blue"></i>
  23. <div class="d-inline">
  24. <h5>User Group List</h5>
  25. <span>GCC Application Configuration</span>
  26. </div>
  27. </div>
  28. </div>
  29. <div class="col-lg-6">
  30. <nav class="breadcrumb-container" aria-label="breadcrumb">
  31. <ol class="breadcrumb">
  32. <li class="breadcrumb-item">
  33. <a href="/index"><i class="ik ik-home"></i></a>
  34. </li>
  35. <li class="breadcrumb-item">Admin </li>
  36. <li class="breadcrumb-item active" aria-current="page">User Group List</li>
  37. </ol>
  38. </nav>
  39. </div>
  40. </div>
  41. </div>
  42. <hr>
  43. <div class="row">
  44. <div class="col-md-12">
  45. <div class="card">
  46. <div class="card-block">
  47. <div>
  48. <table id="assetDatatable" class="table table-striped table-bordered table-hover dataTable" role="grid" width="100%">
  49. <thead class="thead-dark">
  50. <tr class="table-bordered">
  51. <th class="text-center no-sort">S.No</th>
  52. <th class="text-center">Petition No.</th>
  53. <th class="text-center">Name</th>
  54. <th class="text-center">Mobile</th>
  55. <th class="text-center">Address</th>
  56. <th class="text-center">Postal code</th>
  57. <th class="text-center">Type of complaint</th>
  58. <th class="text-center" width="10%">Status</th>
  59. <th class="text-center" width="10%">Action</th>
  60. </tr>
  61. </thead>
  62. <tbody>
  63. <tr th:each="petition, i : ${petitionlist}" class="${petitionlist}">
  64. <td th:utext="${i.count}">0</td>
  65. <td th:utext="${petition.petitionNumber}"></td>
  66. <td th:utext="${petition.petitionerName}" class="text-center"></td>
  67. <td th:text="${petition.petitionerMobile}"></td>
  68. <td th:utext="${petition.petitionerAddress}"></td>
  69. <td th:utext="${petition.petitionerPincode}"></td>
  70. <td th:text="${petition.PetitionerComplaint_txt}"></td>
  71. <td style="text-transform: capitalize;" class="text-center"><a href="#" th:onclick="return call_view_petition([[${petition.petitionNumber}]]);" th:utext="${petition.status}" class="text-warning"></a></td>
  72. <td class="text-center">
  73. <a th:href="@{#}" th:onclick="return callViewFiles( [[${petition.petitionId}]],[[${petition.petitionNumber}]] );" data-toggle="tooltip" data-animation="true" data-placement="top" title="View Files" data-original-title="View Files"><i class="ik ik-file-text text-green" style="font-size: 18px;"></i></a>
  74. <a th:href="@{/petition-ack/{petitionNumber}(petitionNumber=${petition.petitionNumber})}"
  75. data-toggle="tooltip" data-animation="true" data-placement="top" title="View ACK" data-original-title="View ACK">
  76. <i class="far fa-thumbs-up" style="font-size: 18px;"></i>
  77. </a>
  78. </td>
  79. </tr>
  80. </tbody>
  81. <tfoot class="thead-dark">
  82. <tr>
  83. <th class="text-center no-sort">S.No</th>
  84. <th class="text-center">Petition No.</th>
  85. <th class="text-center">Name</th>
  86. <th class="text-center">Mobile</th>
  87. <th class="text-center">Address</th>
  88. <th class="text-center">Postal code</th>
  89. <th class="text-center">Type of complaint</th>
  90. <th class="text-center" width="10%">Status</th>
  91. <th class="text-center" width="10%">Action</th>
  92. </tr>
  93. </tfoot>
  94. </table>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. <footer th:replace="~{fragments/modules/base/footer :: footer}"></footer>
  103. </div>
  104. </div>
  105. <div th:replace="~{fragments/modules/mtm/modal-box :: div}"></div>
  106. <div th:replace="~{fragments/modules/base/app_module_menu_box :: div}"></div>
  107. <script th:replace="~{fragments/modules/base/script :: script}"></script>
  108. <script th:replace="~{fragments/modules/mtm/script :: script}"></script>
  109. <script th:inline="javascript">
  110. //var qrAssetFeedbackApiUrl = "[[${qrAssetFeedbackApiUrl}]]";
  111. $(document).ready(function() {
  112. // DataTables buttons configuration
  113. var buttons = [
  114. {
  115. extend: 'pageLength',
  116. className: 'btn btn-warning'
  117. },
  118. {
  119. title: 'Data export',
  120. extend: 'copyHtml5',
  121. text: 'Copy',
  122. className: 'btn btn-secondary',
  123. id: 'copyBtn'
  124. },
  125. {
  126. extend: 'excelHtml5',
  127. text: 'Excel',
  128. className: 'btn btn-secondary',
  129. id: 'excelBtn',
  130. title: 'Petition List'
  131. },
  132. {
  133. extend: 'csvHtml5',
  134. text: 'CSV',
  135. className: 'btn btn-secondary',
  136. id: 'csvBtn',
  137. title: 'Petition List'
  138. },
  139. {
  140. extend: 'pdfHtml5',
  141. text: 'PDF',
  142. className: 'btn btn-secondary',
  143. id: 'pdfBtn',
  144. title: 'Petition List'
  145. }
  146. ];
  147. $('#assetDatatable').DataTable( {
  148. dom: 'Bftip',
  149. columnDefs: [
  150. { targets: 'no-sort', orderable: false }
  151. ],
  152. lengthMenu: [
  153. [ 50, 100, 200, 500, -1 ],
  154. [ '50 rows', '100 rows', '200 rows','500 rows', 'Show all' ]
  155. ],
  156. scrollY: '50vh',
  157. fixedColumns: {
  158. left: 1,
  159. right: 1
  160. },
  161. buttons: [buttons],
  162. responsive: true,
  163. searching: false,
  164. select: false,
  165. processing: false,
  166. } );
  167. } );
  168. </script>
  169. </body>
  170. </html>