Umstellung auf Thymeleaf: Schritt 3 - Versucht, das Projet umzustellen
[website] / src / main / webapp / WEB-INF / templates / html5page.jsp
index 0cbbdb4..5620fb2 100644 (file)
@@ -7,44 +7,41 @@
   <head>
     <title>juplo - <t:getAsString name="title"/></title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <base href="${pageContext.request.contextPath}/" />
-    <link rel="stylesheet" type="text/css" href="css/base.css"/>
+    <t:insertAttribute name="htmlhead"/>
   </head>
-  <body>
-    <header id="header">
-      <a href="/" title="Home" id="logo">juplo</a>
-      <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
-      <hr />
-    </header>
-    <div class="content cols_2 cf">
-      <section id="content" class="main">
-        <t:insertAttribute name="content"/>
-      </section>
-      <div class="marginal">
-        <nav id="nav">
-          <a id="navigation"></a>
-          <t:insertAttribute name="navigation"/>
-        </nav>
-        <div>
-          <h1>Other nasty but marginal stuff</h1>
-          <p>
-            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
-            eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
-            ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
-            aliquip ex ea commodo consequat. Duis aute irure dolor in
-            reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
-            pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
-            culpa qui officia deserunt mollit anim id est laborum.
-          </p>
-        </div>
+  <body id="top" class="<t:getAsString name="contentclass"/>" onload="prettyPrint()">
+    <div id="page" class="cf">
+      <header id="header">
+        <t:insertAttribute name="header"/>
+        <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
+        <hr class="h" />
+      </header>
+      <div id="breadcrumb">
+        <strong class="b title">You are here:</strong>
+        <ol class="b">
+          <t:insertAttribute name="breadcrumb"/>
+        </ol>
+        <a class="hide" href="#nav" title="Show navigation menu">Jump to navigation</a>
+        <hr class="b" />
       </div>
+      <main class="content cf">
+        <t:insertAttribute name="contentcontainer"/>
+        <div class="marginal">
+          <nav id="nav">
+            <hr class="n"/>
+            <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
+            <t:insertAttribute name="navigation"/>
+            <hr class="n"/>
+          </nav>
+          <t:insertAttribute name="marginalcontent" ignore="true"/>
+        </div>
+      </main>
+      <footer id="footer">
+        <hr class="f" />
+        <ul id="footerlinks">
+          <t:insertAttribute name="footer"/>
+        </ul>
+      </footer>
     </div>
-    <footer id="footer">
-      <ul id="footerlinks">
-        <li class="f" id="copyright">© <strong>mo</strong> 2013</li>
-        <li class="f"><a class="f" href="#f">Contact</a></li>
-        <li class="f"><a class="f" href="#f">Impressum</a></li>
-      </ul>
-    </footer>
   </body>
 </html>