Testseiten für extrem Layout-Grenzfälle angelegt
authorKai Moritz <km@feder-software.de>
Sun, 22 Dec 2013 11:04:27 +0000 (12:04 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 19 Jan 2016 16:45:40 +0000 (17:45 +0100)
src/main/webapp/WEB-INF/templates/test/experimente.jsp
src/main/webapp/WEB-INF/views/contact.jsp
src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-marginalinhalt.jsp [new file with mode: 0644]
src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-menü-und-marginalinhalt.jsp [new file with mode: 0644]
src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-menü.jsp [new file with mode: 0644]
src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig.jsp [new file with mode: 0644]
src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-marginalinhalt.jsp [new file with mode: 0644]
src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-menü-und-marginalinhalt.jsp [new file with mode: 0644]
src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-menü.jsp [new file with mode: 0644]
src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig.jsp [new file with mode: 0644]

index f50d180..4362f5c 100644 (file)
@@ -3,6 +3,17 @@
 <%@page session="false" %>
 <%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
 <s:url var="base" value="/" />
+<h2>Layout-Grenzfälle</h2>
+<ul>
+  <li><a href="${base}test/fast-leer-zweispaltig.html">Fast leere zweispaltige Seite</a></li>
+  <li><a href="${base}test/fast-leer-zweispaltig-mit-marginalinhalt.html">Fast leere zweispaltige Seit mit Marginal-Inhalt</a></li>
+  <li><a href="${base}test/fast-leer-einspaltig.html">Fast leere einspaltige Seite</a></li>
+  <li><a href="${base}test/fast-leer-einspaltig-mit-marginalinhalt.html">Fast leere einspaltige Seit mit Marginal-Inhalt</a></li>
+  <li><a href="${base}test/fast-leer-zweispaltig-mit-menü.html">Fast leere zweispaltige Seite mit Untermenü</a></li>
+  <li><a href="${base}test/fast-leer-zweispaltig-mit-menü-und-marginalinhalt.html">Fast leere zweispaltige Seit mit Untermenü und Marginal-Inhalt</a></li>
+  <li><a href="${base}test/fast-leer-einspaltig-mit-menü.html">Fast leere einspaltige Seite mit Untermenü</a></li>
+  <li><a href="${base}test/fast-leer-einspaltig-mit-menü-und-marginalinhalt.html">Fast leere einspaltige Seit mit Untermenü und Marginal-Inhalt</a></li>
+</ul>
 <h2>Layout-Variationen</h2>
 <ul>
   <li><a href="${base}test/basis-layout.html">Nur das Basis-Layout</a></li>
index 668d648..c9d72f5 100644 (file)
@@ -11,4 +11,5 @@
     <li class="b"><strong class="b">Contact</strong></li>
   </t:putAttribute>
   <t:putAttribute name="maincontent" type="string" value="TODO..."/>
+  <t:putAttribute name="marginalcontent" type="string" value=""/>
 </t:insertDefinition>
diff --git a/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-marginalinhalt.jsp b/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-marginalinhalt.jsp
new file mode 100644 (file)
index 0000000..c719c8b
--- /dev/null
@@ -0,0 +1,21 @@
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
+<s:url var="base" value="/" />
+<t:insertDefinition name="test">
+  <t:putAttribute name="title" value="Fast leere einspaltige Seite mit Marginalinhalt" type="string"/>
+  <t:putAttribute name="contentclass" value="cols_1" type="string"/>
+  <t:putAttribute name="navigation" type="string">
+    <h1 class="nav">Navigation</h1>
+    <h2 class="nav menu">Section-Menu</h2>
+    <ul id="menu">
+      <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
+      <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
+    </ul>
+  </t:putAttribute>
+  <t:putAttribute name="maincontent" type="string">
+    <p>Diese Seite ist fast leer...</p>
+  </t:putAttribute>
+</t:insertDefinition>
diff --git a/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-menü-und-marginalinhalt.jsp b/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-menü-und-marginalinhalt.jsp
new file mode 100644 (file)
index 0000000..5063bf7
--- /dev/null
@@ -0,0 +1,13 @@
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
+<s:url var="base" value="/" />
+<t:insertDefinition name="test">
+  <t:putAttribute name="title" value="Fast leere einspaltige Seite mit Untermenü und Marginalinhalt" type="string"/>
+  <t:putAttribute name="contentclass" value="cols_1" type="string"/>
+  <t:putAttribute name="maincontent" type="string">
+    <p>Diese Seite ist fast leer...</p>
+  </t:putAttribute>
+</t:insertDefinition>
diff --git a/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-menü.jsp b/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-menü.jsp
new file mode 100644 (file)
index 0000000..9a07678
--- /dev/null
@@ -0,0 +1,14 @@
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
+<s:url var="base" value="/" />
+<t:insertDefinition name="test">
+  <t:putAttribute name="title" value="Fast leere einspaltige Seite mit Untermenü" type="string"/>
+  <t:putAttribute name="contentclass" value="cols_1" type="string"/>
+  <t:putAttribute name="maincontent" type="string">
+    <p>Diese Seite ist fast leer...</p>
+  </t:putAttribute>
+  <t:putAttribute name="marginalcontent" value="" type="string"/>
+</t:insertDefinition>
diff --git a/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig.jsp b/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig.jsp
new file mode 100644 (file)
index 0000000..795a29a
--- /dev/null
@@ -0,0 +1,22 @@
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
+<s:url var="base" value="/" />
+<t:insertDefinition name="test">
+  <t:putAttribute name="title" value="Fast leere einspaltige Seite" type="string"/>
+  <t:putAttribute name="contentclass" value="cols_1" type="string"/>
+  <t:putAttribute name="navigation" type="string">
+    <h1 class="nav">Navigation</h1>
+    <h2 class="nav menu">Section-Menu</h2>
+    <ul id="menu">
+      <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
+      <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
+    </ul>
+  </t:putAttribute>
+  <t:putAttribute name="maincontent" type="string">
+    <p>Diese Seite ist fast leer...</p>
+  </t:putAttribute>
+  <t:putAttribute name="marginalcontent" value="" type="string"/>
+</t:insertDefinition>
diff --git a/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-marginalinhalt.jsp b/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-marginalinhalt.jsp
new file mode 100644 (file)
index 0000000..902f390
--- /dev/null
@@ -0,0 +1,20 @@
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
+<s:url var="base" value="/" />
+<t:insertDefinition name="test">
+  <t:putAttribute name="title" value="Fast leere zweispaltige Seite mit Marginalinhalt" type="string"/>
+  <t:putAttribute name="navigation" type="string">
+    <h1 class="nav">Navigation</h1>
+    <h2 class="nav menu">Section-Menu</h2>
+    <ul id="menu">
+      <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
+      <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
+    </ul>
+  </t:putAttribute>
+  <t:putAttribute name="maincontent" type="string">
+    <p>Diese Seite ist fast leer...</p>
+  </t:putAttribute>
+</t:insertDefinition>
diff --git a/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-menü-und-marginalinhalt.jsp b/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-menü-und-marginalinhalt.jsp
new file mode 100644 (file)
index 0000000..fb66242
--- /dev/null
@@ -0,0 +1,12 @@
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
+<s:url var="base" value="/" />
+<t:insertDefinition name="test">
+  <t:putAttribute name="title" value="Fast leere zweispaltige Seite mit Untermenü und Marginalinhalt" type="string"/>
+  <t:putAttribute name="maincontent" type="string">
+    <p>Diese Seite ist fast leer...</p>
+  </t:putAttribute>
+</t:insertDefinition>
diff --git a/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-menü.jsp b/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-menü.jsp
new file mode 100644 (file)
index 0000000..3362362
--- /dev/null
@@ -0,0 +1,13 @@
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
+<s:url var="base" value="/" />
+<t:insertDefinition name="test">
+  <t:putAttribute name="title" value="Fast leere zweispaltige Seite mit Untermenü" type="string"/>
+  <t:putAttribute name="maincontent" type="string">
+    <p>Diese Seite ist fast leer...</p>
+  </t:putAttribute>
+  <t:putAttribute name="marginalcontent" value="" type="string"/>
+</t:insertDefinition>
diff --git a/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig.jsp b/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig.jsp
new file mode 100644 (file)
index 0000000..521b673
--- /dev/null
@@ -0,0 +1,21 @@
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
+<s:url var="base" value="/" />
+<t:insertDefinition name="test">
+  <t:putAttribute name="title" value="Fast leere zweispaltige Seite" type="string"/>
+  <t:putAttribute name="navigation" type="string">
+    <h1 class="nav">Navigation</h1>
+    <h2 class="nav menu">Section-Menu</h2>
+    <ul id="menu">
+      <li class="m blog"><a href="${base}blog.html" class="m">Blog</a></li>
+      <li class="m projects"><a href="${base}projects.html" class="m">Projects</a></li>
+    </ul>
+  </t:putAttribute>
+  <t:putAttribute name="maincontent" type="string">
+    <p>Diese Seite ist fast leer...</p>
+  </t:putAttribute>
+  <t:putAttribute name="marginalcontent" value="" type="string"/>
+</t:insertDefinition>