diff options
author | Alexander Alexeev | 2016-11-22 03:11:22 +0700 |
---|---|---|
committer | Vitaly Takmazov | 2016-11-23 13:03:06 +0300 |
commit | c3e73de64fb28f72cad4f92bc2a82935e4f4b7ee (patch) | |
tree | 9cd926f29ddd159bda9c763b086a4b5f642b850d /juick-spring-www/src/main/webapp/WEB-INF | |
parent | 771c27021c033f5b6b9a3d9fdcd4048f9d8023af (diff) |
user not found page, post not found page
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF')
6 files changed, 61 insertions, 2 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/divideByZero.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/divideByZero.html new file mode 100644 index 00000000..7e03d74a --- /dev/null +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/divideByZero.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html xmlns:th="http://www.thymeleaf.org"> +<head> + <meta charset="UTF-8"> + <title>Title</title> +</head> +<body> +00000000000000000000000000000000000000000000000000000000000000000000000 + +</body> +</html>
\ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/index.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/index.html index 566549bd..a5c5b348 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/index.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/index.html @@ -1,10 +1,11 @@ <!DOCTYPE html> -<html lang="en"> +<html xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> +<h1>Index page</h1> </body> </html>
\ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/footer.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/footer.html index e69de29b..1182e61d 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/footer.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/footer.html @@ -0,0 +1,3 @@ +<!DOCTYPE html> +<html xmlns:th="http://www.thymeleaf.org"> +</html>
\ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/mainLayout.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/mainLayout.html index 91a76f72..659a3fb0 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/mainLayout.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/mainLayout.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html> +<html xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 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 new file mode 100644 index 00000000..c8712c9f --- /dev/null +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/postNotFound.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html xmlns:th="http://www.thymeleaf.org"> +<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> + +<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> +</body> +</html>
\ No newline at end of file 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 new file mode 100644 index 00000000..300b7730 --- /dev/null +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/userNotFound.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html xmlns:th="http://www.thymeleaf.org"> +<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> + +<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> +</body> +</html>
\ No newline at end of file |