From 6ea4235635c296991bbae3689d0b7dd735b17480 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 26 Aug 2016 14:13:37 +0300 Subject: pebble WIP --- juick-www/src/main/resources/layouts/content.html | 29 +++++++++++++++++ .../main/resources/views/partial/homecolumn.html | 6 ++++ .../main/resources/views/partial/navigation.html | 37 ++++++++++++++++++++++ .../src/main/resources/views/partial/tags.html | 7 ++++ juick-www/src/main/resources/views/pm_inbox.html | 36 +++++++++++++++++++++ 5 files changed, 115 insertions(+) create mode 100644 juick-www/src/main/resources/layouts/content.html create mode 100644 juick-www/src/main/resources/views/partial/homecolumn.html create mode 100644 juick-www/src/main/resources/views/partial/navigation.html create mode 100644 juick-www/src/main/resources/views/partial/tags.html create mode 100644 juick-www/src/main/resources/views/pm_inbox.html (limited to 'juick-www/src/main/resources') diff --git a/juick-www/src/main/resources/layouts/content.html b/juick-www/src/main/resources/layouts/content.html new file mode 100644 index 00000000..4cc1e2bf --- /dev/null +++ b/juick-www/src/main/resources/layouts/content.html @@ -0,0 +1,29 @@ + + + + + + + + {% block headers %} + {{ headers | raw }} + {% endblock %} + {{ title }} + + + + + +{% include "views/partial/navigation.html" %} +
+ {% block content %} + {% endblock %} +
+ + + \ No newline at end of file diff --git a/juick-www/src/main/resources/views/partial/homecolumn.html b/juick-www/src/main/resources/views/partial/homecolumn.html new file mode 100644 index 00000000..5293918d --- /dev/null +++ b/juick-www/src/main/resources/views/partial/homecolumn.html @@ -0,0 +1,6 @@ +

+ {% include "views/partial/tags.html" %} + {% if showAdv %} + конструктор сайтов + {% endif %} +

\ No newline at end of file diff --git a/juick-www/src/main/resources/views/partial/navigation.html b/juick-www/src/main/resources/views/partial/navigation.html new file mode 100644 index 00000000..7cacf66f --- /dev/null +++ b/juick-www/src/main/resources/views/partial/navigation.html @@ -0,0 +1,37 @@ +
+ + + +
+ {% if visitor.getUID() > 0 %} + + + {% else %} +

Чтобы добавлять сообщения и комментарии, представьтесь. +

+ {% endif %} +
+
\ No newline at end of file diff --git a/juick-www/src/main/resources/views/partial/tags.html b/juick-www/src/main/resources/views/partial/tags.html new file mode 100644 index 00000000..e69a949d --- /dev/null +++ b/juick-www/src/main/resources/views/partial/tags.html @@ -0,0 +1,7 @@ +{% for tag in tags %} + + + {{ tag.Name }} + +{% endfor %} \ No newline at end of file diff --git a/juick-www/src/main/resources/views/pm_inbox.html b/juick-www/src/main/resources/views/pm_inbox.html new file mode 100644 index 00000000..d53c81ba --- /dev/null +++ b/juick-www/src/main/resources/views/pm_inbox.html @@ -0,0 +1,36 @@ +{% extends "layouts/content.html" %} +{% block content %} +{% if not msgs.isEmpty() %} + +{% endif %} +{% endblock %} +{% block "column" %} +{% include "views/partial/homecolumn.html" %} +{% endblock %} \ No newline at end of file -- cgit v1.2.3