From ff106a64431e6510267ab0677c41d95d555b3956 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 19 Oct 2017 16:34:02 +0300 Subject: www: new design --- .../src/main/webapp/WEB-INF/layouts/content.html | 9 +++- juick-www/src/main/webapp/WEB-INF/views/index.html | 4 ++ .../src/main/webapp/WEB-INF/views/macros/tree.html | 3 -- .../main/webapp/WEB-INF/views/partial/footer.html | 3 +- .../main/webapp/WEB-INF/views/partial/message.html | 34 +++++++------ .../webapp/WEB-INF/views/partial/navigation.html | 43 +++++----------- .../webapp/WEB-INF/views/partial/thread_list.html | 3 -- .../webapp/WEB-INF/views/partial/usercolumn.html | 33 ++++++++---- .../src/main/webapp/WEB-INF/views/pm_inbox.html | 2 +- .../src/main/webapp/WEB-INF/views/pm_sent.html | 2 +- .../src/main/webapp/WEB-INF/views/thread.html | 59 ++++++++++------------ 11 files changed, 96 insertions(+), 99 deletions(-) (limited to 'juick-www/src/main/webapp') 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 9ced2d76..73d140f1 100644 --- a/juick-www/src/main/webapp/WEB-INF/layouts/content.html +++ b/juick-www/src/main/webapp/WEB-INF/layouts/content.html @@ -46,8 +46,13 @@ 0 %}data-hash="{{visitor.authHash}}"{% endif %}> {% include "views/partial/navigation" %}
-
+ {% if visitor.uid == 0 %} +
+

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

+
+ {% endif %} +
{% block content %} {% endblock %}
diff --git a/juick-www/src/main/webapp/WEB-INF/views/index.html b/juick-www/src/main/webapp/WEB-INF/views/index.html index 51590ce0..23d208b6 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/index.html +++ b/juick-www/src/main/webapp/WEB-INF/views/index.html @@ -12,7 +12,11 @@ {% endif %} {% endblock %} {% block "column" %} +{% if visitor.uid > 0 %} +{% include "views/partial/usercolumn" %} +{% else %} {% include "views/partial/homecolumn" %} +{% endif %} {% if noindex %} {% endif %} diff --git a/juick-www/src/main/webapp/WEB-INF/views/macros/tree.html b/juick-www/src/main/webapp/WEB-INF/views/macros/tree.html index f0c283e9..bb2507aa 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/macros/tree.html +++ b/juick-www/src/main/webapp/WEB-INF/views/macros/tree.html @@ -15,9 +15,6 @@
{% endif %} -
- -