source: source/freeparkingspace/src/main/resources/templates/register.html@ 31d67c0

Last change on this file since 31d67c0 was 31d67c0, checked in by zlatko2810 <zlatko.stojanovski@…>, 2 years ago

proekt

  • Property mode set to 100644
File size: 8.7 KB
Line 
1
2<!DOCTYPE html>
3<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
4<head>
5 <base href="${pageContext.request.contextPath}">
6 <meta charset="utf-8">
7 <meta http-equiv="X-UA-Compatible" content="IE=edge">
8 <title>РЕГИСТРАЦИЈА!</title>
9 <meta name="description" content="">
10 <meta name="viewport" content="width=device-width, initial-scale=1">
11 <style>
12 @import url('https://fonts.googleapis.com/css?family=Montserrat:500');
13 @import url('https://fonts.googleapis.com/css2?family=Crete+Round&family=Roboto:ital,wght@0,900;1,900&display=swap');
14
15 :root {
16 --shadow-color: #FF9E9E;
17 --shadow-color-light: white;
18 }
19
20 .navbar {
21 max-width: 100%;
22 height: 100%;
23 background: rgba(0,0,0,0.25);
24 }
25
26 header {
27 display: flex;
28 justify-content: center;
29 align-items: center;
30 padding: 30px 10%;
31 max-width: 100%;
32 height: 10%;
33 background-color: rgb(0, 0, 0, 0.25);
34 border: none;
35 }
36
37 table{
38 color: white;
39 font-size: 0.3rem;
40 background: rgba(255,255,255,0.05);
41 }
42
43 img {
44 width: 120px;
45 height: 120px;
46 }
47 html{
48 text-align: center;
49 }
50 body {
51 padding: 0;
52 margin: 0;
53 max-width: 100%;
54 background-image: url('../images/background2.jpg');
55 object-fit: cover;
56 height: 100vh;
57 background-size: cover;
58 background-repeat:repeat;
59 text-align: center;
60 }
61
62
63 li,
64 a:not(.btn) {
65 font-family: "Montserrat", sans-serif;
66 font-weight: 500;
67 font-size: 1.2rem;
68 text-decoration: none;
69 color: white;
70 padding: 10%;
71 list-style: none;
72 }
73
74 h1{
75 font-family: 'Roboto', sans-serif;
76 font-width: 900;
77 font-size: 4rem;
78
79 }
80
81 .right {
82 display: flex;
83 align-items: center;
84 justify-content: center;
85 background-color: rgb(0, 225, 255, 0.05);
86 border-radius: 10%;
87 flex-direction: row;
88 margin-left: 25%;
89 width: 17%;
90 height: 2%;
91 }
92
93 .right a {
94 margin: -5px;
95 }
96 .navbar{
97 max-width: 100%;
98 height: 100vh;
99 }
100
101 .reg {
102 color: rgb(255, 0, 0);
103 }
104
105 ul {
106 display: flex;
107 flex-direction: row;
108 }
109
110
111
112 .reg:hover {
113 color: white;
114 }
115 .container-main{
116 display: flex;
117 flex-direction: column;
118 align-items: center;
119 justify-content: center;
120 width: 100%;
121 height: 100%;
122 font-size: 3rem;
123 margin: 0 0 30% 105%;
124 }
125 P{
126 font-family: "Montserrat", sans-serif;
127 font-weight: 500;
128 font-size: 4rem;
129 text-decoration: none;
130 color: white;
131 width: 80%;
132 list-style: none;
133 margin-top: -2%;
134 }
135
136 .glow{
137 text-transform: uppercase;
138 height: auto;
139 text-align: center;
140 }
141
142 .glow {
143 color: white;
144 animation: neon 3s infinite;
145 }
146
147 .h1Combined{
148 display: flex;
149 flex-direction: row;
150 align-items: center;
151 justify-content: center;
152 max-width: 100%;
153 }
154
155 @keyframes neon {
156 0% {
157 text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
158 0 0 3px var(--shadow-color-light), 0 0 10px var(--shadow-color-light), 0 0 20px var(--shadow-color-light),
159 0 0 30px var(--shadow-color), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 70px var(--shadow-color), 0 0 100px var(--shadow-color), 0 0 200px var(--shadow-color);
160 }
161 50% {
162 text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
163 0 0 5px var(--shadow-color-light), 0 0 15px var(--shadow-color-light), 0 0 25px var(--shadow-color-light),
164 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 60px var(--shadow-color), 0 0 80px var(--shadow-color), 0 0 110px var(--shadow-color), 0 0 210px var(--shadow-color);
165 }
166 100% {
167 text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
168 0 0 3px var(--shadow-color-light), 0 0 10px var(--shadow-color-light), 0 0 20px var(--shadow-color-light),
169 0 0 30px var(--shadow-color), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 70px var(--shadow-color), 0 0 100px var(--shadow-color), 0 0 200px var(--shadow-color);
170 }
171 }
172
173 .btn{
174 text-shadow: -1px -1px 10px rgba(255,255,255,0.5);
175 border: 1px solid #b70000;
176 color: white;
177 font-size: 2rem;
178 border:none;
179 background: #af0101;
180 padding: 0.5rem 1.3rem;
181 border-radius: 10%;
182 cursor: pointer;
183 transition: 1s ease;
184 display:block;
185 box-shadow: 3px 2px 10px #d50101,
186 -1px -1px 1px #e60000;
187 font-family: 'Roboto', sans-serif;
188 font-weight: 500;
189 text-decoration: none;
190 transition: infinite 1s ease;
191 }
192 input{
193 font-size: 1.5rem;
194 }
195
196 .btn:hover{
197 background-color: #58ACFA;
198 color: white;
199 }
200
201 .btn2{
202 text-shadow: -1px -1px 10px rgba(255,255,255,0.5);
203 border: 1px solid #b70000;
204 color: white;
205 font-size: 1.5rem;
206 border:none;
207 background: #af0101;
208 padding: 0.5rem 1.3rem;
209 border-radius: 10%;
210 cursor: pointer;
211 transition: 1s ease;
212 display:block;
213 box-shadow: 3px 2px 10px #d50101,
214 -1px -1px 1px #e60000;
215 font-family: 'Roboto', sans-serif;
216 font-weight: 500;
217 text-decoration: none;
218 transition: infinite 1s ease;
219 }
220
221 .btn2:hover{
222 background-color: #58ACFA;
223 color: white;
224 }
225
226
227 </style>
228</head>
229
230<body>
231<div class="navbar">
232 <!-- <header th:replace="fragments/header.html">-->
233 <!-- </header>-->
234 <main>
235 <div class="container-main">
236 <div class="h1Combined">
237 <h1 style="color:white">FreeParking <h1 style="color:red">Space</h1></h1>
238 </div>
239 <div class="container" xmlns:th="http://www.w3.org/1999/xhtml" >
240 <h1 th:if="${hasError}" th:text="${error}"></h1>
241 </div>
242 <div class="container" style="background-color: rgba(0,0,0,0.5);margin-top: 3%; ">
243 <h2 class="form-signin-heading" style="margin-bot: 15%;color:white;">Регистрација на Корисник</h2>
244 <form class="form-signin mt-xl-5" method="post" action="/register">
245
246 <p>
247 <label for="ime" class="sr-only">Име</label>
248 <input type="text" id="ime" name="ime" class="form-control" placeholder="Име" required=""
249 autofocus="" style="margin-bottom: 5%;margin-left:10%">
250 </p>
251 <p>
252 <label for="prezime" class="sr-only">Презиме</label>
253 <input type="text" id="prezime" name="prezime" class="form-control" placeholder="Презиме"
254 required="" style="margin-bottom: 5%;margin-left:10%">
255 </p>
256 <p>
257 <label for="korisnicko_ime" class="sr-only">Корисничко Име</label>
258 <input type="text" id="korisnicko_ime" name="korisnicko_ime" class="form-control"
259 placeholder="Username" required="" style="margin-bottom: 5%;margin-left:10%">
260 </p>
261
262 <p>
263 <label for="embg" class="sr-only">EMBG</label>
264 <input type="text" id="embg" name="embg" class="form-control"
265 placeholder="EMBG" required="" style="margin-bottom: 5%;margin-left:10%">
266 </p>
267
268 <p>
269 <label for="email" class="sr-only">E-mail</label>
270 <input type="text" id="email" name="email" class="form-control" placeholder="E-mail" required="" autofocus="" style="margin-bottom: 5%;margin-left:10%">
271 </p>
272
273 <p>
274 <label for="br_tel" class="sr-only">Телефонски Број</label>
275 <input type="text" id="br_tel" name="br_tel" class="form-control" placeholder="Phone Number" required="" autofocus="" style="margin-bottom: 5%;margin-left:10%">
276 </p>
277
278 <p>
279 <label for="password" class="sr-only">Лозинка</label>
280 <input type="text" id="password" name="password" class="form-control" placeholder="Password" required="" autofocus="" style="margin-bottom: 5%;margin-left:10%">
281 </p>
282 <button class="btn btn-lg btn-primary btn-block" type="submit">Sign up</button>
283 </form>
284 <button href="/login" class="btn btn-block btn-light">Already have an account? Login here!</button>
285 </div>
286 </div>
287 </main>
288 <!--<footer th:replace="fragments/footer"/>-->
289</div>
290</body>
291</html>
Note: See TracBrowser for help on using the repository browser.