Fehlerseiten angepasst
authorKai Moritz <kai@juplo.de>
Mon, 4 Jul 2016 15:16:27 +0000 (17:16 +0200)
committerKai Moritz <kai@juplo.de>
Wed, 28 Jun 2017 09:23:28 +0000 (11:23 +0200)
dist/thymeleaf/404.html [deleted file]
dist/thymeleaf/error.html [deleted file]
dist/thymeleaf/templates/404.html [new file with mode: 0644]
dist/thymeleaf/templates/error.html [new file with mode: 0644]

diff --git a/dist/thymeleaf/404.html b/dist/thymeleaf/404.html
deleted file mode 100644 (file)
index 6c22532..0000000
+++ /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 (file)
index a07dc23..0000000
+++ /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 (file)
index 0000000..77f149a
--- /dev/null
@@ -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 (file)
index 0000000..e5eea08
--- /dev/null
@@ -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>