Testseite für Markup-Kontrolle ohne störendes Layout implementiert
authorKai Moritz <km@feder-software.de>
Tue, 24 Dec 2013 00:11:24 +0000 (01:11 +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/test/kein-layout.jsp [new file with mode: 0644]

index 4362f5c..3653651 100644 (file)
@@ -16,6 +16,7 @@
 </ul>
 <h2>Layout-Variationen</h2>
 <ul>
 </ul>
 <h2>Layout-Variationen</h2>
 <ul>
+  <li><a href="${base}test/kein-layout.html">Alle Stylings deaktiviert</a></li>
   <li><a href="${base}test/basis-layout.html">Nur das Basis-Layout</a></li>
   <li><a href="${base}test/tiny.html">Layout für sehr kleine Bildschirmgrößen</a></li>
   <li><a href="${base}test/phone.html">Layout für Smartphones</a></li>
   <li><a href="${base}test/basis-layout.html">Nur das Basis-Layout</a></li>
   <li><a href="${base}test/tiny.html">Layout für sehr kleine Bildschirmgrößen</a></li>
   <li><a href="${base}test/phone.html">Layout für Smartphones</a></li>
diff --git a/src/main/webapp/WEB-INF/views/test/kein-layout.jsp b/src/main/webapp/WEB-INF/views/test/kein-layout.jsp
new file mode 100644 (file)
index 0000000..f3ef2c0
--- /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="Nur das Basis-Layout" type="string"/>
+  <t:putAttribute name="htmlhead" type="string" value=""/>
+  <t:putAttribute name="maincontent" type="string">
+    <p>
+      In diese Seite ist nur das Basis-Layout eingebunden
+      (<code>/css/base.css</code>).
+    </p>
+    <section>
+      <h1>Weitere Experimente</h1>
+      <t:insertTemplate template="/WEB-INF/templates/test/experimente.jsp"/>
+    </section>
+  </t:putAttribute>
+</t:insertDefinition>