diff options
author | Alexander Alexeev | 2016-11-23 16:19:26 +0700 |
---|---|---|
committer | Vitaly Takmazov | 2016-11-23 13:03:09 +0300 |
commit | e7fd58f1023ce9e1c9ab880bf27c5c0b2a3cffca (patch) | |
tree | 5ce36019dffc5f6eb4f71756a9f91068d5efbd54 /juick-spring-www/src/main/webapp/WEB-INF/templates/userNotFound.html | |
parent | 37a171892ba11c578ea947103ee7488801785eac (diff) |
thymeleaf layout plugin used
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/userNotFound.html')
-rw-r--r-- | juick-spring-www/src/main/webapp/WEB-INF/templates/userNotFound.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/userNotFound.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/userNotFound.html index 300b7730..de1a97a0 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/userNotFound.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/userNotFound.html @@ -1,22 +1,22 @@ <!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.userNotFound}">Пользователь не найден</title> - <link rel="stylesheet" type="text/css" href="/style.css" th:href="@{/style.css}"/> </head> - <body> +<section layout:fragment="content"> + <div id="pagetitle"> + <h1 th:text="#{error.userNotFound}">Пользователь не найден</h1> + </div> -<div id="pagetitle"> - <h1 th:text="#{error.userNotFound}">Пользователь не найден</h1> -</div> - -<div id="wrapper"> - <p th:text="#{errors.userNotFound.extended(${userName})}">Пользователь не найден.</p> -</div> -<div> - <a th:href="@{/}" href="/"><span th:text="#{return.toMain}">Вернуться на главную</span></a> -</div> + <div id="wrapper"> + <p th:text="#{errors.userNotFound.extended(${userName})}">Пользователь не найден.</p> + </div> + <div> + <a th:href="@{/}" href="/"><span th:text="#{link.returnToMain}">Вернуться на главную</span></a> + </div> +</section> </body> </html>
\ No newline at end of file |