aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/layouts')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/layouts/content.html20
-rw-r--r--juick-www/src/main/webapp/WEB-INF/layouts/default.html21
-rw-r--r--juick-www/src/main/webapp/WEB-INF/layouts/minimal.html10
3 files changed, 33 insertions, 18 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/layouts/content.html b/juick-www/src/main/webapp/WEB-INF/layouts/content.html
index f4ca0d84..4c283116 100644
--- a/juick-www/src/main/webapp/WEB-INF/layouts/content.html
+++ b/juick-www/src/main/webapp/WEB-INF/layouts/content.html
@@ -44,23 +44,7 @@
</script>
</head>
<body id="body" {% if visitor.uid > 0 %}data-hash="{{visitor.authHash}}"{% endif %}>
-{% include "views/partial/navigation" %}
-<div id="wrapper">
- {% if visitor.uid == 0 %}
- <div class="page">
- <p>{{ i18n("messages","message.loginForSending", "/login") | raw }}.</p>
- </div>
- {% endif %}
-<section id="content"
- {% if msg | default('') is not empty %}data-mid="{{ msg.mid }}"{% endif %}>
- {% block content %}
- {% endblock %}
-</section>
-<aside id="column">
- {% block column %}
- {% endblock %}
-</aside>
-</div>
-{% include "views/partial/footer" %}
+{% block body %}
+{% endblock %}
</body>
</html>
diff --git a/juick-www/src/main/webapp/WEB-INF/layouts/default.html b/juick-www/src/main/webapp/WEB-INF/layouts/default.html
new file mode 100644
index 00000000..f056322f
--- /dev/null
+++ b/juick-www/src/main/webapp/WEB-INF/layouts/default.html
@@ -0,0 +1,21 @@
+{% extends "layouts/content" %}
+{% block body %}
+{% include "views/partial/navigation" %}
+<div id="wrapper">
+ {% if visitor.uid == 0 %}
+ <div class="page">
+ <p>{{ i18n("messages","message.loginForSending", "/login") | raw }}.</p>
+ </div>
+ {% endif %}
+ <section id="content"
+ {% if msg | default('') is not empty %}data-mid="{{ msg.mid }}"{% endif %}>
+ {% block content %}
+ {% endblock %}
+ </section>
+ <aside id="column">
+ {% block column %}
+ {% endblock %}
+ </aside>
+</div>
+{% include "views/partial/footer" %}
+{% endblock %} \ No newline at end of file
diff --git a/juick-www/src/main/webapp/WEB-INF/layouts/minimal.html b/juick-www/src/main/webapp/WEB-INF/layouts/minimal.html
new file mode 100644
index 00000000..15924521
--- /dev/null
+++ b/juick-www/src/main/webapp/WEB-INF/layouts/minimal.html
@@ -0,0 +1,10 @@
+{% extends "layouts/content" %}
+{% block body %}
+<div id="wrapper">
+ <section id="minimal_content">
+ {% block content %}
+ {% endblock %}
+ </section>
+</div>
+{% include "views/partial/footer" %}
+{% endblock %} \ No newline at end of file