diff options
author | Alexander Alexeev | 2016-12-12 22:41:10 +0700 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-12 22:49:47 +0300 |
commit | c0831038bd7bde32df5af8fb851d210daeccc853 (patch) | |
tree | 7a29aec0a4620e5d6b3cfd733f2219f09da6e5f6 /juick-spring-www/src/main/webapp/WEB-INF/templates/views/error.html | |
parent | 353bfb2556ab2288126e448668839cf8b8434fc1 (diff) |
i18n for pages
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/views/error.html')
-rw-r--r-- | juick-spring-www/src/main/webapp/WEB-INF/templates/views/error.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/error.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/error.html new file mode 100644 index 00000000..98ce70e4 --- /dev/null +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/error.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html xmlns:th="http://www.thymeleaf.org"> +<head> + <meta charset="UTF-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/> + + <link rel="stylesheet" href="/style.css" th:href="@{/style.css}"/> + + <script type="text/javascript" src="/scripts.js" th:href="@{/scripts.js}"></script> + + <link rel="icon" href="//i.juick.com/favicon.png"/> + <!--[if lt IE 9 & (!IEMobile 7)]> + <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script> + <![endif]--> + + <title th:text="#{error.title}">Error page</title> +</head> + +<body th:with="httpStatus=${T(org.springframework.http.HttpStatus).valueOf(#response.status)}"> + <h1 th:text="|${httpStatus} - ${httpStatus.reasonPhrase}|">404</h1> + + <p th:utext="${errorMessage}">Error java.lang.NullPointerException</p> + + <a href="/" th:href="@{/}" th:text="#{link.returnToMain}">Back to Home Page</a> +</body> +</html>
\ No newline at end of file |