2024-07-22 11:54:59 +00:00
|
|
|
{{define "admin"}}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<!-- Required meta tags -->
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<title>Administration</title>
|
|
|
|
<!-- plugins:css -->
|
|
|
|
<link rel="stylesheet" href="/static/admin/vendors/ti-icons/css/themify-icons.css">
|
|
|
|
<link rel="stylesheet" href="/static/admin/vendors/base/vendor.bundle.base.css">
|
|
|
|
<!-- endinject -->
|
|
|
|
<!-- plugin css for this page -->
|
|
|
|
<!-- End plugin css for this page -->
|
|
|
|
<!-- inject:css -->
|
2024-07-25 11:51:31 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="https://unpkg.com/notie/dist/notie.min.css">
|
2024-07-22 11:54:59 +00:00
|
|
|
<link rel="stylesheet" href="/static/admin/css/style.css">
|
|
|
|
<!-- endinject -->
|
|
|
|
<link rel="shortcut icon" href="/static/admin/images/favicon.png" />
|
|
|
|
|
2024-07-22 20:14:48 +00:00
|
|
|
<style>
|
|
|
|
.content-wrapper {
|
2024-07-24 20:23:31 +00:00
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
font-weight: bold;
|
2024-07-22 20:14:48 +00:00
|
|
|
}
|
2024-07-25 11:51:31 +00:00
|
|
|
.notie-container {
|
|
|
|
z-index: 50000;
|
|
|
|
}
|
2024-07-22 20:14:48 +00:00
|
|
|
</style>
|
2024-07-22 11:54:59 +00:00
|
|
|
{{block "css" .}}
|
|
|
|
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container-scroller">
|
|
|
|
<!-- partial:partials/_navbar.html -->
|
|
|
|
<nav class="navbar col-lg-12 col-12 p-0 fixed-top d-flex flex-row">
|
|
|
|
<div class="text-center navbar-brand-wrapper d-flex align-items-center justify-content-center">
|
|
|
|
<button class="navbar-toggler navbar-toggler align-self-center" type="button" data-toggle="minimize">
|
|
|
|
<span class="ti-view-list"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="navbar-menu-wrapper d-flex align-items-center justify-content-end">
|
|
|
|
<ul class="navbar-nav navbar-nav-right">
|
|
|
|
<li class="nav-item nav-profile">
|
|
|
|
<a class="nav-link" href="/">
|
|
|
|
Public Site
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item nav-profile">
|
|
|
|
<a class="nav-link" href="/user/logout">
|
|
|
|
Logout
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<!-- partial -->
|
|
|
|
<div class="container-fluid page-body-wrapper">
|
|
|
|
<!-- partial:partials/_sidebar.html -->
|
2024-07-26 08:18:27 +00:00
|
|
|
<!-- TODO sidebar-offcanvas need to be repaired -->
|
|
|
|
<nav class="sidebar" id="sidebar">
|
2024-07-22 11:54:59 +00:00
|
|
|
<ul class="nav">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="/admin/dashboard">
|
|
|
|
<i class="ti-shield menu-icon"></i>
|
|
|
|
<span class="menu-title">Dashboard</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" data-bs-toggle="collapse" href="#ui-basic" aria-expanded="false" aria-controls="ui-basic">
|
|
|
|
<i class="ti-palette menu-icon"></i>
|
|
|
|
<span class="menu-title">Reservations</span>
|
|
|
|
<i class="menu-arrow"></i>
|
|
|
|
</a>
|
|
|
|
<div class="collapse" id="ui-basic">
|
|
|
|
<ul class="nav flex-column sub-menu">
|
|
|
|
<li class="nav-item"> <a class="nav-link" href="/admin/reservations-new">New Reservations</a></li>
|
|
|
|
<li class="nav-item"> <a class="nav-link" href="/admin/reservations-all">All Reservations</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2024-07-22 12:05:20 +00:00
|
|
|
<a class="nav-link" href="/admin/reservations-calendar">
|
2024-07-22 11:54:59 +00:00
|
|
|
<i class="ti-layout-list-post menu-icon"></i>
|
|
|
|
<span class="menu-title">Reservation Canlendar</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<!-- partial -->
|
|
|
|
<div class="main-panel">
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12 grid-margin">
|
|
|
|
<div class="d-flex justify-content-between align-items-center">
|
|
|
|
<div>
|
|
|
|
<h4 class="font-weight-bold mb-0">{{block "page-title" .}} {{end}}</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
{{block "content" .}}
|
|
|
|
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- content-wrapper ends -->
|
|
|
|
<!-- partial:partials/_footer.html -->
|
|
|
|
<footer class="footer">
|
|
|
|
<div class="d-sm-flex justify-content-center justify-content-sm-between">
|
|
|
|
<span class="text-muted text-center text-sm-left d-block d-sm-inline-block">Copyright 2024</span>
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
<!-- partial -->
|
|
|
|
</div>
|
|
|
|
<!-- main-panel ends -->
|
|
|
|
</div>
|
|
|
|
<!-- page-body-wrapper ends -->
|
|
|
|
</div>
|
|
|
|
<!-- container-scroller -->
|
|
|
|
|
|
|
|
<!-- plugins:js -->
|
|
|
|
<script src="/static/admin/vendors/base/vendor.bundle.base.js"></script>
|
|
|
|
<!-- endinject -->
|
|
|
|
<!-- Plugin js for this page-->
|
|
|
|
<!-- End plugin js for this page-->
|
|
|
|
<!-- inject:js -->
|
|
|
|
<script src="/static/admin/js/off-canvas.js"></script>
|
|
|
|
<script src="/static/admin/js/hoverable-collapse.js"></script>
|
|
|
|
<script src="/static/admin/js/template.js"></script>
|
|
|
|
<script src="/static/admin/js/todolist.js"></script>
|
|
|
|
<!-- endinject -->
|
|
|
|
<!-- Custom js for this page-->
|
2024-07-25 11:51:31 +00:00
|
|
|
<script src="https://unpkg.com/notie"></script>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
|
|
|
<script src="/static/js/app.js"></script>
|
2024-07-22 11:54:59 +00:00
|
|
|
<script src="/static/admin/js/dashboard.js"></script>
|
|
|
|
<!-- End custom js for this page-->
|
2024-07-25 11:51:31 +00:00
|
|
|
<script>
|
|
|
|
let attention = Prompt()
|
|
|
|
|
|
|
|
{{with .Error}}
|
|
|
|
notify("{{.}}", "error")
|
|
|
|
{{end}}
|
|
|
|
{{with .Warning}}
|
|
|
|
notify("{{.}}", "warning")
|
|
|
|
{{end}}
|
|
|
|
{{with .Flash}}
|
|
|
|
notify("{{.}}", "success")
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
</script>
|
2024-07-22 11:54:59 +00:00
|
|
|
{{block "js" .}}
|
|
|
|
|
|
|
|
{{end}}
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
|
|
|
{{end}}
|