From: Kai Moritz <kai@juplo.de> Date: Mon, 4 Jul 2016 15:16:27 +0000 (+0200) Subject: Fehlerseiten angepasst X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=fdf861a0cdc734bf35abc7e036e7f7e802a4a32b;p=website Fehlerseiten angepasst --- diff --git a/dist/thymeleaf/404.html b/dist/thymeleaf/404.html deleted file mode 100644 index 6c22532b..00000000 --- a/dist/thymeleaf/404.html +++ /dev/null @@ -1,14 +0,0 @@ -<!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml" xmlns:tiles="http://www.thymeleaf.org"> - <head> - <title tiles:fragment="title">404: Page not found</title> - </head> - <body> - <div tiles:fragment="content"> - <p>We do not know, where you are.</p> - <p>And we do not know, why you are here.</p> - <p>But we can tell you: WE ARE SORRY!</p> - <p>Really.</p> - </div> - </body> -</html> diff --git a/dist/thymeleaf/error.html b/dist/thymeleaf/error.html deleted file mode 100644 index a07dc238..00000000 --- a/dist/thymeleaf/error.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml" xmlns:tiles="http://www.thymeleaf.org"> - <head> - <title tiles:fragment="title">An unexpected Error occured!</title> - </head> - <body> - <div tiles:fragment="content"> - <p>We do not know, what happend.</p> - <p>But we can tell you: WE ARE SORRY!</p> - <p>Really.</p> - </div> - </body> -</html> diff --git a/dist/thymeleaf/templates/404.html b/dist/thymeleaf/templates/404.html new file mode 100644 index 00000000..77f149ad --- /dev/null +++ b/dist/thymeleaf/templates/404.html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<html + xmlns="http://www.w3.org/1999/xhtml" + xmlns:layout="http://www.thymeleaf.org" + layout:decorator="templates/layout" + th:with="uri='/templates/404.html', contentclass='nomenu'" + > + <head> + <title>404: Page Not Found!</title> + <link rel="stylesheet" type="text/css" href="../css/base.min.css"/> + <style type="text/css"> + @import '../css/screen.min.css' screen; + @import '../css/print.min.css' print; + </style> + </head> + <body> + <ol layout:fragment="breadcrumb"> + <li class="b"><strong class="b">404: Page Not Found!</strong></li> + </ol> + <nav layout:fragment="navigation"> + <hr class="n"/> + <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a> + <h1 class="nav">Navigation</h1> + <h2 class="nav menu">Section-Menu</h2> + <ul id="menu" class="cf"> + <li class="m blog"><a href="../blog.html" th:href="@{/blog.html}" class="m">Blog</a></li> + <li class="m projects"><a href="../projects" th:href="@{/projects.html}" class="m">Projects</a></li> + <li class="m about"><a href="../about.html" th:href="@{/about.html}" class="m">About</a></li> + </ul> + </nav> + <article class="main" layout:fragment="maincontent"> + <header><h1>404: Page Not Found!</h1></header> + <p>We do not know, where you are.</p> + <p>And we do not know, why you are here.</p> + <p>But we can tell you: WE ARE SORRY!</p> + <p>Really.</p> + </article> + </body> +</html> diff --git a/dist/thymeleaf/templates/error.html b/dist/thymeleaf/templates/error.html new file mode 100644 index 00000000..e5eea081 --- /dev/null +++ b/dist/thymeleaf/templates/error.html @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<html + xmlns="http://www.w3.org/1999/xhtml" + xmlns:layout="http://www.thymeleaf.org" + layout:decorator="templates/layout" + th:with="uri='/templates/error.html', contentclass='nomenu'" + > + <head> + <title>An Unexpected Error Occured!</title> + <link rel="stylesheet" type="text/css" href="../css/base.min.css"/> + <style type="text/css"> + @import '../css/screen.min.css' screen; + @import '../css/print.min.css' print; + </style> + </head> + <body> + <ol layout:fragment="breadcrumb"> + <li class="b"><strong class="b">An Unexpected Error Occured!</strong></li> + </ol> + <nav layout:fragment="navigation"> + <hr class="n"/> + <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a> + <h1 class="nav">Navigation</h1> + <h2 class="nav menu">Section-Menu</h2> + <ul id="menu" class="cf"> + <li class="m blog"><a href="../blog.html" th:href="@{/blog.html}" class="m">Blog</a></li> + <li class="m projects"><a href="../projects" th:href="@{/projects.html}" class="m">Projects</a></li> + <li class="m about"><a href="../about.html" th:href="@{/about.html}" class="m">About</a></li> + </ul> + </nav> + <article class="main" layout:fragment="maincontent"> + <header><h1>An Unexpected Error Occured!</h1></header> + <p>We do not know, what happend.</p> + <p>But we can tell you: WE ARE SORRY!</p> + <p>Really.</p> + </article> + </body> +</html>