From 559ae343aa72db04e12b94acfa0bec30ed9a11f1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 9 Dec 2016 16:14:27 +0300 Subject: juick-spring-www: merge some work from develop branch, port some templates to Thymeleaf --- .../WEB-INF/templates/views/partial/footer.html | 34 ++++++++++++++++++++ .../templates/views/partial/homecolumn.html | 6 ++++ .../templates/views/partial/navigation.html | 37 ++++++++++++++++++++++ .../templates/views/partial/settings_tabs.html | 5 +++ .../WEB-INF/templates/views/partial/tags.html | 3 ++ 5 files changed, 85 insertions(+) create mode 100644 juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/footer.html create mode 100644 juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html create mode 100644 juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/navigation.html create mode 100644 juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/settings_tabs.html create mode 100644 juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial') diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/footer.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/footer.html new file mode 100644 index 00000000..6978a2c0 --- /dev/null +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/footer.html @@ -0,0 +1,34 @@ + + \ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/homecolumn.html new file mode 100644 index 00000000..5293918d --- /dev/null +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/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-spring-www/src/main/webapp/WEB-INF/templates/views/partial/navigation.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/navigation.html new file mode 100644 index 00000000..2863d0c3 --- /dev/null +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/navigation.html @@ -0,0 +1,37 @@ +
+ + + +
+ {% if visitor.getUID() > 0 %} + + + {% else %} +

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

+ {% endif %} +
+
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/settings_tabs.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/settings_tabs.html new file mode 100644 index 00000000..d7901d5e --- /dev/null +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/settings_tabs.html @@ -0,0 +1,5 @@ +
\ No newline at end of file diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html new file mode 100644 index 00000000..4d05b7fb --- /dev/null +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/tags.html @@ -0,0 +1,3 @@ +{% for tag in tags %} + {{ tag }} +{% endfor %} \ No newline at end of file -- cgit v1.2.3