32 changed files with 3584 additions and 662 deletions
-
2src/main/java/com/gcc/communityHall/controller/AdminAPIController.java
-
12src/main/java/com/gcc/communityHall/controller/Admincontroller.java
-
61src/main/java/com/gcc/communityHall/controller/CROAPIController.java
-
80src/main/java/com/gcc/communityHall/controller/CROController.java
-
6src/main/java/com/gcc/communityHall/controller/CareTakerAPIController.java
-
16src/main/java/com/gcc/communityHall/controller/CounterController.java
-
21src/main/java/com/gcc/communityHall/controller/HQAPIController.java
-
6src/main/java/com/gcc/communityHall/controller/HeadquartersController.java
-
12src/main/java/com/gcc/communityHall/controller/OfficerAPIController.java
-
8src/main/java/com/gcc/communityHall/controller/OfficerController.java
-
147src/main/java/com/gcc/communityHall/controller/UserAPIController.java
-
18src/main/java/com/gcc/communityHall/controller/UserController.java
-
53src/main/java/com/gcc/communityHall/controller/apicontroller.java
-
83src/main/java/com/gcc/communityHall/entity/BookingHistory.java
-
8src/main/java/com/gcc/communityHall/paymentService/controller/PaymentAPIController.java
-
780src/main/java/com/gcc/communityHall/paymentService/controller/PaymentController.java
-
3src/main/java/com/gcc/communityHall/repository/BookingDetailsRepository.java
-
90src/main/java/com/gcc/communityHall/service/Impl/BookingServiceImpl.java
-
74src/main/java/com/gcc/communityHall/service/Impl/SettlementServiceImpl.java
-
23src/main/java/com/gcc/communityHall/service/Impl/UserServiceImpl.java
-
2139src/main/resources/templates/cro/booking-list.html
-
0src/main/resources/templates/cro/booking-status.html
-
0src/main/resources/templates/cro/noc-details.html
-
2src/main/resources/templates/fragments/adminMenu.html
-
199src/main/resources/templates/fragments/croMenu.html
-
46src/main/resources/templates/fragments/head-cro.html
-
98src/main/resources/templates/fragments/header-cro.html
-
4src/main/resources/templates/fragments/loginhead.html
-
163src/main/resources/templates/fragments/loginscript.html
-
13src/main/resources/templates/fragments/nav-cro.html
-
3src/main/resources/templates/officiallogin.html
-
64src/main/resources/templates/user/viewhistory.html
@ -0,0 +1,61 @@ |
|||
package com.gcc.communityHall.controller; |
|||
|
|||
import java.util.HashMap; |
|||
import java.util.Map; |
|||
|
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.http.ResponseEntity; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
import com.gcc.communityHall.entity.BookingDetails; |
|||
import com.gcc.communityHall.service.BookingService; |
|||
|
|||
import jakarta.servlet.http.HttpSession; |
|||
|
|||
@RestController |
|||
@RequestMapping("/communityhall/cro/api") |
|||
public class CROAPIController { |
|||
|
|||
@Autowired |
|||
private BookingService bookingService; |
|||
|
|||
/** |
|||
* Get booking details by booking ID. |
|||
* Used by the CRO booking-list page to search and display |
|||
* full booking info for a given booking ID. |
|||
* |
|||
* @param bookingId the booking ID to search for |
|||
* @return the BookingDetails or 404 if not found |
|||
*/ |
|||
@GetMapping("/getBookingById") |
|||
public ResponseEntity<?> getBookingById(@RequestParam("bookingId") int bookingId) { |
|||
BookingDetails bookingDetails = bookingService.getBookingsById(bookingId); |
|||
if (bookingDetails != null) { |
|||
return ResponseEntity.ok(bookingDetails); |
|||
} else { |
|||
return ResponseEntity.notFound().build(); |
|||
} |
|||
} |
|||
|
|||
/** |
|||
* Returns the currently logged-in CRO's mobile number from the HTTP session. |
|||
* Used by the CRO reschedule flow to send OTP to the CRO (not the user). |
|||
* |
|||
* @param session the current HTTP session |
|||
* @return JSON { "mobileNumber": <number> } or 401 if not authenticated |
|||
*/ |
|||
@GetMapping("/getCROMobileNumber") |
|||
public ResponseEntity<?> getCROMobileNumber(HttpSession session) { |
|||
Object mobile = session.getAttribute("mobileno"); |
|||
if (mobile == null) { |
|||
return ResponseEntity.status(401).body("CRO session not found"); |
|||
} |
|||
Map<String, Object> response = new HashMap<>(); |
|||
response.put("mobileNumber", mobile); |
|||
return ResponseEntity.ok(response); |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,80 @@ |
|||
package com.gcc.communityHall.controller; |
|||
|
|||
import java.util.List; |
|||
|
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.stereotype.Controller; |
|||
import org.springframework.ui.Model; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
|
|||
import com.gcc.communityHall.entity.BookingDetails; |
|||
import com.gcc.communityHall.repository.BookingDetailsRepository; |
|||
|
|||
import jakarta.servlet.http.HttpSession; |
|||
|
|||
@Controller |
|||
@RequestMapping("/communityhall/cro") |
|||
public class CROController { |
|||
|
|||
@Autowired |
|||
private BookingDetailsRepository bookingDetailsRepository; |
|||
|
|||
@GetMapping("/booking-list") |
|||
public String viewBookingList(Model model, HttpSession session) { |
|||
String croname = (String) session.getAttribute("usertype"); |
|||
// System.out.println("croname..." + croname); |
|||
if (croname != null && "cro".equals(croname)) { |
|||
long mobileno = (long) session.getAttribute("mobileno"); |
|||
model.addAttribute("mobileno", mobileno); |
|||
model.addAttribute("croname", croname); |
|||
List<BookingDetails> bookingList = bookingDetailsRepository.getApprovedBookingListforReschedule(); |
|||
model.addAttribute("bookingList", bookingList); |
|||
return "cro/booking-list"; |
|||
} else { |
|||
session.invalidate(); // Invalidate the session to clear all session attributes |
|||
return "redirect:/communityhall/login"; |
|||
} |
|||
} |
|||
|
|||
@GetMapping("/booking-status") |
|||
public String viewBookingStatus(Model model, HttpSession session) { |
|||
String croname = (String) session.getAttribute("usertype"); |
|||
// System.out.println("croname..." + croname); |
|||
if (croname != null && "cro".equals(croname)) { |
|||
long mobileno = (long) session.getAttribute("mobileno"); |
|||
model.addAttribute("mobileno", mobileno); |
|||
model.addAttribute("croname", croname); |
|||
List<BookingDetails> bookingList = bookingDetailsRepository.getApprovedBookingListforReschedule(); |
|||
model.addAttribute("bookingList", bookingList); |
|||
return "cro/booking-status"; |
|||
} else { |
|||
session.invalidate(); // Invalidate the session to clear all session attributes |
|||
return "redirect:/communityhall/login"; |
|||
} |
|||
} |
|||
|
|||
@GetMapping("/nocdetails") |
|||
public String viewNOCDetails(Model model, HttpSession session) { |
|||
String croname = (String) session.getAttribute("usertype"); |
|||
// System.out.println("croname..." + croname); |
|||
if (croname != null && "cro".equals(croname)) { |
|||
long mobileno = (long) session.getAttribute("mobileno"); |
|||
model.addAttribute("mobileno", mobileno); |
|||
model.addAttribute("croname", croname); |
|||
List<BookingDetails> bookingList = bookingDetailsRepository.getApprovedBookingListforReschedule(); |
|||
model.addAttribute("bookingList", bookingList); |
|||
return "cro/noc-details"; |
|||
} else { |
|||
session.invalidate(); // Invalidate the session to clear all session attributes |
|||
return "redirect:/communityhall/login"; |
|||
} |
|||
} |
|||
|
|||
@GetMapping("/logout") |
|||
public String viewLogout(Model model, HttpSession session) { |
|||
session.invalidate(); |
|||
return "redirect:/communityhall/login"; |
|||
} |
|||
|
|||
} |
|||
2139
src/main/resources/templates/cro/booking-list.html
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,199 @@ |
|||
<div class="content-side"> |
|||
<ul class="nav-main"> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/cro/booking-list"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Reschedule Booking</span> |
|||
</a> |
|||
</li> |
|||
<!-- <li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/cro/booking-status"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Booking Status</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/cro/nocdetails"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">NOC Details</span> |
|||
</a> |
|||
</li> --> |
|||
<!-- <li class="nav-main-item"> |
|||
|
|||
<a class="nav-main-link" href="/communityhall/admin/userdeactive"> |
|||
|
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">User Deactive</span> |
|||
|
|||
</a> |
|||
|
|||
</li> |
|||
<li class="nav-main-item"> |
|||
|
|||
<a class="nav-main-link" href="/communityhall/admin/approval-history"> |
|||
|
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">User Pending List</span> |
|||
|
|||
</a> |
|||
|
|||
</li> |
|||
|
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/user-approved"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">User Approval List</span> |
|||
</a> |
|||
</li> |
|||
|
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/user-reject"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">User Rejected List</span> |
|||
</a> |
|||
</li> |
|||
|
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/login-creation"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Login Creation</span> |
|||
</a> |
|||
</li> |
|||
|
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/GccblockingNew"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">GCC Blocking (New)</span> |
|||
</a> |
|||
</li> |
|||
|
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/ongoingevents"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Recent Events</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/viewUploadNoc"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Waiting For NOC </span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/bookingwaitinglist"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Waiting For NOC Approval</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/booking-list"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Booking Approved List</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/rejected-list"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Booking Rejected List</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/halldetailslist"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Hall Details List</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/DiscountRange"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Discount Range</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/settlement-approved"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Settlement Approved List</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/settlement-initiatedlist"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Settlement Initiated List</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/settlement-list"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Settlement Pending List</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/settlementlist"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Settlement List</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/settlement-reject"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Settlement Rejected List</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/refundfailed-list"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Refund Failed List</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/settlement-completedlist"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Settlement Completed List</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/manualrefund"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Manual Refund</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/ReasonMaster"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Reason Master</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/notification"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Notifications</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/Gccblocking"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Gcc Blocking</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/Reports"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Reports</span> |
|||
</a> |
|||
</li> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/admin/developer"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Developers</span> |
|||
</a> |
|||
</li>--> |
|||
<li class="nav-main-item"> |
|||
<a class="nav-main-link" href="/communityhall/cro/logout"> |
|||
<i class="nav-main-link-icon fa fa-location-arrow"></i> |
|||
<span class="nav-main-link-name">Sign Out</span> |
|||
</a> |
|||
</li> |
|||
|
|||
|
|||
</ul> |
|||
</div> |
|||
@ -0,0 +1,46 @@ |
|||
<head xmlns:th="http://www.w3.org/1999/xhtml"> |
|||
<meta charset="utf-8"> |
|||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
|||
|
|||
<title th:text="'GCC - '+communityHall">GCC</title> |
|||
|
|||
<base th:href="${baseURL}" /> |
|||
|
|||
<meta name="description" content="GCC - communityHall"> |
|||
<meta name="author" content="BonTon Softwares pvt Limited"> |
|||
<meta name="robots" content="noindex, nofollow"> |
|||
|
|||
<!-- Open Graph Meta --> |
|||
<meta property="og:title" content="GCC - communityHall"> |
|||
<meta property="og:site_name" content="GCC"> |
|||
<meta property="og:description" content="Greater Chennai Corporation - communityHall"> |
|||
<meta property="og:type" content="website"> |
|||
<meta property="og:url" content=""> |
|||
<meta property="og:image" content=""> |
|||
|
|||
<!-- Icons --> |
|||
<!-- The following icons can be replaced with your own, they are used by desktop and mobile browsers --> |
|||
<link rel="shortcut icon" href="media/favicons/favicon.png"> |
|||
<link rel="icon" type="image/png" sizes="192x192" href="media/favicons/favicon-192x192.png"> |
|||
<link rel="apple-touch-icon" sizes="180x180" href="media/favicons/apple-touch-icon-180x180.png"> |
|||
<!-- END Icons --> |
|||
|
|||
<!-- Stylesheets --> |
|||
<!-- Page JS Plugins CSS --> |
|||
<link rel="stylesheet" href="js/plugins/datatables-bs5/css/dataTables.bootstrap5.min.css"> |
|||
<link rel="stylesheet" href="js/plugins/datatables-buttons-bs5/css/buttons.bootstrap5.min.css"> |
|||
<link rel="stylesheet" href="js/plugins/datatables-responsive-bs5/css/responsive.bootstrap5.min.css"> |
|||
<!-- Page JS Plugins CSS --> |
|||
<link rel="stylesheet" href="js/plugins/sweetalert2/sweetalert2.min.css"> |
|||
<!-- Dashmix framework --> |
|||
<link rel="stylesheet" id="css-main" href="css/dashmix.css"> |
|||
|
|||
<!-- You can include a specific file from css/themes/ folder to alter the default color theme of the template. eg: --> |
|||
<!-- <link rel="stylesheet" id="css-theme" href="assets/css/themes/xwork.min.css"> --> |
|||
<link rel="stylesheet" id="css-theme" href="css/themes/xinspire.css"> |
|||
<link rel="stylesheet" |
|||
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/css/bootstrap-multiselect.min.css"> |
|||
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> |
|||
|
|||
<!-- END Stylesheets --> |
|||
</head> |
|||
@ -0,0 +1,98 @@ |
|||
<header id="page-header" xmlns:th="http://www.w3.org/1999/xhtml"> |
|||
<!-- Header Content --> |
|||
<div class="content-header"> |
|||
<!-- Left Section --> |
|||
<div class="space-x-1"> |
|||
<!-- Toggle Sidebar --> |
|||
<!-- Layout API, functionality initialized in Template._uiApiLayout()--> |
|||
<button type="button" class="btn btn-alt-secondary" data-toggle="layout" data-action="sidebar_toggle"> |
|||
<i class="fa fa-fw fa-bars"></i> |
|||
</button> |
|||
<!-- END Toggle Sidebar --> |
|||
</div> |
|||
<!-- END Left Section --> |
|||
<div class="row pt-1" style="margin:0px;"> |
|||
<!--<div class="col-2 text-center p-1"> |
|||
<img src="assets/media/images/tamilnadu-logo.png" style="padding-top:2px;" width="30px" alt="Tamilnadu Logo"> |
|||
</div>--> |
|||
<div class="col-2 text-center p-1"> |
|||
<img src='media/images/logo-sm.png' width="37" alt="Logo Sm"> |
|||
</div> |
|||
<div class="col-8 text-center p-0" style="font-size:15px;"> |
|||
பெருநகர சென்னை மாநகராட்சி |
|||
</div> |
|||
<!--<div class="col-2 text-center p-1"> |
|||
<img src='assets/media/images/logo-sm.png' width="32" alt="Logo Sm"> |
|||
</div>--> |
|||
</div> |
|||
<!-- Right Section --> |
|||
<div class="space-x-1"> |
|||
<!-- User Dropdown |
|||
<div class="dropdown d-inline-block"> |
|||
<button type="button" class="btn btn-alt-secondary" id="page-header-user-btn"> |
|||
<i class="far fa-fw fa-user me-1"></i> |
|||
<span class="d-none d-sm-inline ms-1" th:text="${adminname}"></span> |
|||
|
|||
</button> |
|||
</div> --> |
|||
|
|||
<div class="dropdown d-inline-block"> |
|||
<button type="button" class="btn btn-alt-secondary dropdown-toggle" id="page-header-user-dropdown" |
|||
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
|||
<i class="far fa-fw fa-user me-1"></i> |
|||
<span class="d-none d-sm-inline ms-1" th:text="${adminname}"></span> |
|||
</button> |
|||
<div class="dropdown-menu dropdown-menu-end p-0" aria-labelledby="page-header-user-dropdown"> |
|||
<div class="bg-primary-dark rounded-top fw-semibold text-white text-center p-3"> |
|||
User Options |
|||
</div> |
|||
<div class="p-2"> |
|||
<a class="dropdown-item" href="javascript:resetPassword();"> |
|||
<i class="far fa-fw fa-user me-1"></i> Reset Password |
|||
</a> |
|||
|
|||
<div role="separator" class="dropdown-divider"></div> |
|||
<a class="dropdown-item" href="/communityhall/cro/logout"> |
|||
<i class="far fa-fw fa-arrow-alt-circle-left me-1"></i> Sign Out |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- END User Dropdown --> |
|||
|
|||
|
|||
<!-- Header Search --> |
|||
<div id="page-header-search" class="overlay-header bg-header-dark"> |
|||
<div class="bg-white-10"> |
|||
<div class="content-header"> |
|||
<form class="w-100" action="be_pages_generic_search.html" method="POST"> |
|||
<div class="input-group"> |
|||
<!-- Layout API, functionality initialized in Template._uiApiLayout() --> |
|||
<button type="button" class="btn btn-alt-primary" data-toggle="layout" |
|||
data-action="header_search_off"> |
|||
<i class="fa fa-fw fa-times-circle"></i> |
|||
</button> |
|||
<input type="text" class="form-control border-0" placeholder="Search or hit ESC.." |
|||
id="page-header-search-input" name="page-header-search-input"> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- END Header Search --> |
|||
|
|||
<!-- Header Loader --> |
|||
<!-- Please check out the Loaders page under Components category to see examples of showing/hiding it --> |
|||
<div id="page-header-loader" class="overlay-header bg-header-dark"> |
|||
<div class="bg-white-10"> |
|||
<div class="content-header"> |
|||
<div class="w-100 text-center"> |
|||
<i class="fa fa-fw fa-sun fa-spin text-white"></i> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- END Header Loader --> |
|||
</header> |
|||
@ -0,0 +1,13 @@ |
|||
<nav id="sidebar" aria-label="Main Navigation" xmlns:th="http://www.w3.org/1999/xhtml"> |
|||
<!-- Side Header --> |
|||
<div th:replace="~{fragments/side-header :: div}"></div> |
|||
<!-- END Side Header --> |
|||
|
|||
<!-- Sidebar Scrolling --> |
|||
<div class="js-sidebar-scroll"> |
|||
<!-- Side Navigation --> |
|||
<div th:replace="~{fragments/croMenu :: div}"></div> |
|||
<!-- END Side Navigation --> |
|||
</div> |
|||
<!-- END Sidebar Scrolling --> |
|||
</nav> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue