aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/webapp/WEB-INF/templates
diff options
context:
space:
mode:
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates')
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/divideByZero.html11
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/index.html3
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/layout/footer.html3
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/layout/mainLayout.html2
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/postNotFound.html22
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/userNotFound.html22
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