source: src/main/resources/templates/register.html@ b3f2adb

Last change on this file since b3f2adb was b3f2adb, checked in by Aleksandar Siljanoski <acewow3@…>, 14 months ago

Adding project to repo

  • Property mode set to 100644
File size: 4.6 KB
RevLine 
[b3f2adb]1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <title>Title</title>
6 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
7
8 <style>
9
10 .width1 {
11 width: 27rem;
12 background: #f3f3f3;
13 border-radius: 7px;
14 padding: 1rem;
15 margin-top: 5vh;
16 }
17
18 body {
19 background-color: rgb(24, 25, 26);
20 color: white;
21 min-height: 100vh;
22 display: flex;
23 flex-direction: column;
24 }
25
26 a {
27 text-decoration: none;
28 }
29
30 footer {
31 margin-top: auto;
32 padding: 15px 0;
33 color: white;
34 background: #262626;
35 }
36
37 footer li {
38 float: left;
39 padding: 0 10px;
40 list-style: none;
41 }
42
43 footer a {
44 color: white;
45 }
46
47 footer p {
48 float: right;
49 }
50
51 .linkovi {
52 text-decoration: none;
53 color: white;
54 padding: 0 10px;
55 }
56
57 .lists {
58 list-style-type: none;
59 }
60
61 .bttns {
62 color: white;
63 }
64
65 </style>
66
67</head>
68<body>
69
70<nav class="navbar navbar-expand-sm navbar-dark bg-dark">
71 <div class="container-fluid">
72 <a class="navbar-brand" href="/">Eaty's</a>
73 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#mynavbar">
74 <span class="navbar-toggler-icon"></span>
75 </button>
76 <div class="collapse navbar-collapse" id="mynavbar">
77 <ul class="navbar-nav me-auto">
78 <li class="nav-item">
79 <a class="nav-link" href="/menija">Менија</a>
80 </li>
81 <li class="nav-item">
82 <a class="nav-link" href="/obroci">Оброци</a>
83 </li>
84 </ul>
85 <form class="d-flex">
86 <li class="lists"><a class="linkovi" sec:authorize="!isAuthenticated()" href="/login">Логин</a></li>
87 </form>
88 </div>
89 </div>
90</nav>
91
92<div class="container">
93 <h1 th:if="${hasError}" th:text="${error}"></h1>
94</div>
95<div class="container">
96 <div class="d-flex text-center justify-content-center">
97 <div class="width1 bg-dark" >
98 <form class="form-signin mt-xl-5" method="post" action="/register">
99 <h2 class="form-signin-heading">Регистрација</h2>
100 <br>
101 <p>
102 <label for="ime" class="sr-only">Корисничко име:</label>
103 <input type="text" id="ime" name="ime" class="form-control" placeholder="Username" required=""
104 autofocus="">
105 </p>
106 <p>
107 <label for="prezime" class="sr-only">Потврдете корисничко име:</label>
108 <input type="text" id="prezime" name="prezime" class="form-control" placeholder="Confirm Username" required=""
109 autofocus="">
110 </p>
111 <p>
112 <label for="password" class="sr-only">Лозинка:</label>
113 <input type="password" id="password" name="password" class="form-control"
114 placeholder="Password" required="">
115 </p>
116 <p>
117 <label for="repeatedPassword" class="sr-only">Потврдете лозинка:</label>
118 <input type="password" id="repeatedPassword" name="repeatedPassword" class="form-control"
119 placeholder="Confirm Password" required="">
120 </p>
121 <button class="btn btn-lg btn-block bttns" type="submit">Потврда</button>
122 </form>
123 <a href="/login" class="btn btn-block bttns">Веќе имате профил? Логирајте се тука!</a>
124 </div>
125 </div>
126</div>
127
128<footer>
129 <div class="container">
130 <div class="row">
131 <div class="col-md-12">
132 <ul>
133 <li><a href="/">За Нас</a></li>
134 <li><a href="/">ЧПП</a></li>
135 <li><a href="/">Контакт</a></li>
136 <li><a href="/"></a></li>
137 <p>&copy; Сите права задржани. <a href="/">Eaty's Скопје</a></p>
138 </ul>
139 </div>
140 </div>
141 </div>
142</footer>
143
144</body>
145</html>
Note: See TracBrowser for help on using the repository browser.