Last change
on this file since 3965aed was 3965aed, checked in by lepaSi <86915414+lepaSi@…>, 16 months ago |
Init
|
-
Property mode
set to
100644
|
File size:
1.9 KB
|
Rev | Line | |
---|
[3965aed] | 1 | <!DOCTYPE html>
|
---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
|
---|
| 3 | <head>
|
---|
| 4 | <meta charset="UTF-8">
|
---|
| 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 |
|
---|
| 11 | <style>
|
---|
| 12 | body{
|
---|
| 13 | background: #FFDAB9;
|
---|
| 14 |
|
---|
| 15 | font-family: "Comic Sans MS", cursive;
|
---|
| 16 | }
|
---|
| 17 | </style>
|
---|
| 18 | </head>
|
---|
| 19 | <body>
|
---|
| 20 | <div class="container">
|
---|
| 21 | <form class="form-signin mt-xl-5" method="post" th:action="@{/login}" th:object="${user}">
|
---|
| 22 | <h2 class="form-signin-heading">Sign in</h2>
|
---|
| 23 | <p>
|
---|
| 24 | <label for="Role" >Role</label>
|
---|
| 25 | <select th:field="*{role}" id="Role" >
|
---|
| 26 | <option th:value="'KLIENT'" th:text="KLIENT"></option>
|
---|
| 27 | <option th:value="'VRABOTEN'" th:text="VRABOTEN"></option>
|
---|
| 28 | </select>
|
---|
| 29 | </p>
|
---|
| 30 | <p>
|
---|
| 31 | <label for="EMBG">EMBG</label>
|
---|
| 32 | <input type="text" th:field="*{EMBG}" id="EMBG" name="EMBG" class="form-control" placeholder="EMBG" required="" autofocus="">
|
---|
| 33 | </p>
|
---|
| 34 |
|
---|
| 35 | <div th:if="${hasError}">
|
---|
| 36 | <div th:text="${error}" class="text-danger"></div>
|
---|
| 37 | </div>
|
---|
| 38 |
|
---|
| 39 | <button id="submit" class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
|
---|
| 40 | </form>
|
---|
| 41 | <a href="/register" class="btn btn-block btn-light">Register here</a>
|
---|
| 42 | </div>
|
---|
| 43 | </body>
|
---|
| 44 | </html> |
---|
Note:
See
TracBrowser
for help on using the repository browser.