An die Verwendung mit Thymeproxy angepasst
[website] / dist / thymeleaf / templates / layout.html
1 <!DOCTYPE html>
2 <html
3     xmlns="http://www.w3.org/1999/xhtml"
4     xmlns:th="http://www.thymeleaf.org"
5     xmlns:layout="http://www.thymeleaf.org"
6     juplo:variables="templates/variables"
7     >
8   <head th:fragment="head" layout:fragment="head">
9     <title layout:title-pattern="$DECORATOR_TITLE - $CONTENT_TITLE" th:text="'juplo'">juplo - BASISTEMPLATE</title>
10     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
11     <meta name="viewport" content="width=device-width, initial-scale=1" />
12     <link rel="stylesheet" type="text/css" href="../../css/base.min.css" th:href="@{/css/base.min.css}"/>
13     <style type="text/css" th:remove="all">
14       @import '../../css/screen.min.css' screen;
15       @import '../../css/print.min.css' print;
16     </style>
17     <style type="text/css" th:inline="text">
18       @import '[[@{/css/screen.min.css}]]' screen;
19       @import '[[@{/css/print.min.css}]]' print;
20     </style>
21     <script src="../../js/prettify.js" th:src="@{/js/prettify.js}"></script>
22     <!--[if lt IE 9]>
23       <script src="../../js/html5shiv.js" th:src="@{/js/html5shiv.js}"></script>
24     <![endif]-->
25     <!--[if IE 8]>
26       <link rel="stylesheet" type="text/css" href="../../css/ie8.min.css" th:href="@{/css/ie8.min.css}"/>
27     <![endif]-->
28   </head>
29   <body
30       th:with="crumbs=${crumbs.get(uri)}"
31       id="top"
32       class="menu"
33       th:class="${contentclass}?:'menu'"
34       onload="prettyPrint()"
35       >
36     <div id="page" class="cf">
37       <header id="header">
38         <h1 id="logo" layout:fragment="header"><a href="../index.html" th:href="@{/}" title="Home" class="l">juplo</a></h1>
39         <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
40         <hr class="h" />
41       </header>
42       <div id="breadcrumb">
43         <strong class="b title">You are here:</strong>
44         <ol class="b" layout:fragment="breadcrumb">
45           <li class="b"><a class="b" href="../../index.html" th:href="@{/index.html}">Home</a></li>
46           <li class="b" th:each="crumb: ${crumbs}">
47             <a class="b" href="../../projects.html" th:href="@{${crumb.uri}}" th:text="${crumb.name}">Projects</a>
48           </li>
49           <!--/*-->
50           <li class="b"><strong class="b" th:text="${title}"">Fix SWF</strong></li>
51           <!--*/-->
52         </ol>
53         <a class="hide" href="#nav" title="Show navigation menu">Jump to navigation</a>
54         <hr class="b" />
55       </div>
56       <main class="content cf">
57         <article id="content" class="main" layout:fragment="maincontent" th:class="'main'">
58           <header><h1 th:text="${title}">juplo - BASISTEMPLATE</h1></header>
59           <div th:fragment="maincontent">
60             <p>
61               <strong>Lorem ipsum</strong> dolor
62               <a href="../projects/typo.html" th:href="@{/projects/typo.html}">sit amet</a>,
63               consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
64               labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
65               <a href="#" th:href="@{/projects/html-experimente.html}">exercitation</a>
66               ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
67               irure dolor in reprehenderit in voluptate velit esse cillum dolore
68               eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
69               proident, sunt in culpa qui officia deserunt mollit anim id est
70               laborum.
71             </p>
72             <h2>Duis aute irure dolor</h2>
73             <ul>
74               <li>Operators and other mathematical stuff: -+/*</li>
75               <li>
76                 Characters offten used in programming languages:
77                 {(&lt;&gt;)}@$?%*#;:&amp;/\!^&#034;&#039;`~
78               </li>
79               <li>Special german characters: ÄäÖöÜü</li>
80               <li>Other special characters: @?¢§%°</li>
81             </ul>
82             <h2>Excepteur sint occaecat cupidatat</h2>
83             <p>
84               Lorem ipsum dolor <em>sit amet</em>, consectetur adipisicing elit,
85               sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
86               Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
87               nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
88               reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
89               pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
90               culpa qui officia deserunt mollit anim id est laborum.
91             </p>
92             <p>
93               Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
94               eiusmod tempor incididunt ut labore et dolore magna aliqua.
95               <strong>Ut enim ad minim veniam, quis nostrud <em>exercitation
96               ullamco</em> laboris nisi ut aliquip ex ea commodo consequat</strong>.
97               Duis aute irure dolor in reprehenderit in voluptate velit esse
98               cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
99               cupidatat non proident, sunt in culpa qui officia deserunt mollit
100               anim id est laborum.
101             </p>
102           </div>
103         </article>
104         <div class="marginal">
105           <nav id="nav"
106               layout:fragment="navigation"
107               th:with="section=${crumbs != null ? crumbs[0] : null}"
108               >
109             <hr class="n"/>
110             <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
111             <h1 class="nav">Navigation</h1>
112             <h2 class="nav menu">Section-Menu</h2>
113             <ul id="menu" class="cf">
114               <li class="m blog" th:each="entry : ${menu}" th:class="'m ' + ${entry.key}">
115                 <a href="../blog.html" th:href="@{/__${entry.key}__.html}" class="m" th:class="${('/' + entry.key + '.html') == section.uri} ? 'm selected' : 'm'" th:text="${entry.value}">Blog</a>
116               </li>
117               <!--/*-->
118               <li class="m projects"><a href="../projects" class="m selected">Projects</a></li>
119               <li class="m about"><a href="../about.html" class="m">About</a></li>
120               <!--*/-->
121             </ul>
122             <h2 class="nav submenu">
123               <span class="s">Submenu for section</span>
124               <a class="s selected" href="../projects.html" th:href="@{${section.uri}}" th:text="${section.name}">Projects</a>
125             </h2>
126             <ul layout:fragment="submenu"
127                 th:with="parent=${(crumbs.size() == 2 and submenu.get(uri)['childs'] == null) ? crumbs[0].uri : null}, pos=1"
128                 id="submenu"
129                 class="s"
130                 >
131               <li th:fragment="submenu(submenu, parent, pos)"
132                   th:each="entry : ${submenu}"
133                   th:with="
134                       child=${pos == crumbs.size()},
135                       selected=${!child and crumbs.get(pos).uri == entry.key},
136                       last=${crumbs.get(pos-1).uri == parent and crumbs.size() &gt; pos},
137                       childs=${entry.value['childs']}
138                       "
139                   class="s sub"
140                   th:class="'s' + (${childs} ? ' sub' : '') + (${selected or last or child} ? '' : ' off')"
141                   >
142                 <a  href="../projects/fix-swf.html"
143                     th:href="@{${entry.key}}"
144                     class="s selected"
145                     th:class="${selected} ? 's selected' : 's'"
146                     th:text="${entry.value.name}"
147                     >fix-swf</a>
148                 <ul th:if="${selected and childs != null}"
149                     class="s active"
150                     th:class="${selected} ? 's active' : 's'"
151                     >
152                   <li th:replace="templates/layout :: submenu(submenu=${childs}, parent=${entry.key}, pos=${pos + 1})"
153                       class="s"
154                       >
155                     <strong class="s">Overview</strong>
156                   </li>
157                   <!--/*-->
158                   <li class="s"><a href="../projects/fix-swf/getting-started.html" class="s">Getting Started</a></li>
159                   <li class="s"><a href="#" class="s">FAQ</a></li>
160                   <li class="s"><a href="#" class="s">Documentation</a></li>
161                   <!--*/-->
162                 </ul>
163               </li>
164               <!--/*-->
165               <li class="s sub off"><a href="#" class="s">hibernate4-maven-plugin</a></li>
166               <li class="s off"><a href="#" class="s">jquery.openx</a></li>
167               <li class="s sub off"><a href="../projects/html-experimente.html" th:href="@{/projects/html-experimente.html}" class="s">HTML-Experimente</a></li>
168               <li class="s sub off"><a href="#" class="s">accelerator</a></li>
169               <li class="s off"><a href="../projects/typo.html" th:href="@{/projects/typo.html}" class="s">Typography</a></li>
170               <!--*/-->
171             </ul>
172             <hr class="n"/>
173           </nav>
174           <aside class="m" layout:fragment="marginalcontent" th:remove="tag">
175           <!--/* the following  is only visible during natural templating -->
176             <h1>Other nasty but marginal stuff</h1>
177             <p>
178               Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
179               eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
180               ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
181               aliquip ex ea commodo consequat. Duis aute irure dolor in
182               reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
183               pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
184               culpa qui officia deserunt mollit anim id est laborum.
185             </p>
186           </aside>
187           <aside class="m">
188             <h1>More nasty stuff</h1>
189             <p>
190               This one is really short!
191             </p>
192           <!--*/-->
193           </aside>
194         </div>
195       </main>
196       <footer id="footer">
197         <hr class="f" />
198         <ul id="footerlinks" layout:fragment="footer">
199           <li class="f" id="copyright">© <strong>mo</strong> 2013</li>
200           <li class="f"><a class="f" href="../impressum.html" th:href="@{/impressum.html}">Impressum</a></li>
201           <li class="f about"><a class="f" href="../about.html" th:href="@{/about.html}">About</a></li>
202         </ul>
203       </footer>
204     </div>
205   </body>
206 </html>