1 | <!DOCTYPE html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <meta charset="UTF-8">
|
---|
5 | <title>Register customer</title>
|
---|
6 |
|
---|
7 | <meta charset="utf-8"/>
|
---|
8 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
---|
9 |
|
---|
10 | <!-- Font Awesome -->
|
---|
11 | <link
|
---|
12 | href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
|
---|
13 | rel="stylesheet"
|
---|
14 | />
|
---|
15 | <!-- Google Fonts -->
|
---|
16 | <link
|
---|
17 | href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
|
---|
18 | rel="stylesheet"
|
---|
19 | />
|
---|
20 | <!-- MDB -->
|
---|
21 | <link
|
---|
22 | href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.css"
|
---|
23 | rel="stylesheet"
|
---|
24 | />
|
---|
25 |
|
---|
26 | <link rel="stylesheet" href="css/register.css">
|
---|
27 | </head>
|
---|
28 | <body>
|
---|
29 | <!-- Jumbotron -->
|
---|
30 | <div class="px-4 py-5 px-md-5 text-center text-lg-start" style="background-color: hsl(0, 0%, 96%); height: 100vh;">
|
---|
31 | <div class="container">
|
---|
32 | <div class="row gx-lg-5 align-items-center">
|
---|
33 | <div class="col-lg-6 mb-5 mb-lg-0">
|
---|
34 | <h1 class="my-5 display-3 fw-bold ls-tight">
|
---|
35 | Register as <br />
|
---|
36 | <span class="text-primary">a customer</span>
|
---|
37 | </h1>
|
---|
38 | <p style="color: hsl(217, 10%, 50.8%)">
|
---|
39 | Find the best deals in town.
|
---|
40 | </p>
|
---|
41 | </div>
|
---|
42 |
|
---|
43 | <div class="col-lg-6 mb-5 mb-lg-0">
|
---|
44 | <div class="card">
|
---|
45 | <div class="card-body py-5 px-md-5">
|
---|
46 | <form action="#" th:action="@{/register_customer}" th:object="${stakeholder}" method="post">
|
---|
47 | <!-- 2 column grid layout with text inputs for the first and last names -->
|
---|
48 | <div class="row">
|
---|
49 | <div class="col-md-6 mb-4">
|
---|
50 | <div class="form-outline">
|
---|
51 | <input type="text" id="firstname" class="form-control" required th:field="*{firstName}" />
|
---|
52 | <label class="form-label" for="firstname">First name</label>
|
---|
53 | </div>
|
---|
54 | </div>
|
---|
55 | <div class="col-md-6 mb-4">
|
---|
56 | <div class="form-outline">
|
---|
57 | <input type="text" id="lastname" class="form-control" required th:field="*{lastName}" />
|
---|
58 | <label class="form-label" for="lastname">Last name</label>
|
---|
59 | </div>
|
---|
60 | </div>
|
---|
61 | </div>
|
---|
62 |
|
---|
63 | <!-- Username input -->
|
---|
64 | <div class="form-outline mb-4">
|
---|
65 | <input type="text" id="username" class="form-control" required th:field="*{username}" />
|
---|
66 | <label class="form-label" for="username">Username</label>
|
---|
67 | </div>
|
---|
68 |
|
---|
69 | <!-- Phone number input -->
|
---|
70 | <div class="form-outline mb-4">
|
---|
71 | <input type="number" id="phoneNumber" class="form-control" required th:field="*{phoneNumber}" />
|
---|
72 | <label class="form-label" for="phoneNumber">Phone Number</label>
|
---|
73 | </div>
|
---|
74 |
|
---|
75 | <!-- Email input -->
|
---|
76 | <div class="form-outline mb-4">
|
---|
77 | <input type="email" id="email" class="form-control" required th:field="*{email}" />
|
---|
78 | <label class="form-label" for="email">Email address</label>
|
---|
79 | </div>
|
---|
80 |
|
---|
81 | <!-- Password input -->
|
---|
82 | <div class="form-outline mb-4">
|
---|
83 | <input type="password" id="password" class="form-control" required th:field="*{password}" />
|
---|
84 | <label class="form-label" for="password">Password</label>
|
---|
85 | </div>
|
---|
86 |
|
---|
87 | <!-- Submit button -->
|
---|
88 | <button type="submit" class="btn btn-primary btn-block mb-4">
|
---|
89 | Register
|
---|
90 | </button>
|
---|
91 |
|
---|
92 | <div class="text-center">
|
---|
93 | <p>Already have an account? <a href="/login" class="link-primary">Login</a></p>
|
---|
94 | </div>
|
---|
95 |
|
---|
96 | <!-- Register buttons -->
|
---|
97 | <div class="text-center">
|
---|
98 | <p>or sign up with:</p>
|
---|
99 | <button type="button" class="btn btn-link btn-floating mx-1">
|
---|
100 | <i class="fab fa-facebook-f"></i>
|
---|
101 | </button>
|
---|
102 |
|
---|
103 | <button type="button" class="btn btn-link btn-floating mx-1">
|
---|
104 | <i class="fab fa-google"></i>
|
---|
105 | </button>
|
---|
106 |
|
---|
107 | <button type="button" class="btn btn-link btn-floating mx-1">
|
---|
108 | <i class="fab fa-twitter"></i>
|
---|
109 | </button>
|
---|
110 |
|
---|
111 | <button type="button" class="btn btn-link btn-floating mx-1">
|
---|
112 | <i class="fab fa-github"></i>
|
---|
113 | </button>
|
---|
114 | </div>
|
---|
115 | </form>
|
---|
116 | </div>
|
---|
117 | </div>
|
---|
118 | </div>
|
---|
119 | </div>
|
---|
120 | </div>
|
---|
121 | </div>
|
---|
122 | <script
|
---|
123 | type="text/javascript"
|
---|
124 | src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.js"
|
---|
125 | ></script>
|
---|
126 |
|
---|
127 | </body>
|
---|
128 | </html> |
---|