From 38a0870d29eec3bad7a82cf7ffd954c1d57f1cdd Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 22 Dec 2013 08:37:00 +0100 Subject: [PATCH 1/1] =?utf8?q?Testseite=20f=C3=BCr=20das=20Basis-Layout=20?= =?utf8?q?implementiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Dafür die neue Tile "htmlhead" eingeführt, die als Vorgabe die vollständige Einbindung von CSS-Styles und JavaScript inklusive Media-Queries usw. enthält. --- src/main/webapp/WEB-INF/spring/tiles.xml | 3 +- .../webapp/WEB-INF/templates/html-head.jsp | 23 +++++++++ .../webapp/WEB-INF/templates/html5page.jsp | 19 +------- .../views/projects/html-experimente.jsp | 4 +- .../WEB-INF/views/test/basis-layout.jsp | 48 +++++++++++++++++++ 5 files changed, 76 insertions(+), 21 deletions(-) create mode 100644 src/main/webapp/WEB-INF/templates/html-head.jsp create mode 100644 src/main/webapp/WEB-INF/views/test/basis-layout.jsp diff --git a/src/main/webapp/WEB-INF/spring/tiles.xml b/src/main/webapp/WEB-INF/spring/tiles.xml index 697c3e41..64c0d953 100644 --- a/src/main/webapp/WEB-INF/spring/tiles.xml +++ b/src/main/webapp/WEB-INF/spring/tiles.xml @@ -6,6 +6,7 @@ + @@ -18,4 +19,4 @@ - \ No newline at end of file + diff --git a/src/main/webapp/WEB-INF/templates/html-head.jsp b/src/main/webapp/WEB-INF/templates/html-head.jsp new file mode 100644 index 00000000..1cf205c6 --- /dev/null +++ b/src/main/webapp/WEB-INF/templates/html-head.jsp @@ -0,0 +1,23 @@ +<%@page contentType="text/html;charset=UTF-8"%> +<%@page pageEncoding="UTF-8"%> +<%@page session="false" %> +<%@taglib uri="http://www.springframework.org/tags" prefix="s"%> + + + + + + + + diff --git a/src/main/webapp/WEB-INF/templates/html5page.jsp b/src/main/webapp/WEB-INF/templates/html5page.jsp index 3a809047..8535b793 100644 --- a/src/main/webapp/WEB-INF/templates/html5page.jsp +++ b/src/main/webapp/WEB-INF/templates/html5page.jsp @@ -9,24 +9,7 @@ juplo - <t:getAsString name="title"/> - - - - - - - +
cf"> 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 a273fb65..5216984f 100644 --- a/src/main/webapp/WEB-INF/views/projects/html-experimente.jsp +++ b/src/main/webapp/WEB-INF/views/projects/html-experimente.jsp @@ -32,9 +32,9 @@ +

Alle HTML-Experimente

diff --git a/src/main/webapp/WEB-INF/views/test/basis-layout.jsp b/src/main/webapp/WEB-INF/views/test/basis-layout.jsp new file mode 100644 index 00000000..071181ff --- /dev/null +++ b/src/main/webapp/WEB-INF/views/test/basis-layout.jsp @@ -0,0 +1,48 @@ +<%@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"%> + + + + + + + + +
  • Home
  • +
  • Projects
  • +
  • HTML-Experimente
  • +
    + +

    Navigation

    + + + + +
    + +

    + In diese Seite ist nur das Basis-Layout eingebunden + (/css/base.css). +

    +

    Weitere HTML-Experimente

    +
      +
    • Basis-Layout
    • +
    +
    +
    -- 2.20.1