diff options
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 |