WIP:bulma:neu
authorKai Moritz <kai@juplo.de>
Wed, 17 Feb 2021 22:11:37 +0000 (23:11 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 17 Feb 2021 22:11:37 +0000 (23:11 +0100)
dist/potemkin.json
dist/potemkin/accelerator.html
dist/sitemap.json
dist/templates/layout-alt.html [new file with mode: 0644]
dist/templates/layout.html
sass/juplo.scss

index a53ef5f..c3765e9 100644 (file)
   },
   "_crumbs": {
     "/projects.html": [
+      "/index.html",
       "/projects.html"
     ],
     "/potemkin/fix-swf/overview.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/fix-swf/overview.html",
       "/potemkin/fix-swf/overview.html"
     ],
     "/potemkin/typo.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/typo.html"
     ],
     "/potemkin/html-experimente.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html"
     ],
     "/potemkin/fix-swf/getting-started.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/fix-swf/overview.html",
       "/potemkin/fix-swf/getting-started.html"
     ],
     "/potemkin/html-experimente/formulare.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/formulare.html"
     ],
     "/potemkin/html-experimente/symbole.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/symbole.html"
     ],
     "/templates/404.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/templates/404.html"
     ],
     "/potemkin/html-experimente/gibts-ja-gar-nicht.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/gibts-ja-gar-nicht.html"
     ],
     "/templates/error.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/templates/error.html"
     ],
     "/potemkin/html-experimente/error.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/error.html"
     ],
     "/potemkin/html-experimente/fast-leer-mit-menü.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/fast-leer-mit-menü.html"
     ],
     "/potemkin/html-experimente/fast-leer-mit-menü-und-marginalinhalt.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/fast-leer-mit-menü-und-marginalinhalt.html"
     ],
     "/potemkin/html-experimente/fast-leer-kein-menü.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/fast-leer-kein-menü.html"
     ],
     "/potemkin/html-experimente/fast-leer-kein-menü-aber-marginalinhalt.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/fast-leer-kein-menü-aber-marginalinhalt.html"
     ],
     "/potemkin/html-experimente/fast-leer-einspaltig.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/fast-leer-einspaltig.html"
     ],
     "/potemkin/html-experimente/fast-leer-einspaltig-mit-marginalinhalt.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/fast-leer-einspaltig-mit-marginalinhalt.html"
     ],
     "/potemkin/html-experimente/breadcrumb.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/breadcrumb.html"
     ],
     "/potemkin/html-experimente/kein-layout.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/kein-layout.html"
     ],
     "/potemkin/html-experimente/basis-layout.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/basis-layout.html"
     ],
     "/potemkin/html-experimente/druck-layout.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/druck-layout.html"
     ],
     "/potemkin/html-experimente/tiny.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/tiny.html"
     ],
     "/potemkin/html-experimente/phone.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/phone.html"
     ],
     "/potemkin/html-experimente/tablet.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/tablet.html"
     ],
     "/potemkin/html-experimente/seitenaufteilung.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/seitenaufteilung.html"
     ],
     "/potemkin/html-experimente/seitenkopf.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/seitenkopf.html"
     ],
     "/potemkin/html-experimente/testlab.html": [
+      "/index.html",
       "/projects.html",
       "/potemkin/html-experimente.html",
       "/potemkin/html-experimente/testlab.html"
index 91b1fdf..36bfff0 100644 (file)
         },
         &quot;_crumbs&quot;: {
           &quot;\/potemkin\/accelerator.html&quot;: [
+            &quot;\/index.html&quot;,
             &quot;\/projects.html&quot;,
             &quot;\/potemkin\/accelerator.html&quot;,
             &quot;\/potemkin\/accelerator.html&quot;
-          ],
-          &quot;\/projects.html&quot;: [
-            &quot;\/projects.html&quot;
           ]
         }
       }
index 3689565..7735783 100644 (file)
@@ -1,9 +1,4 @@
 {
-  "_sections": {
-    "blog": "/blog/",
-    "projects": "/projects.html",
-    "about": "/about.html"
-  },
   "_titles": {
     "/index.html": "Home",
     "/blog/": "Blog",
     "/templates/error.html": "5xx-Template"
   },
   "_childs": {
+    "/index.html": [
+      "/blog/",
+      "/projects.html",
+      "/about.html"
+    ],
     "/blog/": [],
     "/projects.html": [
       "/hibernate-maven-plugin/index.html",
   },
   "_crumbs": {
     "/about.html": [
+      "/index.html",
       "/about.html"
     ],
     "/expertise.html": [
+      "/index.html",
       "/about.html",
       "/expertise.html"
     ],
     "/references.html": [
+      "/index.html",
       "/about.html",
       "/references.html"
     ],
     "/impressum.html": [
+      "/index.html",
       "/about.html",
       "/impressum.html"
     ],
     "/contact.html": [
+      "/index.html",
       "/about.html",
       "/contact.html"
     ],
     "/agb.html": [
+      "/index.html",
       "/about.html",
       "/impressum.html",
       "/agb.html"
     ],
     "/haftung-inhalte.html": [
+      "/index.html",
       "/about.html",
       "/impressum.html",
       "/haftung-inhalte.html"
     ],
     "/haftung-links.html": [
+      "/index.html",
       "/about.html",
       "/impressum.html",
       "/haftung-links.html"
     ],
     "/urheberrechte.html": [
+      "/index.html",
       "/about.html",
       "/impressum.html",
       "/urheberrechte.html"
     ],
     "/datenschutz.html": [
+      "/index.html",
       "/about.html",
       "/impressum.html",
       "/datenschutz.html"
     ],
     "/templates/404.html": [
+      "/index.html",
       "/templates/404.html"
     ],
     "/templates/error.html": [
+      "/index.html",
       "/templates/error.html"
     ]
   }
diff --git a/dist/templates/layout-alt.html b/dist/templates/layout-alt.html
new file mode 100644 (file)
index 0000000..53cae5e
--- /dev/null
@@ -0,0 +1,373 @@
+<!DOCTYPE html>
+<html
+    xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:th="http://www.thymeleaf.org"
+    th:fragment="layout(uri,maincontent)"
+    thymeproxy:variables="SET:sitemap.json"
+    >
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <title th:replace="${title}">juplo - BASISTEMPLATE</title>
+    <link rel="stylesheet" href="../css/juplo.css" th:href="@{/css/juplo.css}">
+    <link rel="caononical" href="layout.html" th:replace="${scripts_head}?:~{}">
+  </head>
+  <body
+      th:fragment="body(uri, maincontent, marginalcontent)"
+      thymeproxy:variables="${json}"
+      th:with="crumbs=${_crumbs.get(uri)}"
+      >
+    <nav class="column is-8-desktop is-offset-3-desktop">
+      <div class="navbar is-size-2-tablet has-text-weight-bold" role="navigation" aria-label="main navigation">
+        <div class="navbar-brand">
+          <a class="navbar-item" href="../index.html" th:href="@{/}" title="Home">
+            <img src="/img/logo.svg" alt="juplo" class="logo">
+          </a>
+      
+          <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbar">
+            <span aria-hidden="true"></span>
+            <span aria-hidden="true"></span>
+            <span aria-hidden="true"></span>
+          </a>
+        </div>
+      
+        <div id="navbar" class="navbar-menu">
+          <div class="navbar-start" th:each="entry : ${_sections}">
+            <a class="navbar-item" href="../blog/" th:href="@{${entry.value}}" th:text="${_titles.get(entry.value)}">Blog</a>
+            <!--/*-->
+            <a class="navbar-item" href="../projects.html">Projects</a>
+            <a class="navbar-item" href="../about.html">About</a>
+            <!--*/-->
+          </div>
+          <div class="navbar-end">
+            <a class="navbar-item" href="../about.html">About</a>
+          </div>
+        </div>
+      </div>
+      <div class="breadcrumb" aria-label="breadcrumbs">
+        <strong>You are here:</strong>
+        <ul>
+          <li><a href="../index.html" th:href="@{/index.html}">Home</a></li>
+          <li th:each="crumb: ${crumbs}"><a href="../projects.html" th:href="@{${crumb}}" th:text="${_titles.get(crumb)}">Projects</a></li>
+          <!--/*-->
+          <li class="is-active"><a class="b" th:text="${title}">Fix SWF</a></li>
+          <!--*/-->
+        </ul>
+        <a href="#nav" title="Show navigation menu">Jump to navigation</a>
+      </div>
+    </nav>
+    <section class="section" id="top">
+      <div class="container">
+        <div class="columns">
+          <nav id="nav" class="column is-3-tablet is-3-desktop content" th:include="~{::#navigation}?:_" th:with="section=${crumbs != null ? crumbs[0] : null}">
+            <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" th:each="entry : ${_sections}" th:class="'m ' + ${entry.key}">
+                <a href="../blog/" th:href="@{${entry.value}}" class="m" th:class="${entry.value == section} ? 'm selected' : 'm'" th:text="${_titles.get(entry.value)}">Blog</a>
+              </li>
+              <!--/*-->
+              <li class="m projects"><a href="../projects.html" class="m selected">Projects</a></li>
+              <li class="m about"><a href="../about.html" class="m">About</a></li>
+              <!--*/-->
+            </ul>
+            <h2 class="nav submenu">
+              <span class="s">Submenu for section</span>
+              <a class="s selected" href="../projects.html" th:href="@{${section}}" th:text="${_titles.get(section)}">Projects</a>
+            </h2>
+            <ul th:include="${submenu}?:_"
+                th:with="
+                  len=${crumbs.size()},
+                  submenu=${_childs.get(section)},
+                  parent=${crumbs[0]},
+                  pos=1"
+                id="submenu"
+                class="s"
+                th:class="'s' + (${len == 1 or (len == 2 and _childs.get(uri) == null)} ? ' selected' : '')"
+                >
+              <li th:fragment="submenu(submenu, parent, pos)"
+                  th:each="entry : ${submenu}"
+                  th:with="
+                      child=${pos == len},
+                      selected=${!child and crumbs.get(pos) == entry},
+                      sibling=${pos + 1 == len and (_childs.get(uri) == null or uri == parent)},
+                      childs=${entry == parent ? null : _childs.get(entry)}
+                      "
+                  class="s sub"
+                  th:class="'s' + (${childs} ? ' sub' : '') + (${selected or sibling or child} ? '' : ' off')"
+                  >
+                <a  href="../potemkin/fix-swf/overview.html"
+                    th:if="${entry != parent}"
+                    th:href="@{${entry}}"
+                    class="s selected"
+                    th:class="${selected} ? 's selected' : 's'"
+                    th:text="${_titles.get(entry)}"
+                    >fix-swf</a>
+                <ul th:if="${selected and childs != null}"
+                    class="s active"
+                    th:class="'s' + (${selected &amp;&amp; pos == crumbs.size()-1} ? ' active' : '') + (${entry == uri or (len &gt; 1 and entry == crumbs.get(len-2) and _childs.get(uri) == null)} ? ' selected' : '')"
+                    >
+                  <li th:replace="this :: submenu(submenu=${childs}, parent=${entry}, pos=${pos + 1})"
+                      class="s"
+                      >
+                    <strong class="s">Overview</strong>
+                  </li>
+                  <!--/*-->
+                  <li class="s"><a href="../potemkin/fix-swf/getting-started.html" class="s">Getting Started</a></li>
+                  <li class="s"><a href="#" class="s">FAQ</a></li>
+                  <li class="s"><a href="#" class="s">Documentation</a></li>
+                  <!--*/-->
+                </ul>
+              </li>
+              <!--/*-->
+              <li class="s sub off"><a href="#" class="s">hibernate4-maven-plugin</a></li>
+              <li class="s off"><a href="#" class="s">jquery.openx</a></li>
+              <li class="s sub off"><a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}" class="s">HTML-Experimente</a></li>
+              <li class="s sub off"><a href="#" class="s">accelerator</a></li>
+              <li class="s off"><a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}" class="s">Typography</a></li>
+              <!--*/-->
+            </ul>
+            <hr class="n"/>
+          </nav>
+          <div class="column is-9-tablet is-8-desktop content" th:include="${maincontent}">
+            <h1 class="title" th:include="${title}">Title</h1>
+            <div class="content" th:fragment="maincontent">
+              <p>
+                <strong>Lorem ipsum</strong> dolor
+                <a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}">sit amet</a>,
+                consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
+                labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
+                <a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}">exercitation</a>
+                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>
+              <h2 class="title">Duis aute irure dolor</h2>
+              <ul>
+                <li>Operators and other mathematical stuff: -+/*</li>
+                <li>
+                  Characters offten used in programming languages:
+                  {(&lt;&gt;)}@$?%*#;:&amp;/\!^&#034;&#039;`~
+                </li>
+                <li>Special german characters: ÄäÖöÜü</li>
+                <li>Other special characters: @?¢§%°</li>
+              </ul>
+              <h2 class="title">Excepteur sint occaecat cupidatat</h2>
+              <p>
+                Lorem ipsum dolor <em>sit amet</em>, 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>
+              <p>
+                Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
+                eiusmod tempor incididunt ut labore et dolore magna aliqua.
+                <strong>Ut enim ad minim veniam, quis nostrud <em>exercitation
+                ullamco</em> laboris nisi ut aliquip ex ea commodo consequat</strong>.
+                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>
+              <ul>
+                <li>
+                  <code><a href="https://github.com/jgthms/bulma">bulma</a></code>
+                </li>
+                <li>
+                  <code><a href="https://github.com/sass/node-sass">node-sass</a></code> to compile your own Sass file
+                </li>
+                <li>
+                  <code><a href="https://github.com/postcss/postcss-cli">postcss-cli</a></code> and <code><a href="https://github.com/postcss/autoprefixer">autoprefixer</a></code> to add support for older browsers
+                </li>
+                <li>
+                  <code><a href="https://babeljs.io/docs/usage/cli/">babel-cli</a></code>,
+                  <code><a href="https://github.com/babel/babel-preset-env">babel-preset-env</a></code>
+                  and
+                  <code><a href="https://github.com/jmcriffey/babel-preset-es2015-ie">babel-preset-es2015-ie</a></code>
+                  for compiling ES6 JavaScript files
+                </li>
+              </ul>
+              <p>
+                Apart from <code>package.json</code>, the following files are included:
+              </p>
+              <ul>
+                <li>
+                  <code>.babelrc</code> configuration file for <a href="https://babeljs.io/">Babel</a>
+                </li>
+                <li>
+                  <code>.gitignore</code> common <a href="https://git-scm.com/">Git</a> ignored files
+                </li>
+                <li>
+                  <code>index.html</code> this HTML5 file
+                </li>
+                <li>
+                  <code>_sass/main.scss</code> a basic SCSS file that <strong>imports Bulma</strong> and explains how to <strong>customize</strong> your styles, and compiles to <code>css/main.css</code>
+                </li>
+                <li>
+                  <code>_javascript/main.js</code> an ES6 JavaScript that compiles to <code>lib/main.js</code>
+                </li>
+              </ul>
+              <h3>Try it out!</h3>
+              <p>
+                To see if your setup works, follow these steps:
+              </p>
+              <ol>
+                <li>
+                  <p>
+                    <strong>Move</strong> to this directory:
+                    <br />
+                    <pre><code>cd bulma-start</code></pre>
+                  </p>
+                </li>
+                <li>
+                  <p>
+                    <strong>Install</strong> all dependencies:
+                    <br />
+                    <pre><code>npm install</code></pre>
+                  </p>
+                </li>
+                <li>
+                  <p>
+                    <strong>Start</strong> the CSS and JS watchers:
+                    <br />
+                    <pre><code>npm start</code></pre>
+                  </p>
+                </li>
+                <li>
+                  <p>
+                    <strong>Edit</strong> <code>_sass/main.scss</code> by adding the following rule at the <strong>end</strong> of the file:
+                    <br />
+                    <pre><span style="color: #22863a;">html</span> {
+    <span style="color: #005cc5;"><span style="color: #005cc5;">background-color</span></span>: <span style="color: #24292e">$green</span>;
+  }</pre>
+                  </p>
+                </li>
+              </ol>
+              <p>
+                The page background should turn <strong class="has-text-success">green</strong>!
+              </p>
+              <h3>Get started</h3>
+              <p>
+                You're <strong>ready</strong> to create your own designs with Bulma. Just edit or duplicate this page, or simply create a new one!
+                <br>
+                For example, this page is <strong>only</strong> built with the following <strong>Bulma elements</strong>:
+              </p>
+            </div>
+            <!--/*-->
+            <table class="table is-bordered is-fullwidth">
+              <thead>
+                <tr>
+                  <th>Type</th>
+                  <th>CSS class</th>
+                </tr>
+              </thead>
+              <tbody>
+                <tr>
+                  <th>Columns</th>
+                  <td>
+                    <code><a href="http://bulma.io/documentation/columns/basics">columns</a></code>
+                    <code><a href="http://bulma.io/documentation/columns/basics">column</a></code>
+                  </td>
+                </tr>
+                <tr>
+                  <th>Layout</th>
+                  <td>
+                    <code><a href="http://bulma.io/documentation/layout/section">section</a></code>
+                    <code><a href="http://bulma.io/documentation/layout/container">container</a></code>
+                    <code><a href="http://bulma.io/documentation/layout/footer">footer</a></code>
+                  </td>
+                </tr>
+                <tr>
+                  <th>Elements</th>
+                  <td>
+                    <code><a href="http://bulma.io/documentation/elements/button">button</a></code>
+                    <code><a href="http://bulma.io/documentation/elements/content">content</a></code>
+                    <code><a href="http://bulma.io/documentation/elements/title">title</a></code>
+                    <code><a href="http://bulma.io/documentation/elements/title">subtitle</a></code>
+                  </td>
+                </tr>
+                <tr>
+                  <th>Form</th>
+                  <td>
+                    <code><a href="http://bulma.io/documentation/form/general">field</a></code>
+                    <code><a href="http://bulma.io/documentation/form/general">control</a></code>
+                  </td>
+                </tr>
+                <tr>
+                  <th>Helpers</th>
+                  <td>
+                    <code><a href="http://bulma.io/documentation/modifiers/typography-helpers/">has-text-centered</a></code>
+                    <code><a href="http://bulma.io/documentation/modifiers/typography-helpers/">has-text-weight-semibold</a></code>
+                  </td>
+                </tr>
+              </tbody>
+            </table>
+            <div class="content">
+              <p>
+                If you want to <strong>learn more</strong>, follow these links:
+              </p>
+            </div>
+            <div class="field is-grouped">
+              <p class="control">
+                <a class="button is-medium is-primary" href="http://bulma.io">
+                  <strong class="has-text-weight-semibold">Bulma homepage</strong>
+                </a>
+              </p>
+              <p class="control">
+                <a class="button is-medium is-link" href="http://bulma.io/documentation/overview/start/">
+                  <strong class="has-text-weight-semibold">Documentation</strong>
+                </a>
+              </p>
+            </div>
+            <!--*/-->
+          </div>
+          <aside class="column is-hidden-touch is-2-desktop content" th:insert="${marginalcontent}?:~{}">
+          <!--/* the following  is only visible during natural templating -->
+            <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>
+          </aside>
+          <aside class="m">
+            <h1>More nasty stuff</h1>
+            <p>
+              This one is really short!
+            </p>
+          <!--*/-->
+          </aside>
+        </div>
+      </div>
+    </section>
+    <footer class="footer">
+      <div class="container">
+        <div class="columns">
+          <div class="column is-8-desktop is-offset-2-desktop">
+            <div class="level">
+              <div class="level-left">
+                <span class="level-item">© <strong>mo</strong> 2021</span>
+              </div>
+              <div class="level-right" id="footerlinks" th:include="~{::#links}?:_">
+                <a class="level-item" href="../impressum.html" th:href="@{/impressum.html}">Impressum</a>
+                <a class="level-item" href="../datenschutz.html" th:href="@{/datenschutz.html}">Datenschutz</a>
+              </div>
+            </div>
+          </div>
+        </div>
+      </div>
+    </footer>
+    </div>
+  </body>
+</html>
index 46f8c3f..9ffb638 100644 (file)
   <body
       th:fragment="body(uri, maincontent, marginalcontent)"
       thymeproxy:variables="${json}"
-      th:with="crumbs=${_crumbs.get(uri)}"
-      >
-    <nav class="section column is-8-desktop is-offset-2-desktop">
-      <div class="navbar is-size-2-tablet has-text-weight-bold" role="navigation" aria-label="main navigation">
-        <div class="navbar-brand">
-          <a class="navbar-item" href="../index.html" th:href="@{/}" title="Home">
-            <img src="/img/logo.svg" alt="juplo" class="logo">
-          </a>
-      
-          <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbar">
-            <span aria-hidden="true"></span>
-            <span aria-hidden="true"></span>
-            <span aria-hidden="true"></span>
-          </a>
-        </div>
-      
-        <div id="navbar" class="navbar-menu">
-          <div class="navbar-start" th:each="entry : ${_sections}">
-            <a class="navbar-item" href="../blog/" th:href="@{${entry.value}}" th:text="${_titles.get(entry.value)}">Blog</a>
-            <!--/*-->
-            <a class="navbar-item" href="../projects.html">Projects</a>
-            <a class="navbar-item" href="../about.html">About</a>
-            <!--*/-->
-          </div>
-          <div class="navbar-end">
-            <a class="navbar-item" href="../about.html">About</a>
-          </div>
-        </div>
-      </div>
-    </nav>
-    <section class="section">
-      <div class="container">
-        <div class="columns">
-          <div class="column is-8-desktop is-offset-2-desktop breadcrumb" aria-label="breadcrumbs">
-            <strong>You are here:</strong>
-            <ul>
-              <li><a href="../index.html" th:href="@{/index.html}">Home</a></li>
-              <li th:each="crumb: ${crumbs}"><a href="../projects.html" th:href="@{${crumb}}" th:text="${_titles.get(crumb)}">Projects</a></li>
-              <!--/*-->
-              <li class="is-active"><a class="b" th:text="${title}">Fix SWF</a></li>
-              <!--*/-->
-            </ul>
-            <a href="#nav" title="Show navigation menu">Jump to navigation</a>
-          </div>
-        </div>
+      th:with="crumbs=${_crumbs.get(uri)}">
+    <nav>
+      <div class="section breadcrumb" aria-label="breadcrumbs">
+        <ul>
+          <li th:each="crumb: ${crumbs}" class="${uri == crumb}?'is_active':_">
+            <a href="../index.html" th:href="@{${crumb}}" th:text="${_titles.get(crumb)}">Home</a></li>
+          <!--/*-->
+          <li class="is-active"><a href="#">Fix SWF</a></li>
+          <!--*/-->
+        </ul>
       </div>
-    </section>
-    <section class="section" id="top">
-      <div class="container">
-        <div class="columns">
-          <nav id="nav" class="column is-3-tablet is-3-desktop content" th:include="~{::#navigation}?:_" th:with="section=${crumbs != null ? crumbs[0] : null}">
-            <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" th:each="entry : ${_sections}" th:class="'m ' + ${entry.key}">
-                <a href="../blog/" th:href="@{${entry.value}}" class="m" th:class="${entry.value == section} ? 'm selected' : 'm'" th:text="${_titles.get(entry.value)}">Blog</a>
+      <div class="section">
+        <ul th:with="
+              len=${crumbs == null} ? 0 : ${crumbs.size()},
+              parent=${crumbs == null} ? '' : ${crumbs[0]},
+              submenu=${_childs.get(parent)},
+              pos=1"
+            id="navigation"
+            class="s"
+            th:class="'s' + (${len == 1 or (len == 2 and _childs.get(uri) == null)} ? ' selected' : '')">
+          <li th:fragment="submenu(submenu, parent, pos)"
+              th:each="entry : ${submenu}"
+              th:with="
+                  child=${pos == len},
+                  selected=${!child and crumbs.get(pos) == entry},
+                  sibling=${pos + 1 == len and (_childs.get(uri) == null or uri == parent)},
+                  childs=${entry == parent ? null : _childs.get(entry)}
+                  "
+              class="s sub"
+              th:class="'s' + (${childs} ? ' sub' : '') + (${selected or sibling or child} ? '' : ' off')">
+            <a  href="../potemkin/fix-swf/overview.html"
+                th:if="${entry != parent}"
+                th:href="@{${entry}}"
+                class="s selected"
+                th:class="${selected} ? 's selected' : 's'"
+                th:text="${_titles.get(entry)}">fix-swf</a>
+            <ul th:if="${selected and childs != null}"
+                class="s active"
+                th:class="'s' + (${selected &amp;&amp; pos == crumbs.size()-1} ? ' active' : '') + (${entry == uri or (len &gt; 1 and entry == crumbs.get(len-2) and _childs.get(uri) == null)} ? ' selected' : '')">
+              <li th:replace="this :: submenu(submenu=${childs}, parent=${entry}, pos=${pos + 1})"
+                  class="s">
+                <strong class="s">Overview</strong>
               </li>
               <!--/*-->
-              <li class="m projects"><a href="../projects.html" class="m selected">Projects</a></li>
-              <li class="m about"><a href="../about.html" class="m">About</a></li>
+              <li class="s"><a href="../potemkin/fix-swf/getting-started.html" class="s">Getting Started</a></li>
+              <li class="s"><a href="#" class="s">FAQ</a></li>
+              <li class="s"><a href="#" class="s">Documentation</a></li>
               <!--*/-->
             </ul>
-            <h2 class="nav submenu">
-              <span class="s">Submenu for section</span>
-              <a class="s selected" href="../projects.html" th:href="@{${section}}" th:text="${_titles.get(section)}">Projects</a>
-            </h2>
-            <ul th:include="${submenu}?:_"
-                th:with="
-                  len=${crumbs.size()},
-                  submenu=${_childs.get(section)},
-                  parent=${crumbs[0]},
-                  pos=1"
-                id="submenu"
-                class="s"
-                th:class="'s' + (${len == 1 or (len == 2 and _childs.get(uri) == null)} ? ' selected' : '')"
-                >
-              <li th:fragment="submenu(submenu, parent, pos)"
-                  th:each="entry : ${submenu}"
-                  th:with="
-                      child=${pos == len},
-                      selected=${!child and crumbs.get(pos) == entry},
-                      sibling=${pos + 1 == len and (_childs.get(uri) == null or uri == parent)},
-                      childs=${entry == parent ? null : _childs.get(entry)}
-                      "
-                  class="s sub"
-                  th:class="'s' + (${childs} ? ' sub' : '') + (${selected or sibling or child} ? '' : ' off')"
-                  >
-                <a  href="../potemkin/fix-swf/overview.html"
-                    th:if="${entry != parent}"
-                    th:href="@{${entry}}"
-                    class="s selected"
-                    th:class="${selected} ? 's selected' : 's'"
-                    th:text="${_titles.get(entry)}"
-                    >fix-swf</a>
-                <ul th:if="${selected and childs != null}"
-                    class="s active"
-                    th:class="'s' + (${selected &amp;&amp; pos == crumbs.size()-1} ? ' active' : '') + (${entry == uri or (len &gt; 1 and entry == crumbs.get(len-2) and _childs.get(uri) == null)} ? ' selected' : '')"
-                    >
-                  <li th:replace="this :: submenu(submenu=${childs}, parent=${entry}, pos=${pos + 1})"
-                      class="s"
-                      >
-                    <strong class="s">Overview</strong>
-                  </li>
-                  <!--/*-->
-                  <li class="s"><a href="../potemkin/fix-swf/getting-started.html" class="s">Getting Started</a></li>
-                  <li class="s"><a href="#" class="s">FAQ</a></li>
-                  <li class="s"><a href="#" class="s">Documentation</a></li>
-                  <!--*/-->
-                </ul>
-              </li>
-              <!--/*-->
-              <li class="s sub off"><a href="#" class="s">hibernate4-maven-plugin</a></li>
-              <li class="s off"><a href="#" class="s">jquery.openx</a></li>
-              <li class="s sub off"><a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}" class="s">HTML-Experimente</a></li>
-              <li class="s sub off"><a href="#" class="s">accelerator</a></li>
-              <li class="s off"><a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}" class="s">Typography</a></li>
-              <!--*/-->
-            </ul>
-            <hr class="n"/>
-          </nav>
-          <div class="column is-9-tablet is-8-desktop content" th:include="${maincontent}">
-            <h1 class="title" th:include="${title}">Title</h1>
-            <div class="content" th:fragment="maincontent">
-              <p>
-                <strong>Lorem ipsum</strong> dolor
-                <a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}">sit amet</a>,
-                consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
-                labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
-                <a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}">exercitation</a>
-                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>
-              <h2 class="title">Duis aute irure dolor</h2>
-              <ul>
-                <li>Operators and other mathematical stuff: -+/*</li>
-                <li>
-                  Characters offten used in programming languages:
-                  {(&lt;&gt;)}@$?%*#;:&amp;/\!^&#034;&#039;`~
-                </li>
-                <li>Special german characters: ÄäÖöÜü</li>
-                <li>Other special characters: @?¢§%°</li>
-              </ul>
-              <h2 class="title">Excepteur sint occaecat cupidatat</h2>
-              <p>
-                Lorem ipsum dolor <em>sit amet</em>, 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>
-              <p>
-                Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
-                eiusmod tempor incididunt ut labore et dolore magna aliqua.
-                <strong>Ut enim ad minim veniam, quis nostrud <em>exercitation
-                ullamco</em> laboris nisi ut aliquip ex ea commodo consequat</strong>.
-                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>
-              <ul>
-                <li>
-                  <code><a href="https://github.com/jgthms/bulma">bulma</a></code>
-                </li>
-                <li>
-                  <code><a href="https://github.com/sass/node-sass">node-sass</a></code> to compile your own Sass file
-                </li>
-                <li>
-                  <code><a href="https://github.com/postcss/postcss-cli">postcss-cli</a></code> and <code><a href="https://github.com/postcss/autoprefixer">autoprefixer</a></code> to add support for older browsers
-                </li>
-                <li>
-                  <code><a href="https://babeljs.io/docs/usage/cli/">babel-cli</a></code>,
-                  <code><a href="https://github.com/babel/babel-preset-env">babel-preset-env</a></code>
-                  and
-                  <code><a href="https://github.com/jmcriffey/babel-preset-es2015-ie">babel-preset-es2015-ie</a></code>
-                  for compiling ES6 JavaScript files
-                </li>
-              </ul>
-              <p>
-                Apart from <code>package.json</code>, the following files are included:
-              </p>
-              <ul>
-                <li>
-                  <code>.babelrc</code> configuration file for <a href="https://babeljs.io/">Babel</a>
-                </li>
-                <li>
-                  <code>.gitignore</code> common <a href="https://git-scm.com/">Git</a> ignored files
-                </li>
-                <li>
-                  <code>index.html</code> this HTML5 file
-                </li>
-                <li>
-                  <code>_sass/main.scss</code> a basic SCSS file that <strong>imports Bulma</strong> and explains how to <strong>customize</strong> your styles, and compiles to <code>css/main.css</code>
-                </li>
-                <li>
-                  <code>_javascript/main.js</code> an ES6 JavaScript that compiles to <code>lib/main.js</code>
-                </li>
-              </ul>
-              <h3>Try it out!</h3>
-              <p>
-                To see if your setup works, follow these steps:
-              </p>
-              <ol>
-                <li>
-                  <p>
-                    <strong>Move</strong> to this directory:
-                    <br />
-                    <pre><code>cd bulma-start</code></pre>
-                  </p>
-                </li>
-                <li>
-                  <p>
-                    <strong>Install</strong> all dependencies:
-                    <br />
-                    <pre><code>npm install</code></pre>
-                  </p>
-                </li>
-                <li>
-                  <p>
-                    <strong>Start</strong> the CSS and JS watchers:
-                    <br />
-                    <pre><code>npm start</code></pre>
-                  </p>
-                </li>
-                <li>
-                  <p>
-                    <strong>Edit</strong> <code>_sass/main.scss</code> by adding the following rule at the <strong>end</strong> of the file:
-                    <br />
-                    <pre><span style="color: #22863a;">html</span> {
-    <span style="color: #005cc5;"><span style="color: #005cc5;">background-color</span></span>: <span style="color: #24292e">$green</span>;
-  }</pre>
-                  </p>
-                </li>
-              </ol>
-              <p>
-                The page background should turn <strong class="has-text-success">green</strong>!
-              </p>
-              <h3>Get started</h3>
-              <p>
-                You're <strong>ready</strong> to create your own designs with Bulma. Just edit or duplicate this page, or simply create a new one!
-                <br>
-                For example, this page is <strong>only</strong> built with the following <strong>Bulma elements</strong>:
-              </p>
-            </div>
-            <!--/*-->
-            <table class="table is-bordered is-fullwidth">
-              <thead>
-                <tr>
-                  <th>Type</th>
-                  <th>CSS class</th>
-                </tr>
-              </thead>
-              <tbody>
-                <tr>
-                  <th>Columns</th>
-                  <td>
-                    <code><a href="http://bulma.io/documentation/columns/basics">columns</a></code>
-                    <code><a href="http://bulma.io/documentation/columns/basics">column</a></code>
-                  </td>
-                </tr>
-                <tr>
-                  <th>Layout</th>
-                  <td>
-                    <code><a href="http://bulma.io/documentation/layout/section">section</a></code>
-                    <code><a href="http://bulma.io/documentation/layout/container">container</a></code>
-                    <code><a href="http://bulma.io/documentation/layout/footer">footer</a></code>
-                  </td>
-                </tr>
-                <tr>
-                  <th>Elements</th>
-                  <td>
-                    <code><a href="http://bulma.io/documentation/elements/button">button</a></code>
-                    <code><a href="http://bulma.io/documentation/elements/content">content</a></code>
-                    <code><a href="http://bulma.io/documentation/elements/title">title</a></code>
-                    <code><a href="http://bulma.io/documentation/elements/title">subtitle</a></code>
-                  </td>
-                </tr>
-                <tr>
-                  <th>Form</th>
-                  <td>
-                    <code><a href="http://bulma.io/documentation/form/general">field</a></code>
-                    <code><a href="http://bulma.io/documentation/form/general">control</a></code>
-                  </td>
-                </tr>
-                <tr>
-                  <th>Helpers</th>
-                  <td>
-                    <code><a href="http://bulma.io/documentation/modifiers/typography-helpers/">has-text-centered</a></code>
-                    <code><a href="http://bulma.io/documentation/modifiers/typography-helpers/">has-text-weight-semibold</a></code>
-                  </td>
-                </tr>
-              </tbody>
-            </table>
-            <div class="content">
-              <p>
-                If you want to <strong>learn more</strong>, follow these links:
-              </p>
-            </div>
-            <div class="field is-grouped">
-              <p class="control">
-                <a class="button is-medium is-primary" href="http://bulma.io">
-                  <strong class="has-text-weight-semibold">Bulma homepage</strong>
-                </a>
-              </p>
-              <p class="control">
-                <a class="button is-medium is-link" href="http://bulma.io/documentation/overview/start/">
-                  <strong class="has-text-weight-semibold">Documentation</strong>
-                </a>
-              </p>
-            </div>
-            <!--*/-->
-          </div>
-          <aside class="column is-hidden-touch is-2-desktop content" th:insert="${marginalcontent}?:~{}">
-          <!--/* the following  is only visible during natural templating -->
-            <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>
-          </aside>
-          <aside class="m">
-            <h1>More nasty stuff</h1>
-            <p>
-              This one is really short!
-            </p>
+          </li>
+          <!--/*-->
+          <li class="s sub off"><a href="#" class="s">hibernate4-maven-plugin</a></li>
+          <li class="s off"><a href="#" class="s">jquery.openx</a></li>
+          <li class="s sub off"><a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}" class="s">HTML-Experimente</a></li>
+          <li class="s sub off"><a href="#" class="s">accelerator</a></li>
+          <li class="s off"><a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}" class="s">Typography</a></li>
           <!--*/-->
-          </aside>
-        </div>
-      </div>
-    </section>
-    <footer class="footer">
-      <div class="container">
-        <div class="columns">
-          <div class="column is-8-desktop is-offset-2-desktop">
-            <div class="level">
-              <div class="level-left">
-                <span class="level-item">© <strong>mo</strong> 2021</span>
-              </div>
-              <div class="level-right" id="footerlinks" th:include="~{::#links}?:_">
-                <a class="level-item" href="../impressum.html" th:href="@{/impressum.html}">Impressum</a>
-                <a class="level-item" href="../datenschutz.html" th:href="@{/datenschutz.html}">Datenschutz</a>
-              </div>
-            </div>
-          </div>
-        </div>
+        </ul>
       </div>
-    </footer>
-    </div>
+    </nav>
   </body>
 </html>
index 2d2a0f4..89948e7 100644 (file)
@@ -32,3 +32,5 @@ $primary-invert: $pink-invert;
 {
   max-height: none;
 }
+
+@import "navigation";