From 1f11da5a5ebce0e7213e20f0c923edd5f1532826 Mon Sep 17 00:00:00 2001 From: Kai Moritz <km@feder-software.de> Date: Sun, 22 Dec 2013 12:04:27 +0100 Subject: [PATCH] =?utf8?q?Testseiten=20f=C3=BCr=20extrem=20Layout-Grenzf?= =?utf8?q?=C3=A4lle=20angelegt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/templates/test/experimente.jsp | 11 ++++++++++ src/main/webapp/WEB-INF/views/contact.jsp | 1 + ...ast-leer-einspaltig-mit-marginalinhalt.jsp | 21 ++++++++++++++++++ ...ig-mit-men\303\274-und-marginalinhalt.jsp" | 13 +++++++++++ .../fast-leer-einspaltig-mit-men\303\274.jsp" | 14 ++++++++++++ .../views/test/fast-leer-einspaltig.jsp | 22 +++++++++++++++++++ ...st-leer-zweispaltig-mit-marginalinhalt.jsp | 20 +++++++++++++++++ ...ig-mit-men\303\274-und-marginalinhalt.jsp" | 12 ++++++++++ ...fast-leer-zweispaltig-mit-men\303\274.jsp" | 13 +++++++++++ .../views/test/fast-leer-zweispaltig.jsp | 21 ++++++++++++++++++ 10 files changed, 148 insertions(+) create mode 100644 src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-marginalinhalt.jsp create mode 100644 "src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-men\303\274-und-marginalinhalt.jsp" create mode 100644 "src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-men\303\274.jsp" create mode 100644 src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig.jsp create mode 100644 src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-marginalinhalt.jsp create mode 100644 "src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-men\303\274-und-marginalinhalt.jsp" create mode 100644 "src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-men\303\274.jsp" create mode 100644 src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig.jsp diff --git a/src/main/webapp/WEB-INF/templates/test/experimente.jsp b/src/main/webapp/WEB-INF/templates/test/experimente.jsp index f50d180a..4362f5c9 100644 --- a/src/main/webapp/WEB-INF/templates/test/experimente.jsp +++ b/src/main/webapp/WEB-INF/templates/test/experimente.jsp @@ -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> diff --git a/src/main/webapp/WEB-INF/views/contact.jsp b/src/main/webapp/WEB-INF/views/contact.jsp index 668d6482..c9d72f56 100644 --- a/src/main/webapp/WEB-INF/views/contact.jsp +++ b/src/main/webapp/WEB-INF/views/contact.jsp @@ -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 index 00000000..c719c8bc --- /dev/null +++ b/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-marginalinhalt.jsp @@ -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\303\274-und-marginalinhalt.jsp" "b/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-men\303\274-und-marginalinhalt.jsp" new file mode 100644 index 00000000..5063bf7c --- /dev/null +++ "b/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-men\303\274-und-marginalinhalt.jsp" @@ -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\303\274.jsp" "b/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-men\303\274.jsp" new file mode 100644 index 00000000..9a07678d --- /dev/null +++ "b/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig-mit-men\303\274.jsp" @@ -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 index 00000000..795a29a4 --- /dev/null +++ b/src/main/webapp/WEB-INF/views/test/fast-leer-einspaltig.jsp @@ -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 index 00000000..902f390d --- /dev/null +++ b/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-marginalinhalt.jsp @@ -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\303\274-und-marginalinhalt.jsp" "b/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-men\303\274-und-marginalinhalt.jsp" new file mode 100644 index 00000000..fb662421 --- /dev/null +++ "b/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-men\303\274-und-marginalinhalt.jsp" @@ -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\303\274.jsp" "b/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-men\303\274.jsp" new file mode 100644 index 00000000..33623623 --- /dev/null +++ "b/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig-mit-men\303\274.jsp" @@ -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 index 00000000..521b673c --- /dev/null +++ b/src/main/webapp/WEB-INF/views/test/fast-leer-zweispaltig.jsp @@ -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> -- 2.20.1