1 | <!DOCTYPE html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <meta charset="UTF-8">
|
---|
5 | <title>Register Page</title>
|
---|
6 | <!-- Font Awesome -->
|
---|
7 | <link
|
---|
8 | href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
|
---|
9 | rel="stylesheet"
|
---|
10 | />
|
---|
11 | <!-- Google Fonts -->
|
---|
12 | <link
|
---|
13 | href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
|
---|
14 | rel="stylesheet"
|
---|
15 | />
|
---|
16 | <!-- MDB -->
|
---|
17 | <link
|
---|
18 | href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.css"
|
---|
19 | rel="stylesheet"
|
---|
20 | />
|
---|
21 | </head>
|
---|
22 | <body>
|
---|
23 |
|
---|
24 | <!-- Section: Design Block -->
|
---|
25 | <section class="text-center text-lg-start">
|
---|
26 | <style>
|
---|
27 | .cascading-right {
|
---|
28 | margin-right: -50px;
|
---|
29 | }
|
---|
30 |
|
---|
31 | @media (max-width: 991.98px) {
|
---|
32 | .cascading-right {
|
---|
33 | margin-right: 0;
|
---|
34 | }
|
---|
35 | }
|
---|
36 | </style>
|
---|
37 |
|
---|
38 | <!-- Jumbotron -->
|
---|
39 | <div class="container py-4">
|
---|
40 | <div class="row g-0 align-items-center">
|
---|
41 | <div class="col-lg-6 mb-5 mb-lg-0">
|
---|
42 | <div class="card cascading-right" style="
|
---|
43 | background: hsla(0, 0%, 100%, 0.55);
|
---|
44 | backdrop-filter: blur(30px);
|
---|
45 | ">
|
---|
46 | <div class="card-body p-5 shadow-5 text-center">
|
---|
47 | <h2 class="fw-bold mb-5">Sign up now</h2>
|
---|
48 | <form method="post" action="/register">
|
---|
49 | <!-- 2 column grid layout with text inputs for the first and last names -->
|
---|
50 | <div class="row">
|
---|
51 | <div class="col-md-6 mb-4">
|
---|
52 | <div class="form-outline">
|
---|
53 | <input type="text" id="form3Example1" class="form-control" name="name"/>
|
---|
54 | <label class="form-label" for="form3Example1">First name</label>
|
---|
55 | </div>
|
---|
56 | </div>
|
---|
57 | <div class="col-md-6 mb-4">
|
---|
58 | <div class="form-outline">
|
---|
59 | <input type="text" id="form3Example2" class="form-control" name="surname"/>
|
---|
60 | <label class="form-label" for="form3Example2">Last name</label>
|
---|
61 | </div>
|
---|
62 | </div>
|
---|
63 | </div>
|
---|
64 |
|
---|
65 |
|
---|
66 | <!-- Email input -->
|
---|
67 | <div class="form-outline mb-4">
|
---|
68 | <input type="text" id="form3Example3" class="form-control" name="number"/>
|
---|
69 | <label class="form-label" for="form3Example3">Phone Number</label>
|
---|
70 | </div>
|
---|
71 |
|
---|
72 | <!-- Email input -->
|
---|
73 | <div class="form-outline mb-4">
|
---|
74 | <input type="email" id="form3Example3" class="form-control" name="email"/>
|
---|
75 | <label class="form-label" for="form3Example3">Email address</label>
|
---|
76 | </div>
|
---|
77 |
|
---|
78 | <div class="form-outline mb-4">
|
---|
79 | <input type="text" id="form3Example3" class="form-control" name="username"/>
|
---|
80 | <label class="form-label" for="form3Example3">Username</label>
|
---|
81 | </div>
|
---|
82 |
|
---|
83 | <!-- Password input -->
|
---|
84 | <div class="form-outline mb-4">
|
---|
85 | <input type="password" id="form3Example4" class="form-control" name="password"/>
|
---|
86 | <label class="form-label" for="form3Example4">Password</label>
|
---|
87 | </div>
|
---|
88 |
|
---|
89 | <div class="form-check d-flex justify-content-center mb-4">
|
---|
90 | <#if email??>
|
---|
91 | <p>${email}</p>
|
---|
92 | </#if>
|
---|
93 | <#if username??>
|
---|
94 | <p>${username}</p>
|
---|
95 | </#if>
|
---|
96 | </div>
|
---|
97 |
|
---|
98 | <!-- Submit button -->
|
---|
99 | <button type="submit" class="btn btn-primary btn-block mb-4">
|
---|
100 | Sign up
|
---|
101 | </button>
|
---|
102 |
|
---|
103 | </form>
|
---|
104 | </div>
|
---|
105 | </div>
|
---|
106 | </div>
|
---|
107 |
|
---|
108 | <div class="col-lg-6 mb-5 mb-lg-13">
|
---|
109 | <img src="https://i.ibb.co/jk8FCT0/background.jpg" class="w-100 rounded-4 shadow-4"
|
---|
110 | alt="" />
|
---|
111 | </div>
|
---|
112 | </div>
|
---|
113 | </div>
|
---|
114 | <!-- Jumbotron -->
|
---|
115 | </section>
|
---|
116 | <!-- Section: Design Block -->
|
---|
117 |
|
---|
118 |
|
---|
119 |
|
---|
120 | <!-- MDB -->
|
---|
121 | <script
|
---|
122 | type="text/javascript"
|
---|
123 | src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.js"
|
---|
124 | ></script>
|
---|
125 |
|
---|
126 | </body>
|
---|
127 | </html> |
---|