From f11b79d8af34e290bbdee15ae1348bd236b8fe2b Mon Sep 17 00:00:00 2001 From: Kai Moritz <km@feder-software.de> Date: Sun, 22 Dec 2013 09:34:26 +0100 Subject: [PATCH] =?utf8?q?Testseite=20f=C3=BCr=20den=20Seitenkopf=20entwic?= =?utf8?q?kelt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../views/projects/html-experimente.jsp | 1 + .../WEB-INF/views/test/basis-layout.jsp | 1 + .../WEB-INF/views/test/seitenaufteilung.jsp | 1 + .../webapp/WEB-INF/views/test/seitenkopf.jsp | 53 +++++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 src/main/webapp/WEB-INF/views/test/seitenkopf.jsp diff --git a/src/main/webapp/WEB-INF/views/projects/html-experimente.jsp b/src/main/webapp/WEB-INF/views/projects/html-experimente.jsp index 81006a7c..52bec65d 100644 --- a/src/main/webapp/WEB-INF/views/projects/html-experimente.jsp +++ b/src/main/webapp/WEB-INF/views/projects/html-experimente.jsp @@ -36,6 +36,7 @@ <ul> <li><a href="${base}test/basis-layout.html">Nur das Basis-Layout</a></li> <li><a href="${base}test/seitenaufteilung.html">Nur das Basis-Layout und die Seitenaufteilung</a></li> + <li><a href="${base}test/seitenkopf.html">Nur das Basis-Layout und der Seitenkopf</a></li> </ul> </t:putAttribute> </t:insertDefinition> diff --git a/src/main/webapp/WEB-INF/views/test/basis-layout.jsp b/src/main/webapp/WEB-INF/views/test/basis-layout.jsp index bccf585c..5d406dec 100644 --- a/src/main/webapp/WEB-INF/views/test/basis-layout.jsp +++ b/src/main/webapp/WEB-INF/views/test/basis-layout.jsp @@ -44,6 +44,7 @@ <ul> <li><strong>Basis-Layout</strong></li> <li><a href="${base}test/seitenaufteilung.html">Nur das Basis-Layout und die Seitenaufteilung</a></li> + <li><a href="${base}test/seitenkopf.html">Nur das Basis-Layout und der Seitenkopf</a></li> </ul> </t:putAttribute> </t:insertDefinition> diff --git a/src/main/webapp/WEB-INF/views/test/seitenaufteilung.jsp b/src/main/webapp/WEB-INF/views/test/seitenaufteilung.jsp index 7bfa0c6b..5d693133 100644 --- a/src/main/webapp/WEB-INF/views/test/seitenaufteilung.jsp +++ b/src/main/webapp/WEB-INF/views/test/seitenaufteilung.jsp @@ -47,6 +47,7 @@ <ul> <li><a href="${base}test/basis-layout.html">Basis-Layout</a></li> <li><strong>Nur das Basis-Layout und die Seitenaufteilung</strong></li> + <li><a href="${base}test/seitenkopf.html">Nur das Basis-Layout und der Seitenkopf</a></li> </ul> </t:putAttribute> </t:insertDefinition> diff --git a/src/main/webapp/WEB-INF/views/test/seitenkopf.jsp b/src/main/webapp/WEB-INF/views/test/seitenkopf.jsp new file mode 100644 index 00000000..47ee6290 --- /dev/null +++ b/src/main/webapp/WEB-INF/views/test/seitenkopf.jsp @@ -0,0 +1,53 @@ +<%@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="BASEPAGE"> + <t:putAttribute name="title" value="Nur das Basis-Layout und der Seitenkopf" type="string"/> + <t:putAttribute name="htmlhead" type="string"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" type="text/css" href="${base}css/base.css" /> + <link rel="stylesheet/less" type="text/css" href="/less/screen/head.less" /> + <script src="/js/less.js" type="text/javascript"></script> + </t:putAttribute> + <t:putAttribute name="breadcrumb"> + <li class="b"><a class="b" href="${base}index.html">Home</a></li> + <li class="b"><a class="b" href="${base}projects.html">Projects</a></li> + <li class="b"><strong class="b">HTML-Experimente</strong></li> + </t:putAttribute> + <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 selected">Projects</a></li> + </ul> + <h2 class="nav submenu"> + <span class="s">Submenu for section</span> + <a class="s selected" href="${base}projects.html">Projects</a> + </h2> + <ul id="submenu" class="s active"> + <li class="s sub"><a href="#" class="s">hibernate4-maven-plugin</a></li> + <li class="s sub"><a href="${base}projects/fix-swf.html" class="s">fix-swf</a></li> + <li class="s"><a href="#" class="s">jquery.openx</a></li> + <li class="s"><strong class="s">HTML-Experimente</strong></li> + <li class="s sub"><a href="#" class="s">accelerator</a></li> + <li class="s"><a href="${base}projects/typo.html" class="s">Typography</a></li> + </ul> + </t:putAttribute> + <t:putAttribute name="maincontent" type="string"> + <p> + In diese Seite sind nur das Basis-Layout (<code>/css/base.css</code>) + und der Seitenkopf (<code>/less/screen/head.less</code>) + eingebunden. + </p> + <h2>Weitere HTML-Experimente</h2> + <ul> + <li><a href="${base}test/basis-layout.html">Basis-Layout</a></li> + <li><a href="${base}test/seitenaufteilung.html">Nur das Basis-Layout und die Seitenaufteilung</a></li> + <li><strong>Nur das Basis-Layout und der Seitenkopf</strong></li> + </ul> + </t:putAttribute> +</t:insertDefinition> -- 2.20.1