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.

240 lines
7.0 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE html>
  2. <html lang="en" dir="">
  3. <html xmlns:th="http://www.thymeleaf.org">
  4. <head th:replace="~{fragments/modules/base/head :: head}">
  5. <style>
  6. label {
  7. font-weight: 700;
  8. color: #2d5263;
  9. }
  10. .checkbox-label {
  11. display: block;
  12. margin-bottom: 10px;
  13. font-size: 16px;
  14. }
  15. .custom-file-upload {
  16. position: relative;
  17. display: flex;
  18. align-items: center;
  19. border: 1px solid #d9dde4;
  20. border-radius: 5px;
  21. padding: 5px;
  22. background-color: #f9fafb;
  23. cursor: pointer;
  24. margin-top: 5px;
  25. }
  26. .custom-file-upload input[type="file"] {
  27. position: absolute;
  28. left: 0;
  29. top: 0;
  30. width: 100%;
  31. height: 100%;
  32. opacity: 0;
  33. cursor: pointer;
  34. }
  35. .custom-file-upload label {
  36. display: flex;
  37. justify-content: space-between;
  38. width: 100%;
  39. align-items: center;
  40. }
  41. .upload-icon i {
  42. color: #a6adb5;
  43. font-size: 18px;
  44. }
  45. .file-name {
  46. margin-left: 10px;
  47. color: #414f69;
  48. font-size: 14px;
  49. }
  50. #upload-text {
  51. color: #a7adb5;
  52. }
  53. </style>
  54. </head>
  55. <body>
  56. <!--[if lt IE 8]>
  57. <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>
  58. <![endif]-->
  59. <div class="wrapper">
  60. <!-- header top menu Start -->
  61. <header th:replace="~{fragments/modules/base/header :: header}"></header>
  62. <!-- header top menu end -->
  63. <div class="page-wrap">
  64. <!--=============== Left Menu side Start ================-->
  65. <div th:replace="~{fragments/modules/base/menu :: menu}"></div>
  66. <!--=============== Left side End ================-->
  67. <div class="main-content">
  68. <div class="container-fluid">
  69. <div class="page-header">
  70. <div class="row align-items-end">
  71. <div class="col-lg-6">
  72. <div class="page-header-title">
  73. <i class="ik ik-thumbs-up bg-blue"></i>
  74. <div class="d-inline">
  75. <h5>NULM STAFF</h5>
  76. <span>NULM Payment</span>
  77. </div>
  78. </div>
  79. </div>
  80. <div class="col-lg-6">
  81. <nav class="breadcrumb-container" aria-label="breadcrumb">
  82. <ol class="breadcrumb">
  83. <li class="breadcrumb-item">
  84. <a href="/index"><i class="ik ik-home"></i></a>
  85. </li>
  86. <li class="breadcrumb-item active" aria-current="page">NULM Payment</li>
  87. </ol>
  88. </nav>
  89. </div>
  90. </div>
  91. </div>
  92. <hr>
  93. <div class="row align-items-center justify-content-center"
  94. style="color: white;background-color:#414f69 ;padding: 10px;">
  95. <h3 class="title resizable-content">NULM Payment</h3>
  96. </div>
  97. <!-- Add the resizable-content class to the card sections -->
  98. <div class="card mb-3 mt-4 resizable-content">
  99. <!--<div class="card-header text-white" style="background-color: #414f69;">Personal Information's
  100. </div>-->
  101. <div class="card-body">
  102. <div class="row">
  103. <div class="col-md-12 d-flex justify-content-between align-items-center">
  104. <label style="font-size: large;font-weight: 700;color: #414f69;">Name:</label>
  105. <div class="col-md-6" style="margin-right: 32%;">
  106. <input type="text" id="staff-name-input" class="form-control" placeholder="Enter Name..." style="font-size: large;margin-bottom: 15px;">
  107. </div>
  108. </div>
  109. </div>
  110. <div class="row">
  111. <div class="col-md-12 d-flex justify-content-between align-items-center">
  112. <label style="font-size: large;font-weight: 700;color: #414f69;">Mobile Number:</label>
  113. <div class="col-md-6" style="margin-right: 32%;">
  114. <input type="text" id="mobile-number" class="form-control" placeholder="Enter Mobile Number..." style="font-size: large;margin-bottom: 15px;">
  115. </div>
  116. </div>
  117. </div>
  118. <div class="row">
  119. <div class="col-md-12 d-flex justify-content-between align-items-center">
  120. <label style="font-size: large;font-weight: 700;color: #414f69;">Type of Fine Category:</label>
  121. <div class="col-md-6" style="margin-right: 32%;">
  122. <input type="text" id="category" class="form-control" placeholder="Enter Fine Category..." style="font-size: large;margin-bottom: 15px;">
  123. </div>
  124. </div>
  125. </div>
  126. <div class="row">
  127. <div class="col-md-12 d-flex justify-content-between align-items-center">
  128. <label style="font-size: large;font-weight: 700;color: #414f69;">Category Fine Amount:</label>
  129. <div class="col-md-6" style="margin-right: 32%;">
  130. <input type="text" id="amount" class="form-control" placeholder="Enter the Category Fine Amount..." style="font-size: large;margin-bottom: 15px;" pattern="\d{10}" maxlength="10" minlength="10">
  131. </div>
  132. </div>
  133. </div>
  134. <!-- Update other input fields similarly -->
  135. </div>
  136. <div class="d-flex justify-content-center">
  137. <button class="btn"
  138. style="background-color: #414f69; color: white; width: 200px;padding: 10px;margin-bottom: 10px;"
  139. id="staffenroll">
  140. Payment
  141. </button>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. <footer th:replace="~{fragments/modules/base/footer :: footer}"></footer>
  147. </div>
  148. </div>
  149. <div th:replace="~{fragments/modules/pgr/modal-box :: div}"></div>
  150. <div th:replace="~{fragments/modules/base/app_module_menu_box :: div}"></div>
  151. <script th:replace="~{fragments/modules/base/script :: script}"></script>
  152. <script th:replace="~{fragments/modules/pgr/script :: script}"></script>
  153. <script th:inline="javascript">
  154. $(document).ready(function() {
  155. $("#staffenroll").click(function() {
  156. // Get input values
  157. let name = $("#staff-name-input").val().trim();
  158. let mobileNumber = $("#mobile-number").val().trim();
  159. let category = $("#category").val().trim();
  160. let amount = $("#amount").val().trim();
  161. // Check if any of the required fields are empty
  162. if (name === "" || mobileNumber === "" || category === "") {
  163. Swal.fire({
  164. icon: 'warning',
  165. title: 'Warning',
  166. text: 'Category fine amount is not entered!'
  167. });
  168. } else if (amount === "") {
  169. Swal.fire({
  170. icon: 'warning',
  171. title: 'Warning',
  172. text: 'Please enter the Category Fine Amount.'
  173. });
  174. } else {
  175. // Simulate AJAX success response
  176. $.ajax({
  177. type: "POST",
  178. url: "#", // No actual API endpoint
  179. data: {
  180. name: name,
  181. mobileNumber: mobileNumber,
  182. category: category,
  183. amount: amount
  184. },
  185. success: function() {
  186. Swal.fire({
  187. icon: 'success',
  188. title: 'Success',
  189. text: 'Category fine amount updated successfully!'
  190. });
  191. }
  192. });
  193. }
  194. });
  195. });
  196. </script>
  197. </body>
  198. </html>