Changeset 8bcd64c for src/main/resources
- Timestamp:
- 04/19/23 21:19:08 (20 months ago)
- Branches:
- master
- Children:
- 950fa0d
- Parents:
- 9050790
- Location:
- src/main/resources
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/static/js/register_business.js
r9050790 r8bcd64c 22 22 '<div class=\"form-outline mb-4\">' + 23 23 ' <div class="row">' + 24 ' <div class="col-md- 8">\n' +24 ' <div class="col-md-6">\n' + 25 25 ' <input class="form-check-input" type="checkbox" value=\"' + obj.id + '\" id=\"' + obj.id + '\">\n' + 26 26 ' <label class="form-check-label" for=\"' + obj.id + '\">\n' + … … 29 29 ' </div>' + 30 30 ' <div class=\"form-outline col-md-2 d-grid\">' + 31 ' <input type=\"text\" id=\"' + obj.id + obj.name.replace(/\s/g, "") + '\" class=\"form-control\" />' + 31 ' <input type=\"text\" id=\"' + obj.id + obj.name.replace(/\s/g, "") + "duration" + '\" class=\"form-control\" placeholder="time" />' + 32 ' </div>' + 33 ' <div class=\"form-outline col-md-2 d-grid\">' + 34 ' <input type=\"text\" id=\"' + obj.id + obj.name.replace(/\s/g, "") + "price" + '\" class=\"form-control\" placeholder="price" />' + 32 35 ' </div>' + 33 36 ' </div>' + … … 53 56 ' </div>' + 54 57 ' <div class="form-outline col-md-2 d-grid">' + 55 ' <input type="text" id="' + -1 + input_service.replace(/\s/g, "") + '" class="form-control" />' + 58 ' <input type="text" id="' + -1 + input_service.replace(/\s/g, "") + "duration" + '" class="form-control" placeholder="time" />' + 59 ' </div>' + 60 ' <div class="form-outline col-md-2 d-grid">' + 61 ' <input type="text" id="' + -1 + input_service.replace(/\s/g, "") + "price"+ '" class="form-control" placeholder="price" />' + 56 62 ' </div>' + 57 63 ' </div>' + … … 83 89 var text = $(label).text(); 84 90 var time = $($($(label).parent()).siblings()[0]).children()[0].value; 91 var price = $($($(label).parent()).siblings()[1]).children()[0].value; 85 92 86 93 var serviceType = {} … … 91 98 service['serviceType'] = serviceType; 92 99 service['duration'] = time; 100 service['price'] = price; 93 101 servicesObj.push(service); 94 102 }); -
src/main/resources/templates/admin.html
r9050790 r8bcd64c 2 2 <html lang="en"> 3 3 <head> 4 <title> Schedlr</title>4 <title>Admin</title> 5 5 6 6 <meta charset="utf-8"/> -
src/main/resources/templates/homepage.html
r9050790 r8bcd64c 2 2 <html> 3 3 <head> 4 <title> Schedlr</title>4 <title>Homepage</title> 5 5 6 6 <meta charset="utf-8"/> -
src/main/resources/templates/login.html
r9050790 r8bcd64c 3 3 <head> 4 4 <meta charset="UTF-8"> 5 <title> Schedlr</title>5 <title>Login</title> 6 6 7 7 <!-- Font Awesome --> … … 54 54 55 55 <!-- Submit button --> 56 <button type="submit" class="btn btn-primary btn-block mb-4">56 <button id="login" type="submit" class="btn btn-primary btn-block mb-4"> 57 57 Login 58 58 </button> 59 <div th:if="${param.error}"> 60 <div th:if="${param.error.contains('notApproved')}" class="alert alert-danger"> 61 Account not approved yet. 62 </div> 63 64 <div th:if="${param.error.contains('badCredentials')}" class="alert alert-danger"> 65 Invalid username or password. 66 </div> 67 </div> 59 68 </form> 60 69 -
src/main/resources/templates/register_business.html
r9050790 r8bcd64c 3 3 <head> 4 4 <meta charset="UTF-8"> 5 <title>Schedlr</title> 6 5 <title>Register business</title> 7 6 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" 8 7 integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"> 9 10 8 <link rel="stylesheet" href="css/login.css"> 11 12 9 </head> 13 10 <body> … … 30 27 <form> 31 28 <div class="text-center"> 32 33 29 <p>Personal Info</p> 30 </div> 34 31 35 32 <!-- 2 column grid layout with text inputs for the first and last names --> -
src/main/resources/templates/register_customer.html
r9050790 r8bcd64c 3 3 <head> 4 4 <meta charset="UTF-8"> 5 <title> Schedlr</title>5 <title>Register customer</title> 6 6 7 7 <meta charset="utf-8"/>
Note:
See TracChangeset
for help on using the changeset viewer.