source: src/main/resources/templates/register_customer.html@ 950fa0d

Last change on this file since 950fa0d was 8bcd64c, checked in by Gjoko Kostadinov <gjoko.kostadinov@…>, 20 months ago

Add admin functionality and business admin functionality.

  • Property mode set to 100644
File size: 5.3 KB
RevLine 
[204464d]1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
[8bcd64c]5 <title>Register customer</title>
[a436340]6
7 <meta charset="utf-8"/>
8 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
[204464d]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 />
[a436340]25
[204464d]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 <!-- Email input -->
70 <div class="form-outline mb-4">
71 <input type="email" id="email" class="form-control" required th:field="*{email}" />
72 <label class="form-label" for="email">Email address</label>
73 </div>
74
75 <!-- Password input -->
76 <div class="form-outline mb-4">
77 <input type="password" id="password" class="form-control" required th:field="*{password}" />
78 <label class="form-label" for="password">Password</label>
79 </div>
80
81 <!-- Submit button -->
82 <button type="submit" class="btn btn-primary btn-block mb-4">
83 Register
84 </button>
85
86 <div class="text-center">
87 <p>Already have an account? <a href="/login" class="link-primary">Login</a></p>
88 </div>
89
90 <!-- Register buttons -->
91 <div class="text-center">
92 <p>or sign up with:</p>
93 <button type="button" class="btn btn-link btn-floating mx-1">
94 <i class="fab fa-facebook-f"></i>
95 </button>
96
97 <button type="button" class="btn btn-link btn-floating mx-1">
98 <i class="fab fa-google"></i>
99 </button>
100
101 <button type="button" class="btn btn-link btn-floating mx-1">
102 <i class="fab fa-twitter"></i>
103 </button>
104
105 <button type="button" class="btn btn-link btn-floating mx-1">
106 <i class="fab fa-github"></i>
107 </button>
108 </div>
109 </form>
110 </div>
111 </div>
112 </div>
113 </div>
114 </div>
115</div>
116<script
117 type="text/javascript"
118 src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.js"
119></script>
[a436340]120
[204464d]121</body>
122</html>
Note: See TracBrowser for help on using the repository browser.