1
|
<html xmlns:th="http://www.thymeleaf.org"
|
2
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
3
|
layout:decorator="~{/layouts/layout}">
|
4
|
<head>
|
5
|
<title>Login</title>
|
6
|
</head>
|
7
|
|
8
|
<div layout:fragment="content">
|
9
|
|
10
|
<div class="container">
|
11
|
<h1>
|
12
|
Přihlášení
|
13
|
</h1>
|
14
|
</div>
|
15
|
|
16
|
<div class="container box ">
|
17
|
|
18
|
<div th:if="${param.error}" >
|
19
|
<div class="alert alert-danger">
|
20
|
<span>Špatné jméno nebo heslo</span>
|
21
|
</div>
|
22
|
</div>
|
23
|
|
24
|
<form th:action="@{/login}" method="post"
|
25
|
xmlns:th="http://www.w3.org/1999/xhtml">
|
26
|
<table>
|
27
|
<tr>
|
28
|
<td>Přihlašovací jméno:</td>
|
29
|
<td><input type="text" name="username" id="username" class="form-control"/></td>
|
30
|
</tr>
|
31
|
<tr>
|
32
|
<td>Heslo:</td>
|
33
|
<td><input type="password" name="password" id="password" class="form-control"/></td>
|
34
|
</tr>
|
35
|
<tr>
|
36
|
<td><button class="btn-primary btn" type="submit">Přihlásit</button></td>
|
37
|
</tr>
|
38
|
</table>
|
39
|
</form>
|
40
|
</div>
|
41
|
</div>
|
42
|
</html>
|