This portal only for GCC Officers. Based on there roles and Group ID they can view there module`s Like PGR, QR Public Asset Feedback, Makkalai Thedi Mayor,etc...
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.

174 lines
6.3 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. <div class="wrapper">
  6. <!-- Header -->
  7. <header th:replace="~{fragments/modules/base/header :: header}"></header>
  8. <div class="page-wrap">
  9. <!-- Left Menu -->
  10. <div th:replace="~{fragments/modules/base/menu :: menu}"></div>
  11. <div class="main-content">
  12. <div class="container-fluid">
  13. <div class="page-header">
  14. <div class="row align-items-end">
  15. <div class="col-lg-8">
  16. <div class="page-header-title">
  17. <i class="fas fa-th-large bg-blue"></i>
  18. <div class="d-inline">
  19. <h5>C & D Waste Collectors </h5>
  20. <span>Approval</span>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="col-lg-4">
  25. <nav class="breadcrumb-container" aria-label="breadcrumb">
  26. <ol class="breadcrumb">
  27. <li class="breadcrumb-item"><a href="/index"><i class="ik ik-home"></i></a></li>
  28. <li class="breadcrumb-item">C & D Waste Collectors</li>
  29. <li class="breadcrumb-item active" aria-current="page">Approval</li>
  30. </ol>
  31. </nav>
  32. </div>
  33. </div>
  34. </div>
  35. <hr>
  36. <div class="row">
  37. <div class="col-md-12">
  38. <div class="card">
  39. <div class="card-header">
  40. </div>
  41. <div class="card-block">
  42. <div>
  43. <table id="worksDatatable" class="table table-striped table-bordered table-hover dataTable" role="grid" width="99.5%">
  44. <thead class="thead-dark">
  45. <tr role="row">
  46. <th>S.No</th> <!-- Auto-increment index -->
  47. <th>Name</th>
  48. <th>Mobile No</th>
  49. <th>Address</th>
  50. <th>Vehicle Number</th>
  51. <th>Vehicle Type</th>
  52. <th>Accepted Date</th>
  53. <th>Accepted By</th>
  54. <th>Register ID</th>
  55. </tr>
  56. </thead>
  57. <tbody>
  58. <tr th:each="approval, i : ${approvalDetails}">
  59. <td th:text="${i.count}">0</td> <!-- Index counter -->
  60. <td th:text="${approval.name}">Name</td>
  61. <td th:text="${approval.mobile_no}">Mobile No</td>
  62. <td th:text="${approval.address}">Address</td>
  63. <td th:text="${approval.vehicle_num}">Vehicle Number</td>
  64. <td th:text="${approval.vehicletype}">Vehicle Type</td>
  65. <td th:text="${approval.accepteddate}">Accepted Date</td>
  66. <td th:text="${approval.acceptedby}">Accepted By</td>
  67. <td th:text="${approval.register_id}">Register ID</td>
  68. </tr>
  69. </tbody>
  70. <tfoot class="thead-dark">
  71. <tr>
  72. <th>S.No</th>
  73. <th>Name</th>
  74. <th>Mobile No</th>
  75. <th>Address</th>
  76. <th>Vehicle Number</th>
  77. <th>Vehicle Type</th>
  78. <th>Accepted Date</th>
  79. <th>Accepted By</th>
  80. <th>Register ID</th>
  81. </tr>
  82. </tfoot>
  83. </table>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <footer th:replace="~{fragments/modules/base/footer :: footer}"></footer>
  92. </div>
  93. </div>
  94. <!-- Include jQuery and Bootstrap JavaScript -->
  95. <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  96. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
  97. <script th:replace="~{fragments/modules/base/script :: script}"></script>
  98. <script type="text/javascript">
  99. $(document).ready(function() {
  100. var table = $('#worksDatatable').DataTable({
  101. dom: 'Bftip',
  102. columnDefs: [
  103. { targets: 'no-sort', orderable: false }
  104. ],
  105. lengthMenu: [
  106. [50, 100, 200, 500, -1],
  107. ['50 rows', '100 rows', '200 rows', 'Show all']
  108. ],
  109. scrollY: '50vh',
  110. fixedColumns: {
  111. left: 1,
  112. right: 1
  113. },
  114. buttons: [
  115. {
  116. extend: 'pageLength',
  117. className: 'btn btn-warning'
  118. },
  119. {
  120. title: 'Data export',
  121. extend: 'copyHtml5',
  122. text: 'Copy',
  123. className: 'btn btn-secondary',
  124. id: 'copyBtn'
  125. },
  126. {
  127. extend: 'excelHtml5',
  128. text: 'Excel',
  129. className: 'btn btn-secondary',
  130. id: 'excelBtn'
  131. },
  132. {
  133. extend: 'csvHtml5',
  134. text: 'CSV',
  135. className: 'btn btn-secondary',
  136. id: 'csvBtn'
  137. },
  138. {
  139. extend: 'pdfHtml5',
  140. text: 'PDF',
  141. className: 'btn btn-secondary',
  142. id: 'pdfBtn'
  143. }
  144. ],
  145. fixedHeader: true,
  146. autoWidth: true,
  147. responsive: true,
  148. searching: true,
  149. select: false,
  150. processing: false
  151. });
  152. });
  153. </script>
  154. </body>
  155. </html>