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