From d91c5508f2172347e18ad93f6048582deda4ae02 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 26 Feb 2018 12:06:10 +0300 Subject: www: move templates to resources --- .../main/webapp/WEB-INF/views/partial/footer.html | 17 ----- .../webapp/WEB-INF/views/partial/homecolumn.html | 23 ------ .../main/webapp/WEB-INF/views/partial/message.html | 70 ----------------- .../webapp/WEB-INF/views/partial/navigation.html | 24 ------ .../WEB-INF/views/partial/settings_tabs.html | 6 -- .../webapp/WEB-INF/views/partial/tagcolumn.html | 33 -------- .../main/webapp/WEB-INF/views/partial/tags.html | 3 - .../webapp/WEB-INF/views/partial/thread_list.html | 49 ------------ .../webapp/WEB-INF/views/partial/thread_tree.html | 2 - .../webapp/WEB-INF/views/partial/usercolumn.html | 89 ---------------------- .../webapp/WEB-INF/views/partial/usertags.html | 3 - 11 files changed, 319 deletions(-) delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/footer.html delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/homecolumn.html delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/message.html delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/tagcolumn.html delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/tags.html delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/thread_tree.html delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/usercolumn.html delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/usertags.html (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial') diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html deleted file mode 100644 index 87744183..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html +++ /dev/null @@ -1,17 +0,0 @@ - diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/homecolumn.html b/juick-www/src/main/webapp/WEB-INF/views/partial/homecolumn.html deleted file mode 100644 index 6142e9e9..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/homecolumn.html +++ /dev/null @@ -1,23 +0,0 @@ - -

- {% include "views/partial/tags" %} - {% if showAdv | default(false) %} - конструктор сайтов - {% endif %} -

\ No newline at end of file diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html deleted file mode 100644 index 9e3ede6c..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html +++ /dev/null @@ -1,70 +0,0 @@ -
-
- -
- {{ msg.user.name }} -
- -
- {{ tags(msg.user.name, msg.tags | tagsList) }} -
-
-

{{ msg | formatMessage }}

- {% if msg.AttachmentType is not empty %} -

- -

- {% endif %} - -
\ No newline at end of file diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html deleted file mode 100644 index 7afabcc3..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html +++ /dev/null @@ -1,24 +0,0 @@ -
-
- - - -
-
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html b/juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html deleted file mode 100644 index 4715253e..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html +++ /dev/null @@ -1,6 +0,0 @@ -
\ No newline at end of file diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/tagcolumn.html b/juick-www/src/main/webapp/WEB-INF/views/partial/tagcolumn.html deleted file mode 100644 index 3e61d3d3..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/tagcolumn.html +++ /dev/null @@ -1,33 +0,0 @@ -
-

*{{ tag.name }}

-
-{% if visitor is not empty and visitor.uid > 0 %} - -{% endif %} diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/tags.html b/juick-www/src/main/webapp/WEB-INF/views/partial/tags.html deleted file mode 100644 index 3235213e..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/tags.html +++ /dev/null @@ -1,3 +0,0 @@ -{% for tag in tags %} - {{ tag | raw }} -{% endfor %} \ No newline at end of file diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html b/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html deleted file mode 100644 index f273dec7..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html +++ /dev/null @@ -1,49 +0,0 @@ -{% for msg in replies %} -
  • -
    -
    - {% if not msg.user.banned %} - {{ msg.user.name }} -
    - {{ msg.user.name }} -
    - {% else %} - [удалено]: -
    - -
    - {% endif %} - -
    -
    {{ msg | formatMessage }}
    - {% if msg.AttachmentType is not empty %} -
    - - - -
    - {% endif %} - -
    - {% elseif visitor.uid == 0 %} - · -
    - {% else %} - - {% endif %} - -
  • -{% endfor %} \ No newline at end of file diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/thread_tree.html b/juick-www/src/main/webapp/WEB-INF/views/partial/thread_tree.html deleted file mode 100644 index f207b8e0..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/thread_tree.html +++ /dev/null @@ -1,2 +0,0 @@ -{% import "views/macros/tree" %} -{{ tree(replies, visitor, 0, 0, false) }} \ No newline at end of file diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/usercolumn.html b/juick-www/src/main/webapp/WEB-INF/views/partial/usercolumn.html deleted file mode 100644 index 382c3622..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/usercolumn.html +++ /dev/null @@ -1,89 +0,0 @@ -
    - - {{ user.name }} - -
    -{% if visitor is not empty and visitor.uid > 0 and visitor.uid != user.uid %} - -{% else %} -
    -{% endif %} - -
    -
    -

    -
    -{% include "views/partial/usertags" %} -
    -
    - - {% if iread is not empty %} -
    - {% for u in iread %} - - - {{ u.name }} - - - {% endfor %} -
    - {% endif %} - -
    diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/usertags.html b/juick-www/src/main/webapp/WEB-INF/views/partial/usertags.html deleted file mode 100644 index 71d1303e..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/usertags.html +++ /dev/null @@ -1,3 +0,0 @@ -{% import "views/macros/tags" %} -{{ tags(user.name, tagStats) }} -... \ No newline at end of file -- cgit v1.2.3