Changeset 950fa0d for src/main/resources/templates
- Timestamp:
- 05/24/23 23:18:47 (18 months ago)
- Branches:
- master
- Children:
- 77205be
- Parents:
- 8bcd64c
- Location:
- src/main/resources/templates
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/admin.html
r8bcd64c r950fa0d 14 14 <!-- Navbar start --> 15 15 <header class="p-3 mb-3 border-bottom"> 16 <div class=" container">17 <div class=" d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">16 <div class="row"> 17 <div class="col-md-10 mb-10"> 18 18 Welcome to the admin page 19 </div> 20 <div class="col-md-2 mb-2"> 21 <button id="logout" class="btn btn-primary btn-block"> 22 Logout 23 </button> 19 24 </div> 20 25 </div> … … 39 44 40 45 <!-- Submit button --> 41 <button type="butto m" class="btn btn-primary btn-block mb-4" id="save_button">46 <button type="button" class="btn btn-primary btn-block mb-4" id="save_button"> 42 47 Save changes 43 48 </button> … … 52 57 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script> 53 58 <script src="js/admin.js" type="text/javascript"></script> 59 <script src="js/logout.js" type="text/javascript"></script> 54 60 </body> 55 61 </html> -
src/main/resources/templates/business_admin.html
r8bcd64c r950fa0d 14 14 <!-- Navbar start --> 15 15 <header class="p-3 mb-3 border-bottom"> 16 <div class=" container">17 <div class=" d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start" >16 <div class="row"> 17 <div class="col-md-10 mb-10" > 18 18 <span id="header"> 19 19 Welcome back 20 20 </span> 21 </div> 22 <div class="col-md-2 mb-2"> 23 <button id="logout" class="btn btn-primary btn-block"> 24 Logout 25 </button> 21 26 </div> 22 27 </div> … … 77 82 aria-label="username"/> 78 83 </div> 79 <button type="butto m" class="btn btn-primary btn-block mb-4" id="update_owner_button">84 <button type="button" class="btn btn-primary btn-block mb-4" id="update_owner_button"> 80 85 Update profile 81 86 </button> … … 101 106 </div> 102 107 <div id="predefined_services_admin_panel" class="form-outline mb-4"></div> 103 <button type="butto m" class="btn btn-primary btn-block mb-4" id="update_services_button">108 <button type="button" class="btn btn-primary btn-block mb-4" id="update_services_button"> 104 109 Update services 105 110 </button> … … 112 117 <script src="js/business_admin.js" type="text/javascript"></script> 113 118 <script src="js/bootstrap.bundle.min.js"></script> 119 <script src="js/logout.js" type="text/javascript"></script> 114 120 </body> 115 121 </html> -
src/main/resources/templates/homepage.html
r8bcd64c r950fa0d 22 22 <!-- Navbar start --> 23 23 <header class="p-3 mb-3 border-bottom"> 24 <div class="container"> 25 <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start"> 26 <a href="/" class="d-flex align-items-center mb-2 mb-lg-0 text-dark text-decoration-none"> 27 <svg class="bi me-2" width="40" height="32" role="img" aria-label="Bootstrap"> 28 <use xlink:href="#bootstrap"/> 29 </svg> 30 </a> 31 32 <ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0"> 33 <li><a href="#" class="nav-link px-2 link-secondary">Overview</a></li> 34 <li><a href="#" class="nav-link px-2 link-dark">Inventory</a></li> 35 <li><a href="#" class="nav-link px-2 link-dark">Customers</a></li> 36 <li><a href="#" class="nav-link px-2 link-dark">Products</a></li> 37 </ul> 38 39 <form class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" role="search"> 40 <input type="search" class="form-control" placeholder="Search..." aria-label="Search"> 41 </form> 42 43 <div class="dropdown text-end"> 44 <a href="#" class="d-block link-dark text-decoration-none dropdown-toggle" data-bs-toggle="dropdown" 45 aria-expanded="false"> 46 <img src="https://github.com/mdo.png" alt="mdo" width="32" height="32" class="rounded-circle"> 47 </a> 48 <ul class="dropdown-menu text-small"> 49 <li><a class="dropdown-item" href="#">New project...</a></li> 50 <li><a class="dropdown-item" href="#">Settings</a></li> 51 <li><a class="dropdown-item" href="#">Profile</a></li> 52 <li> 53 <hr class="dropdown-divider"> 54 </li> 55 <li><a class="dropdown-item" href="#">Sign out</a></li> 56 </ul> 57 </div> 24 <div class="row" style="justify-content: space-between;"> 25 <div class="col-md-8 mb-8"> 26 Welcome to the Schedlr 27 </div> 28 <div class="col-md-2 mb-2"> 29 <button id="profile" class="btn btn-primary btn-block"> 30 Profile 31 </button> 32 </div> 33 <div class="col-md-2 mb-2"> 34 <button id="logout" class="btn btn-primary btn-block"> 35 Logout 36 </button> 37 </div> 38 <div class="col-md-2 mb-2"> 39 <button id="login" class="btn btn-primary btn-block"> 40 Login 41 </button> 58 42 </div> 59 43 </div> 60 44 </header> 61 45 <!-- Navbar end --> 46 <div class="container"> 47 <div id='wrap'> 48 <div id='calendar'></div> 49 <div style='clear:both'></div> 50 </div> 62 51 63 <div id='wrap'>64 <div id='calendar'></div>65 <div style='clear:both'></div>66 </div>67 52 68 <div class="">69 53 <div class="card"> 70 <div class="card-body py-5 px-md-5"> 71 <div> 72 <label for="student-birth-date">Date of search:</label> 73 <input type="date" id="student-birth-date"/> 74 </div> 75 <div> 76 <button type="submit" class="button" id="search">Search</button> 77 </div> 54 <div class="form-outline mb-4"> 55 <select class="form-select" id="companyType" aria-label="Select company type"> 56 <option disabled selected hidden>Company Type</option> 57 </select> 58 </div> 59 60 <div class="form-outline mb-4"> 61 <select class="form-select" id="company" aria-label="Select company"> 62 <option disabled selected hidden>Company</option> 63 </select> 64 </div> 65 <div class="form-outline mb-4"> 66 <select class="form-select" id="service" aria-label="Select service"> 67 <option disabled selected hidden>Service</option> 68 </select> 69 </div> 70 <div class="form-outline mb-4"> 71 <label for="startdatetime">Start:</label> 72 <input type="datetime-local" id="startdatetime" name="startdatetime"> 73 </div> 74 <div class="form-outline mb-4"> 75 <button id="createAppointment" class="btn btn-primary btn-block"> 76 Create Appointment 77 </button> 78 78 </div> 79 79 </div> 80 80 81 </div> 81 82 <script src='js/jquery-1.10.2.js' type="text/javascript"></script> … … 84 85 <script src="js/homepage.js" type="text/javascript"></script> 85 86 <script src="js/bootstrap.bundle.min.js"></script> 87 <script src="js/logout.js" type="text/javascript"></script> 86 88 </body> 87 89 </html> -
src/main/resources/templates/login.html
r8bcd64c r950fa0d 58 58 </button> 59 59 <div th:if="${param.error}"> 60 <div th:if="${param.error.contains('notApproved')}" class="alert alert-danger ">60 <div th:if="${param.error.contains('notApproved')}" class="alert alert-danger alert-dismissible fade show"> 61 61 Account not approved yet. 62 62 </div> 63 63 64 <div th:if="${param.error.contains('badCredentials')}" class="alert alert-danger ">64 <div th:if="${param.error.contains('badCredentials')}" class="alert alert-danger alert-dismissible fade show"> 65 65 Invalid username or password. 66 66 </div> 67 </div> 68 <div th:if="${#request.getParameter('logoutSuccessful') != null}" 69 class="alert alert-success alert-dismissible fade show" role="alert"> 70 Successful logout 67 71 </div> 68 72 </form> -
src/main/resources/templates/register_business.html
r8bcd64c r950fa0d 104 104 105 105 <!-- Submit button --> 106 <button type="butto m" class="btn btn-primary btn-block mb-4" id="signup_business_button">106 <button type="button" class="btn btn-primary btn-block mb-4" id="signup_business_button"> 107 107 Sign up 108 108 </button>
Note:
See TracChangeset
for help on using the changeset viewer.