|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en" xmlns="http://www.w3.org/1999/xhtml" |
| 3 | + xmlns:th="http://www.thymeleaf.org"> |
| 4 | + <head> |
| 5 | + |
| 6 | + <link rel="icon" type="../vendor/image/png" href="Error/pic.jpg"/> |
| 7 | + <meta charset="utf-8"> |
| 8 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 9 | + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
| 10 | + <meta name="description" content=""> |
| 11 | + <meta name="author" content=""> |
| 12 | + |
| 13 | + <title>Admin page</title> |
| 14 | + |
| 15 | + |
| 16 | + <!-- Bootstrap core CSS--> |
| 17 | + <link href="../vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> |
| 18 | + |
| 19 | + <!-- Custom fonts for this template--> |
| 20 | + <link href="../vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css"> |
| 21 | + |
| 22 | + <!-- Page level plugin CSS--> |
| 23 | + <link href="../vendor/datatables/dataTables.bootstrap4.css" rel="stylesheet"> |
| 24 | + |
| 25 | + <!-- Custom styles for this template--> |
| 26 | + <link href="../vendor/css/sb-admin.css" rel="stylesheet"> |
| 27 | + |
| 28 | + </head> |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + <body id="page-top"> |
| 33 | + |
| 34 | + <nav class="navbar navbar-expand navbar-dark bg-dark static-top"> |
| 35 | + |
| 36 | + <a class="navbar-brand mr-1" href="AdminHome.jsp">Doctor+ Admin Dashboard</a> |
| 37 | + |
| 38 | + <button class="btn btn-link btn-sm text-white order-1 order-sm-0" id="sidebarToggle" href="#"> |
| 39 | + <i class="fas fa-bars"></i> |
| 40 | + </button> |
| 41 | + |
| 42 | + <!-- Navbar Search --> |
| 43 | + <form class="d-none d-md-inline-block form-inline ml-auto mr-0 mr-md-3 my-2 my-md-0"> |
| 44 | + <div class="input-group"> |
| 45 | + |
| 46 | + </div> |
| 47 | + </form> |
| 48 | + |
| 49 | + <!-- Navbar --> |
| 50 | + <ul class="navbar-nav ml-auto ml-md-0"> |
| 51 | + |
| 52 | + |
| 53 | + <li class="nav-item dropdown no-arrow"> |
| 54 | + <a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
| 55 | + <i class="fas fa-user-circle fa-fw"></i> |
| 56 | + </a> |
| 57 | + <div class="dropdown-menu dropdown-menu-right" aria-labelledby="userDropdown"> |
| 58 | + <div class="dropdown-divider"></div> |
| 59 | + <a class="dropdown-item" href="Logout" data-toggle="modal" data-target="#logoutModal">Logout</a> |
| 60 | + </div> |
| 61 | + </li> |
| 62 | + |
| 63 | + </ul> |
| 64 | + |
| 65 | + </nav> |
| 66 | + |
| 67 | + <div id="wrapper"> |
| 68 | + |
| 69 | + <!-- Sidebar --> |
| 70 | + <ul class="sidebar navbar-nav"> |
| 71 | + |
| 72 | + <li class="nav-item "> |
| 73 | + <a class="nav-link " th:href="@{/admin/user-details}" > |
| 74 | + |
| 75 | + <i class="fas fa-fw fa-tachometer-alt"></i> |
| 76 | + <span>User Details</span> |
| 77 | + </a> |
| 78 | + </li> |
| 79 | + <li class="nav-item "> |
| 80 | + <a class="nav-link " th:href="@{/admin/doctor-details}"> |
| 81 | + |
| 82 | + <i class="fas fa-fw fa-tachometer-alt"></i> |
| 83 | + <span>Doctor Details</span> |
| 84 | + </a> |
| 85 | + </li> |
| 86 | + <li class="nav-item active "> |
| 87 | + <a class="nav-link " th:href="@{/admin/admin-details}"> |
| 88 | + |
| 89 | + <i class="fas fa-fw fa-tachometer-alt"></i> |
| 90 | + <span>Admin Details</span> |
| 91 | + </a> |
| 92 | + </li> |
| 93 | + <li class="nav-item "> |
| 94 | + <a class="nav-link " th:href="@{/admin/add-doctor}"> |
| 95 | + <i class="fas fa-fw fa-tachometer-alt"></i> |
| 96 | + <span>Add doctor</span> |
| 97 | + </a> |
| 98 | + </li> |
| 99 | + </li> |
| 100 | + <li class="nav-item "> |
| 101 | + <a class="nav-link " th:href="@{/admin/add-admin}"> |
| 102 | + <i class="fas fa-fw fa-tachometer-alt"></i> |
| 103 | + <span>Add Admin</span> |
| 104 | + </a> |
| 105 | + </li> |
| 106 | + <li class="nav-item "> |
| 107 | + <a class="nav-link" th:href="@{/admin/edit-my-profile}"> |
| 108 | + <i class="fas fa-fw fa-tachometer-alt"></i> |
| 109 | + <span>My Profile</span> |
| 110 | + </a> |
| 111 | + </li> |
| 112 | + </ul> |
| 113 | + |
| 114 | + <div id="content-wrapper"> |
| 115 | + |
| 116 | + <div class="container-fluid"> |
| 117 | + |
| 118 | + <!-- Breadcrumbs--> |
| 119 | + <ol class="breadcrumb"> |
| 120 | + <li class="breadcrumb-item"> |
| 121 | + <a href="AdminHome.jsp">Dashboard</a> |
| 122 | + </li> |
| 123 | + <li class="breadcrumb-item active">Overview</li> |
| 124 | + </ol> |
| 125 | + |
| 126 | + <!-- Icon Cards--> |
| 127 | + |
| 128 | + |
| 129 | + <!-- Area Chart Example |
| 130 | + <div class="card mb-3"> |
| 131 | + <div class="card-header"> |
| 132 | + <i class="fas fa-chart-area"></i> |
| 133 | + Area Chart Example</div> |
| 134 | + <div class="card-body"> |
| 135 | + <canvas id="myAreaChart" width="100%" height="30"></canvas> |
| 136 | + </div> |
| 137 | + <div class="card-footer small text-muted">Updated yesterday at 11:59 PM</div> |
| 138 | + </div> --> |
| 139 | + |
| 140 | + <!-- DataTables Example --> |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + <div class="card mb-3"> |
| 145 | + <div class="card-header"> |
| 146 | + <i class="fas fa-table"></i> |
| 147 | + Data Table </div> |
| 148 | + <div class="card-body"> |
| 149 | + <div class="table-responsive"> |
| 150 | + <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0"> |
| 151 | + <thead> |
| 152 | + <tr> |
| 153 | + <th>Name</th> |
| 154 | + <th>Email</th> |
| 155 | + <th>Date</th> |
| 156 | + <th>Time</th> |
| 157 | + <th>Description</th> |
| 158 | + <th>Reg. Time</th> |
| 159 | + |
| 160 | + |
| 161 | + </tr> |
| 162 | + </thead> |
| 163 | + <tfoot> |
| 164 | + <tr> |
| 165 | + <th>Name</th> |
| 166 | + <th>Email</th> |
| 167 | + <th>Date</th> |
| 168 | + <th>Time</th> |
| 169 | + <th>Description</th> |
| 170 | + <th>Reg. Time</th> |
| 171 | + |
| 172 | + |
| 173 | + |
| 174 | + </tr> |
| 175 | + <tbody> |
| 176 | + <tr th:each="temp : ${app}"> |
| 177 | + |
| 178 | + <td th:text="${temp.id}" /> |
| 179 | + <td th:text="${temp.name}" /> |
| 180 | + <td th:text="${temp.email}"/> |
| 181 | + <td th:text="${temp.des}" /> |
| 182 | + <td th:text="${temp.time}" /> |
| 183 | + <td th:text="${temp.description}" /> |
| 184 | + |
| 185 | + </tr> |
| 186 | + |
| 187 | + </tbody> |
| 188 | + </table> |
| 189 | + </div> |
| 190 | + </div> |
| 191 | + <div class="card-footer small text-muted">Doctor+</div> |
| 192 | + </div> |
| 193 | + |
| 194 | + <!-- /.container-fluid --> |
| 195 | + |
| 196 | + <!-- Sticky Footer --> |
| 197 | + <footer class="sticky-footer"> |
| 198 | + <div class="container my-auto"> |
| 199 | + <div class="copyright text-center my-auto"> |
| 200 | + <span>Copyright ©Soumyadip Spring-Boot-JPA 2019</span> |
| 201 | + </div> |
| 202 | + </div> |
| 203 | + </footer> |
| 204 | + |
| 205 | + </div> |
| 206 | + <!-- /.content-wrapper --> |
| 207 | + |
| 208 | + </div> |
| 209 | + <!-- /#wrapper --> |
| 210 | + |
| 211 | + <!-- Scroll to Top Button--> |
| 212 | + <a class="scroll-to-top rounded" href="#page-top"> |
| 213 | + <i class="fas fa-angle-up"></i> |
| 214 | + </a> |
| 215 | + |
| 216 | + <!-- Logout Modal--> |
| 217 | + |
| 218 | + |
| 219 | + <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> |
| 220 | + <div class="modal-dialog" role="document"> |
| 221 | + <div class="modal-content"> |
| 222 | + <div class="modal-header"> |
| 223 | + <h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5> |
| 224 | + <button class="close" type="button" data-dismiss="modal" aria-label="Close"> |
| 225 | + <span aria-hidden="true">×</span> |
| 226 | + </button> |
| 227 | + </div> |
| 228 | + <div class="modal-body">Select "Logout" below if you are ready to end your current session.</div> |
| 229 | + <div class="modal-footer"> |
| 230 | + <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button> |
| 231 | + |
| 232 | + <form th:action="@{/logout}" method="POST"> |
| 233 | + |
| 234 | + |
| 235 | + <button type="submit" class="btn btn-success">Logout</button> </form> |
| 236 | + </div> |
| 237 | + </div> |
| 238 | + </div> |
| 239 | + </div> |
| 240 | + |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + <!-- Bootstrap core JavaScript--> |
| 245 | + <script src="../vendor/jquery/jquery.min.js"></script> |
| 246 | + <script src="../vendor/bootstrap/js/bootstrap.bundle.min.js"></script> |
| 247 | + |
| 248 | + <!-- Core plugin JavaScript--> |
| 249 | + <script src="../vendor/jquery-easing/jquery.easing.min.js"></script> |
| 250 | + |
| 251 | + <!-- Page level plugin JavaScript--> |
| 252 | + <script src="../vendor/chart.js/Chart.min.js"></script> |
| 253 | + <script src="../vendor/datatables/jquery.dataTables.js"></script> |
| 254 | + <script src="../vendor/datatables/dataTables.bootstrap4.js"></script> |
| 255 | + |
| 256 | + <!-- Custom scripts for all pages--> |
| 257 | + <script src="../vendor/js/sb-admin.min.js"></script> |
| 258 | + |
| 259 | + <!-- Demo scripts for this page--> |
| 260 | + <script src="../vendor/js/demo/datatables-demo.js"></script> |
| 261 | + <script src="../vendor/js/demo/chart-area-demo.js"></script> |
| 262 | + |
| 263 | + </body> |
| 264 | + |
| 265 | +</html> |
0 commit comments