From 5ed39dda637059d56f6d8c501880ec9bca7b2fee Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 7 Feb 2018 12:49:00 +0300 Subject: www: hide navigation in post --- .../src/main/webapp/WEB-INF/layouts/content.html | 20 ++------------------ .../src/main/webapp/WEB-INF/layouts/default.html | 21 +++++++++++++++++++++ .../src/main/webapp/WEB-INF/layouts/minimal.html | 10 ++++++++++ 3 files changed, 33 insertions(+), 18 deletions(-) create mode 100644 juick-www/src/main/webapp/WEB-INF/layouts/default.html create mode 100644 juick-www/src/main/webapp/WEB-INF/layouts/minimal.html (limited to 'juick-www/src/main/webapp/WEB-INF/layouts') 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 @@ 0 %}data-hash="{{visitor.authHash}}"{% endif %}> -{% include "views/partial/navigation" %} -
- {% if visitor.uid == 0 %} -
-

{{ i18n("messages","message.loginForSending", "/login") | raw }}.

-
- {% endif %} -
- {% block content %} - {% endblock %} -
- -
-{% include "views/partial/footer" %} +{% block body %} +{% endblock %} 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" %} +
+ {% if visitor.uid == 0 %} +
+

{{ i18n("messages","message.loginForSending", "/login") | raw }}.

+
+ {% endif %} +
+ {% block content %} + {% endblock %} +
+ +
+{% 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 %} +
+
+ {% block content %} + {% endblock %} +
+
+{% include "views/partial/footer" %} +{% endblock %} \ No newline at end of file -- cgit v1.2.3