Last change
on this file since bc0eeb4 was bc0eeb4, checked in by Evgenija2000 <eva_nikolaevska@…>, 2 years ago |
all files
|
-
Property mode
set to
100644
|
File size:
2.0 KB
|
Line | |
---|
1 | <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
|
---|
2 | <head>
|
---|
3 | <title>Login form</title>
|
---|
4 | <link href="/main.css" rel="stylesheet"/>
|
---|
5 | <title>Login</title>
|
---|
6 | <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
---|
7 | <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
---|
8 | <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
---|
9 | <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
---|
10 | </head>
|
---|
11 | <body>
|
---|
12 |
|
---|
13 | <form th:method="POST" th:action="@{/login}">
|
---|
14 | <div class="container">
|
---|
15 | <form class="form-signin mt-xl-5" method="post" action="/login">
|
---|
16 | <h2 class="form-signin-heading">Sign in</h2>
|
---|
17 | <p>
|
---|
18 | <label for="username" class="sr-only">Username</label>
|
---|
19 | <input type="text" id="username" name="username" class="form-control" placeholder="Username" required="" autofocus="">
|
---|
20 | </p>
|
---|
21 | <p>
|
---|
22 | <label for="userPassword" class="sr-only">Password</label>
|
---|
23 | <input type="password" id="userPassword" name="userPassword" class="form-control" placeholder="Password" required="">
|
---|
24 | </p>
|
---|
25 |
|
---|
26 |
|
---|
27 | <br/>
|
---|
28 |
|
---|
29 | </form>
|
---|
30 | <div th:if="${hasError}">
|
---|
31 | <div th:text="${error}" class="text-danger"></div>
|
---|
32 | </div>
|
---|
33 |
|
---|
34 | <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
|
---|
35 | </div>
|
---|
36 | <!-- <a href="/register" class="btn btn-block btn-light">Register here</a>-->
|
---|
37 | </form>
|
---|
38 | </body>
|
---|
39 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.