Revize 8766d436
Přidáno uživatelem Jan Čarnogurský před téměř 5 roky(ů)
src/main/webapp/WEB-INF/templates/login.html | ||
---|---|---|
1 |
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml"><head> |
|
2 |
<meta charset="utf-8"> |
|
3 |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
|
4 |
<meta name="description" content=""> |
|
5 |
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> |
|
6 |
<meta name="generator" content="Jekyll v3.8.6"> |
|
7 |
<title>Log in</title> |
|
8 |
<link rel="canonical" href="https://getbootstrap.com/docs/4.4/examples/album/"> |
|
9 |
|
|
10 |
<!-- Bootstrap core CSS --> |
|
11 |
<link href="css/bootstrap.min.css" rel="stylesheet"> |
|
12 |
|
|
13 |
<link href="css/bootstrap-select.min.css" rel="stylesheet"> |
|
14 |
<link href="css/fontawesome.min.css" rel="stylesheet"> |
|
15 |
<link href="css/style.css" rel="stylesheet"> |
|
16 |
|
|
17 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> |
|
18 |
<script type="text/javascript" src="js/bootstrap.min.js"></script> |
|
19 |
</head> |
|
20 |
<body> |
|
21 |
|
|
22 |
<main role="main"> |
|
23 |
|
|
24 |
<div class="container"> |
|
25 |
<h1> |
|
26 |
Přihlášení |
|
27 |
</h1> |
|
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" class="form-control"/></td> |
|
23 |
</tr> |
|
24 |
<tr> |
|
25 |
<td>Heslo:</td> |
|
26 |
<td><input type="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> |
|
28 | 34 |
</div> |
29 |
|
|
30 |
<div class="container box "> |
|
31 |
|
|
32 |
<p th:if="${param.error}" class="error">Wrong user or password!</p> |
|
33 |
|
|
34 |
<form th:action="@{/login}" method="post" |
|
35 |
xmlns:th="http://www.w3.org/1999/xhtml"> |
|
36 |
<table> |
|
37 |
<tr> |
|
38 |
<td>Přihlašovací jméno:</td> |
|
39 |
<td><input type="text" class="form-control"/></td> |
|
40 |
</tr> |
|
41 |
<tr> |
|
42 |
<td>Heslo:</td> |
|
43 |
<td><input type="password" class="form-control"/></td> |
|
44 |
</tr> |
|
45 |
<tr> |
|
46 |
<td><button class="btn-primary btn" type="submit">Přihlásit</button></td> |
|
47 |
</tr> |
|
48 |
</table> |
|
49 |
</form> |
|
50 |
</div> |
|
51 |
|
|
52 |
|
|
53 |
</main> |
|
54 |
|
|
55 |
<footer class="text-muted"> |
|
56 |
<div class="container"> |
|
57 |
|
|
58 |
</div> |
|
59 |
</footer> |
|
60 |
|
|
61 |
</body> |
|
62 | 35 |
</html> |
Také k dispozici: Unified diff
re #7975 - added flash message style, create one layout for all templates, refactoring