source: src/main/resources/templates/login.html@ 5577566

Last change on this file since 5577566 was 5577566, checked in by NikolaCenevski <cenevskinikola@…>, 3 years ago

prototip part 2

  • Property mode set to 100644
File size: 1.5 KB
Line 
1<!DOCTYPE html>
2<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml" xmlns:sec="http://www.w3.org/1999/xhtml">
3<head>
4 <meta charset="UTF-8"/>
5 <meta name="viewport" content="width=device-width, initial-scale=1"/>
6 <title>Login</title>
7 <!-- Bootstrap core CSS -->
8 <link href="css/bootstrap.min.css" rel="stylesheet"/>
9 <link href="css/login.css" rel="stylesheet"/>
10 <meta name="theme-color" content="#7952b3"/>
11</head>
12<body class="text-center">
13<header th:replace="common/navbar :: navbar"></header>
14<main class="form-signin">
15 <form th:action="@{/login}" method="post">
16 <h1 class="h3 mb-3 fw-normal">Please sign in</h1>
17
18 <div class="form-floating">
19 <input type="email" class="form-control" id="floatingInput" placeholder="name@example.com" name="username" required>
20 <label for="floatingInput">Email address</label>
21 </div>
22 <div class="form-floating">
23 <input type="password" class="form-control" id="floatingPassword" placeholder="Password" name="password" required>
24 <label for="floatingPassword">Password</label>
25 </div>
26
27 <button class="w-100 btn btn-lg btn-primary" type="submit">Sign in</button>
28 </form>
29 <p th:if="${param.error != null}" class="text-danger">Incorrect username or password</p>
30 <p th:if="${successValidation}" class="text-success">Account validated</p>
31 <p th:if="${error}" class="text-danger">Account token expired or does not exist</p>
32</main>
33<script src="/js/bootstrap.min.js"></script>
34</body>
35</html>
Note: See TracBrowser for help on using the repository browser.