source: src/main/resources/templates/login.html@ 9050790

Last change on this file since 9050790 was a436340, checked in by Gjoko Kostadinov <gjoko.kostadinov@…>, 22 months ago

Adding customer registration

  • Property mode set to 100644
File size: 4.1 KB
RevLine 
[204464d]1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
[a436340]5 <title>Schedlr</title>
[204464d]6
7 <!-- Font Awesome -->
8 <link
9 href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
10 rel="stylesheet"
11 />
12 <!-- Google Fonts -->
13 <link
14 href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
15 rel="stylesheet"
16 />
17 <!-- MDB -->
18 <link
19 href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.css"
20 rel="stylesheet"
21 />
22 <link rel="stylesheet" href="css/login.css">
23
24</head>
25<div class="px-4 py-5 px-md-5 text-center text-lg-start" style="background-color: hsl(0, 0%, 96%); height: 100vh;">
26 <div class="container">
27 <div class="row gx-lg-5 align-items-center">
28 <div class="col-lg-6 mb-5 mb-lg-0">
29 <h1 class="my-5 display-3 fw-bold ls-tight">
30 This city's best offers <br/>
31 <span class="text-primary">available to you</span>
32 </h1>
33 <p style="color: hsl(217, 10%, 50.8%)">
34 If you are looking for the best deals for the lowest price,
35 then Schedlr is the platform for you.
36 </p>
37 </div>
38
39 <div class="col-lg-6 mb-5 mb-lg-0">
40 <div class="card">
41 <div class="card-body py-5 px-md-5">
[763289e]42 <form action="#" th:action="@{/login}" th:object="${stakeholder}" method="post">
[204464d]43 <!-- Email input -->
44 <div class="form-outline mb-4">
[763289e]45 <input type="text" id="username" class="form-control" required th:field="*{username}" />
46 <label class="form-label" for="username">Username</label>
[204464d]47 </div>
48
49 <!-- Password input -->
50 <div class="form-outline mb-4">
[763289e]51 <input type="password" id="password" class="form-control" th:field="*{password}" />
[204464d]52 <label class="form-label" for="password">Password</label>
53 </div>
54
55 <!-- Submit button -->
56 <button type="submit" class="btn btn-primary btn-block mb-4">
57 Login
58 </button>
59 </form>
60
61 <div class="text-center">
[a436340]62 <p>No account? <a href="/register_customer" class="link-primary">Register customer</a></p>
63 </div>
64 <div class="text-center">
65 <p>Offering services? <a href="/register_business" class="link-primary">Register company</a></p>
[204464d]66 </div>
67 <!-- Register buttons -->
68 <div class="text-center">
69 <p>or register with:</p>
70 <button type="button" class="btn btn-link btn-floating mx-1">
71 <i class="fab fa-facebook-f"></i>
72 </button>
73
74 <button type="button" class="btn btn-link btn-floating mx-1">
75 <i class="fab fa-google"></i>
76 </button>
77
78 <button type="button" class="btn btn-link btn-floating mx-1">
79 <i class="fab fa-twitter"></i>
80 </button>
81
82 <button type="button" class="btn btn-link btn-floating mx-1">
83 <i class="fab fa-github"></i>
84 </button>
85 </div>
86 </div>
87 </div>
88 </div>
89 </div>
90 </div>
91</div>
92<script>
93</script>
94<!-- Jumbotron -->
95<!-- MDB -->
96<script
97 type="text/javascript"
98 src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.js"
99></script>
100</body>
101</html>
Note: See TracBrowser for help on using the repository browser.