diff options
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 000000000..7e03d74a1 --- /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 566549bdf..a5c5b3484 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 e69de29bb..1182e61d0 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 91a76f723..659a3fb06 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 000000000..c8712c9f4 --- /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 000000000..300b77301 --- /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 |