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 --- juick-www/src/main/static/style.css | 11 +++++++++-- .../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 ++++++++++ juick-www/src/main/webapp/WEB-INF/views/404.html | 2 +- juick-www/src/main/webapp/WEB-INF/views/blog.html | 2 +- .../src/main/webapp/WEB-INF/views/blog_tags.html | 2 +- juick-www/src/main/webapp/WEB-INF/views/help.html | 2 +- juick-www/src/main/webapp/WEB-INF/views/index.html | 2 +- .../src/main/webapp/WEB-INF/views/pm_inbox.html | 2 +- .../src/main/webapp/WEB-INF/views/pm_sent.html | 2 +- juick-www/src/main/webapp/WEB-INF/views/post.html | 4 +--- .../src/main/webapp/WEB-INF/views/post_success.html | 4 +--- .../main/webapp/WEB-INF/views/settings_about.html | 2 +- .../webapp/WEB-INF/views/settings_auth-email.html | 2 +- .../main/webapp/WEB-INF/views/settings_main.html | 2 +- .../webapp/WEB-INF/views/settings_password.html | 2 +- .../main/webapp/WEB-INF/views/settings_privacy.html | 2 +- .../main/webapp/WEB-INF/views/settings_result.html | 2 +- juick-www/src/main/webapp/WEB-INF/views/signup.html | 2 +- juick-www/src/main/webapp/WEB-INF/views/thread.html | 2 +- juick-www/src/main/webapp/WEB-INF/views/users.html | 2 +- 22 files changed, 60 insertions(+), 42 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') diff --git a/juick-www/src/main/static/style.css b/juick-www/src/main/static/style.css index 639174c3..ce80e650 100644 --- a/juick-www/src/main/static/style.css +++ b/juick-www/src/main/static/style.css @@ -86,6 +86,11 @@ html { margin: 12px 0 0 0; width: 728px; } +#minimal_content { + margin: 0 auto; + min-width: 310px; + width: auto; +} body > header { box-shadow: 0 0 3px rgba(0, 0, 0, 0.28); background: #fff; @@ -263,10 +268,12 @@ body > header { /* #endregion */ /* #region main content */ - #content > p, #content > h1, -#content > h2 { +#content > h2, +#minimal_content > p, +#minimal_content > h1, +#minimal_content > h2 { margin: 1em 0; } .page { 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" %} -{{ i18n("messages","message.loginForSending", "/login") | raw }}.
-