aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/webapp/WEB-INF/templates/postNotFound.html
diff options
context:
space:
mode:
authorGravatar Alexander Alexeev2016-11-23 16:19:26 +0700
committerGravatar Vitaly Takmazov2016-11-23 13:03:09 +0300
commite7fd58f1023ce9e1c9ab880bf27c5c0b2a3cffca (patch)
tree5ce36019dffc5f6eb4f71756a9f91068d5efbd54 /juick-spring-www/src/main/webapp/WEB-INF/templates/postNotFound.html
parent37a171892ba11c578ea947103ee7488801785eac (diff)
thymeleaf layout plugin used
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/postNotFound.html')
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/postNotFound.html27
1 files changed, 14 insertions, 13 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/postNotFound.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/postNotFound.html
index c8712c9f..4162aa8b 100644
--- a/juick-spring-www/src/main/webapp/WEB-INF/templates/postNotFound.html
+++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/postNotFound.html
@@ -1,22 +1,23 @@
<!DOCTYPE html>
-<html xmlns:th="http://www.thymeleaf.org">
+<html xmlns:th="http://www.thymeleaf.org"
+ xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
+ layout:decorate="~{layout/mainLayout}">
<head>
- <meta charset="UTF-8">
<title th:text="#{error.pageNotFound}">Страница не найдена</title>
- <link rel="stylesheet" type="text/css" href="/style.css" th:href="@{/style.css}"/>
</head>
-
<body>
-<div id="pagetitle">
- <h1 th:text="#{error.pageNotFound}">Страница не найдена</h1>
-</div>
+<section layout:fragment="content">
+ <div id="pagetitle">
+ <h1 th:text="#{error.pageNotFound}">Страница не найдена</h1>
+ </div>
-<div id="wrapper">
- <p th:text="#{errors.pageNotFound.extended(${messageId})}">Похоже, пользователь удалил страницу, возможна она и не была создана.</p>
-</div>
-<div>
- <a th:href="@{/}" href="/"><span th:text="#{return.toMain}">Вернуться на главную</span></a>
-</div>
+ <div id="wrapper">
+ <p th:text="#{errors.pageNotFound.extended(${messageId})}">Похоже, пользователь удалил страницу, возможна она и не была создана.</p>
+ </div>
+ <div>
+ <a th:href="@{/}" href="/"><span th:text="#{link.returnToMain}">Вернуться на главную</span></a>
+ </div>
+</section>
</body>
</html> \ No newline at end of file