From b034b3ede4844c6873fef9b2f031d698bc8b0327 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 31 Mar 2021 00:21:12 +0300 Subject: Gradle -> Maven --- src/main/resources/templates/views/404.html | 11 -- src/main/resources/templates/views/blog.html | 24 --- src/main/resources/templates/views/blog_tags.html | 10 -- src/main/resources/templates/views/help.html | 12 -- src/main/resources/templates/views/index.html | 29 ---- .../resources/templates/views/login_success.html | 13 -- .../resources/templates/views/macros/tags.html | 11 -- .../resources/templates/views/partial/footer.html | 11 -- .../templates/views/partial/homecolumn.html | 25 --- .../resources/templates/views/partial/message.html | 87 ---------- .../templates/views/partial/navigation.html | 43 ----- .../templates/views/partial/settings_tabs.html | 11 -- .../templates/views/partial/tagcolumn.html | 26 --- .../resources/templates/views/partial/tags.html | 3 - .../templates/views/partial/usercolumn.html | 93 ---------- .../templates/views/partial/usertags.html | 3 - src/main/resources/templates/views/pm_inbox.html | 35 ---- src/main/resources/templates/views/pm_sent.html | 33 ---- src/main/resources/templates/views/post.html | 22 --- .../resources/templates/views/post_success.html | 19 --- .../resources/templates/views/settings_about.html | 20 --- .../templates/views/settings_auth-email.html | 9 - .../resources/templates/views/settings_main.html | 154 ----------------- .../templates/views/settings_password.html | 17 -- .../templates/views/settings_privacy.html | 9 - .../resources/templates/views/settings_result.html | 9 - src/main/resources/templates/views/signup.html | 43 ----- .../resources/templates/views/signup_result.html | 6 - src/main/resources/templates/views/thread.html | 188 --------------------- src/main/resources/templates/views/users.html | 17 -- 30 files changed, 993 deletions(-) delete mode 100644 src/main/resources/templates/views/404.html delete mode 100644 src/main/resources/templates/views/blog.html delete mode 100644 src/main/resources/templates/views/blog_tags.html delete mode 100644 src/main/resources/templates/views/help.html delete mode 100644 src/main/resources/templates/views/index.html delete mode 100644 src/main/resources/templates/views/login_success.html delete mode 100644 src/main/resources/templates/views/macros/tags.html delete mode 100644 src/main/resources/templates/views/partial/footer.html delete mode 100644 src/main/resources/templates/views/partial/homecolumn.html delete mode 100644 src/main/resources/templates/views/partial/message.html delete mode 100644 src/main/resources/templates/views/partial/navigation.html delete mode 100644 src/main/resources/templates/views/partial/settings_tabs.html delete mode 100644 src/main/resources/templates/views/partial/tagcolumn.html delete mode 100644 src/main/resources/templates/views/partial/tags.html delete mode 100644 src/main/resources/templates/views/partial/usercolumn.html delete mode 100644 src/main/resources/templates/views/partial/usertags.html delete mode 100644 src/main/resources/templates/views/pm_inbox.html delete mode 100644 src/main/resources/templates/views/pm_sent.html delete mode 100644 src/main/resources/templates/views/post.html delete mode 100644 src/main/resources/templates/views/post_success.html delete mode 100644 src/main/resources/templates/views/settings_about.html delete mode 100644 src/main/resources/templates/views/settings_auth-email.html delete mode 100644 src/main/resources/templates/views/settings_main.html delete mode 100644 src/main/resources/templates/views/settings_password.html delete mode 100644 src/main/resources/templates/views/settings_privacy.html delete mode 100644 src/main/resources/templates/views/settings_result.html delete mode 100644 src/main/resources/templates/views/signup.html delete mode 100644 src/main/resources/templates/views/signup_result.html delete mode 100644 src/main/resources/templates/views/thread.html delete mode 100644 src/main/resources/templates/views/users.html (limited to 'src/main/resources/templates/views') diff --git a/src/main/resources/templates/views/404.html b/src/main/resources/templates/views/404.html deleted file mode 100644 index 02a790e6..00000000 --- a/src/main/resources/templates/views/404.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -
-

Страница не найдена

-

Сожалеем, но страницу с этим адресом удалил её автор, либо её никогда не существовало.

-
-{% endblock %} - -{% block "column" %} -{% include "views/partial/homecolumn" %} -{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/blog.html b/src/main/resources/templates/views/blog.html deleted file mode 100644 index 8d6a6581..00000000 --- a/src/main/resources/templates/views/blog.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "layouts/default" %} -{% import "views/macros/tags" %} -{% block content %} -{% if noindex %} - -{% endif %} -{% if paramTag | default('') is not empty %} -

← {{ i18n("messages","blog.allPostsWithTag") }} {{ paramTag.name | escape }}

-{% endif %} -
-{% for msg in msgs %} -{% include "views/partial/message" %} -{% endfor %} -
-{% if nextpage | default('') is not empty %} -

-{% endif %} -{% if noindex %} - -{% endif %} -{% endblock %} -{% block "column" %} -{% include "views/partial/usercolumn" %} -{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/blog_tags.html b/src/main/resources/templates/views/blog_tags.html deleted file mode 100644 index 48e517eb..00000000 --- a/src/main/resources/templates/views/blog_tags.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "layouts/default" %} -{% import "views/macros/tags" %} -{% block content %} -

- {{ tags(user.name, tags) }} -

-{% endblock %} -{% block "column" %} -{% include "views/partial/usercolumn" %} -{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/help.html b/src/main/resources/templates/views/help.html deleted file mode 100644 index 169ccb3f..00000000 --- a/src/main/resources/templates/views/help.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -
- {{ content | raw }} -
-{% endblock %} - -{% block "column" %} -
-{{ navigation | raw }} -
-{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/index.html b/src/main/resources/templates/views/index.html deleted file mode 100644 index e85a3aa1..00000000 --- a/src/main/resources/templates/views/index.html +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "layouts/default" %} -{% import "views/macros/tags" %} -{% block content %} -{% if noindex %} - -{% endif %} -{% for msg in msgs %} -{% include "views/partial/message" %} -{% endfor %} -{% if nextpage | default('') is not empty %} -

-{% endif %} -{% if noindex %} - -{% endif %} -{% endblock %} -{% block "column" %} -{% if tag | default('') is not empty %} -{% include "views/partial/tagcolumn" %} -{% elseif visitor.uid > 0 %} -{% if discover %} -{% include "views/partial/homecolumn" %} -{% else %} -{% include "views/partial/usercolumn" %} -{% endif %} -{% else %} -{% include "views/partial/homecolumn" %} -{% endif %} -{% endblock %} diff --git a/src/main/resources/templates/views/login_success.html b/src/main/resources/templates/views/login_success.html deleted file mode 100644 index ee71f12f..00000000 --- a/src/main/resources/templates/views/login_success.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Blank window - - - - - diff --git a/src/main/resources/templates/views/macros/tags.html b/src/main/resources/templates/views/macros/tags.html deleted file mode 100644 index 08687f5a..00000000 --- a/src/main/resources/templates/views/macros/tags.html +++ /dev/null @@ -1,11 +0,0 @@ -{% macro tags(uname="", tagsList) %} -{% for tag in tagsList %} -{{ tag }} -{% endfor %} -{% endmacro %} - -{% macro allTags(baseUri, tagsList) %} -{% for tag in tagsList %} -#{{ tag }} -{% endfor %} -{% endmacro %} \ No newline at end of file diff --git a/src/main/resources/templates/views/partial/footer.html b/src/main/resources/templates/views/partial/footer.html deleted file mode 100644 index 9a627373..00000000 --- a/src/main/resources/templates/views/partial/footer.html +++ /dev/null @@ -1,11 +0,0 @@ - diff --git a/src/main/resources/templates/views/partial/homecolumn.html b/src/main/resources/templates/views/partial/homecolumn.html deleted file mode 100644 index a4cca153..00000000 --- a/src/main/resources/templates/views/partial/homecolumn.html +++ /dev/null @@ -1,25 +0,0 @@ -
- - - Top - - - - {{ i18n("messages","link.allMessages") }} - - - - {{ i18n("messages", "link.withPhotos") }} - -
-
-

{{ i18n("messages","link.trends") }}

- {% include "views/partial/tags" %} - {% if showAdv | default(false) %} -

Наши друзья

- - Работа в России - - {% endif %} -
-{% include "views/partial/footer" %} \ No newline at end of file diff --git a/src/main/resources/templates/views/partial/message.html b/src/main/resources/templates/views/partial/message.html deleted file mode 100644 index 47dfb6c5..00000000 --- a/src/main/resources/templates/views/partial/message.html +++ /dev/null @@ -1,87 +0,0 @@ -
-
- - {{ msg.user.name }} - -
- {{ msg.user.name }} -
-
- {% if msg.FriendsOnly %} - · - {% endif %} - - - - {% if msg.created != msg.updatedAt %} - · Edited - {% endif %} -
-
-
- - {{ 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/src/main/resources/templates/views/partial/navigation.html b/src/main/resources/templates/views/partial/navigation.html deleted file mode 100644 index 184c8f2b..00000000 --- a/src/main/resources/templates/views/partial/navigation.html +++ /dev/null @@ -1,43 +0,0 @@ - diff --git a/src/main/resources/templates/views/partial/settings_tabs.html b/src/main/resources/templates/views/partial/settings_tabs.html deleted file mode 100644 index 00f7068a..00000000 --- a/src/main/resources/templates/views/partial/settings_tabs.html +++ /dev/null @@ -1,11 +0,0 @@ -
-
- {{ i18n("messages","link.settings.main") }} - {{ i18n("messages","link.settings.password") }} - {{ i18n("messages","link.settings.about") }} - {{ i18n("messages","link.logout") }} -
-
- - {% include "views/partial/footer" %} - \ No newline at end of file diff --git a/src/main/resources/templates/views/partial/tagcolumn.html b/src/main/resources/templates/views/partial/tagcolumn.html deleted file mode 100644 index a7728ef3..00000000 --- a/src/main/resources/templates/views/partial/tagcolumn.html +++ /dev/null @@ -1,26 +0,0 @@ -
-

*{{ tag.name }}

-
-{% if visitor is not empty and visitor.uid > 0 %} -
- {% if isSubscribed %} - - Subscribed - - {% else %} - - Subscribe - - {% endif %} - {% if isInBL %} - - Unblock - - {% else %} - - Block - - {% endif %} -
-{% endif %} -{% include "views/partial/footer" %} \ No newline at end of file diff --git a/src/main/resources/templates/views/partial/tags.html b/src/main/resources/templates/views/partial/tags.html deleted file mode 100644 index 4d05b7fb..00000000 --- a/src/main/resources/templates/views/partial/tags.html +++ /dev/null @@ -1,3 +0,0 @@ -{% for tag in tags %} - {{ tag }} -{% endfor %} \ No newline at end of file diff --git a/src/main/resources/templates/views/partial/usercolumn.html b/src/main/resources/templates/views/partial/usercolumn.html deleted file mode 100644 index ee9ab267..00000000 --- a/src/main/resources/templates/views/partial/usercolumn.html +++ /dev/null @@ -1,93 +0,0 @@ -
- {% if visitor is not empty and visitor.uid > 0 and visitor.uid != user.uid %} -
- - {{ user.name }} - -
- {% if isSubscribed %} - - - Subscribed - - {% else %} - - - Subscribe - - {% endif %} - {% if isInBL %} - - - Unblock - - {% else %} - - - Block - - {% endif %} - {% if not isInBLAny %} - - - PM - - {% endif %} - {% endif %} - {% if visitor is not empty and visitor.uid == user.uid %} - - {{ i18n("messages","link.my") }} - - - {{ i18n("messages","link.privateMessages") }} - - - {{ i18n("messages","link.discuss") }} - - {% endif %} - {% if visitor is not empty and visitor.uid == user.uid and false %} - {{ i18n("messages","blog.comments") }} - Неотвеченные - {% endif %} - {% if visitor is not empty and visitor.uid == user.uid %} - - - - {% if not visitor.verified %} - - {% else %} - {{ i18n("messages","link.settings") }} - {% endif %} - - {% endif %} -
-
-

-
- - {% include "views/partial/usertags" %} - -
- - {% if iread is not empty %} -
- {% for u in iread %} - - - {{ u.name }} - - - {% endfor %} -
- {% endif %} - -
-{% include "views/partial/footer" %} \ No newline at end of file diff --git a/src/main/resources/templates/views/partial/usertags.html b/src/main/resources/templates/views/partial/usertags.html deleted file mode 100644 index 71d1303e..00000000 --- a/src/main/resources/templates/views/partial/usertags.html +++ /dev/null @@ -1,3 +0,0 @@ -{% import "views/macros/tags" %} -{{ tags(user.name, tagStats) }} -... \ No newline at end of file diff --git a/src/main/resources/templates/views/pm_inbox.html b/src/main/resources/templates/views/pm_inbox.html deleted file mode 100644 index f89b2923..00000000 --- a/src/main/resources/templates/views/pm_inbox.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -{% if not msgs.isEmpty() %} - -{% endif %} -{% endblock %} -{% block "column" %} -{% include "views/partial/usercolumn" %} -{% endblock %} diff --git a/src/main/resources/templates/views/pm_sent.html b/src/main/resources/templates/views/pm_sent.html deleted file mode 100644 index f0af71d3..00000000 --- a/src/main/resources/templates/views/pm_sent.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -
-
-
To:
-
-
-
-
-{% if not msgs.isEmpty() %} - -{% endif %} -{% endblock %} -{% block "column" %} -{% include "views/partial/usercolumn" %} -{% endblock %} diff --git a/src/main/resources/templates/views/post.html b/src/main/resources/templates/views/post.html deleted file mode 100644 index a77fa3bd..00000000 --- a/src/main/resources/templates/views/post.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "layouts/default" %} -{% import "views/macros/tags" %} -{% block content %} -
-
-

- Фото: - ({{ i18n("messages","postForm.imageFormats") }}) -

-

- -
- -

-
-
-

Теги:

-{{ tags(visitor.name, tags) }} -{% endblock %} -{% block "column" %} -{% include "views/partial/usercolumn" %} -{% endblock %} diff --git a/src/main/resources/templates/views/post_success.html b/src/main/resources/templates/views/post_success.html deleted file mode 100644 index 2106f3cb..00000000 --- a/src/main/resources/templates/views/post_success.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "layouts/minimal" %} -{% block content %} -

Сообщение опубликовано

-

Поделитесь своим новым постом в социальных сетях:

-{% if sharetwi | default('') is not empty %} -

- Отправить в Twitter

-{% endif %} -

- Отправить в ВКонтакте

-{% if facebook | default('') is not empty %} -

- Отправить в Facebook

-{% endif %} -

Ссылка на сообщение: {{ url }}

-{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/settings_about.html b/src/main/resources/templates/views/settings_about.html deleted file mode 100644 index 5e308671..00000000 --- a/src/main/resources/templates/views/settings_about.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -
-
-

Full name:

-

Country:

-

URL:
- Please, start with "http://"

-

About:
-
- Max. 255 symbols

-

Avatar:
- Recommendations: PNG, 96x96, <50Kb. Also, JPG and GIF supported.

-

-
-
-{% endblock %} -{% block "column" %} -{% include "views/partial/settings_tabs" %} -{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/settings_auth-email.html b/src/main/resources/templates/views/settings_auth-email.html deleted file mode 100644 index e906d704..00000000 --- a/src/main/resources/templates/views/settings_auth-email.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -
-

{{ result }}

Settings.

-
-{% endblock %} -{% block "column" %} -{% include "views/partial/settings_tabs" %} -{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/settings_main.html b/src/main/resources/templates/views/settings_main.html deleted file mode 100644 index a6cca7a3..00000000 --- a/src/main/resources/templates/views/settings_main.html +++ /dev/null @@ -1,154 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -
-

Настройки

- {%if not visitor.verified %} -

Verify your account by adding email or social account

- {% endif %} -
-
- Notification options -

Reply notifications ("Message posted")

-

Subscriptions notifications ("@user subscribed...")

-

Posts recommendations ("Recommended by @user")

-

-
-
-
- - Telegram - {% if telegram_name is not empty %} -
-
Telegram: {{ telegram_name }} — - - -
-
- {% else %} -

To connect Telegram account: send any text message to @Juick_bot -

- {% endif %} -
- {% if jids | length > 0 %} -
-
- - XMPP accounts - -

Your accounts:

-

- {% for jid in jids %} -
- {% endfor %} - {% for auth in auths %} - - — Confirm
- {% endfor %} -

- {% if jids | length > 1 %} -

- {% endif %} -

To add new jabber account: send any text message to juick@juick.com -

-
-
- {% endif %} -
- - E-mail - -
-

Add account:
- - - -

-
-
-

Your accounts:

-

- {% for email in emails %} -
- {% endfor %} - {% if emails is empty %} - -

- {% else %} -

- {% if jids | length > 1 %} -

- {% endif %} - {% endif %} -
- {% if emails is not empty %} - -
-

You can receive notifications to email:
- Sent to - -

-
- - {% endif %} -

 

-

You can post to Juick via e-mail. Send your plain text - messages to juick@juick.com. You can attach one photo or video file.

-
-
- - Facebook - - {% if fbstatus.connected %} - {% if fbstatus.crosspostEnabled %} -
-
- Facebook: Enabled — - - -
-
- {% else %} -
-
- Facebook: Disabled — - - -
-
- {% endif %} - {% else %} -

Cross-posting to Facebook: Connect to Facebook

- {% endif %} -
-
- - Twitter - {% if twitter_name is not empty %} -
-
Twitter: {{ twitter_name }} — - - -
-
- {% else %} -

Cross-posting to Twitter: Connect to Twitter

- {% endif %} -
- -
-{% endblock %} -{% block "column" %} -{% include "views/partial/settings_tabs" %} -{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/settings_password.html b/src/main/resources/templates/views/settings_password.html deleted file mode 100644 index 99c1676e..00000000 --- a/src/main/resources/templates/views/settings_password.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -
-
- Changing your password -
- -

Change password:
- (max. length - 16 symbols)

-
-
-
-{% endblock %} -{% block "column" %} -{% include "views/partial/settings_tabs" %} -{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/settings_privacy.html b/src/main/resources/templates/views/settings_privacy.html deleted file mode 100644 index 83b87b93..00000000 --- a/src/main/resources/templates/views/settings_privacy.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -
-

Privacy

-
-{% endblock %} -{% block "column" %} -{% include "views/partial/settings_tabs" %} -{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/settings_result.html b/src/main/resources/templates/views/settings_result.html deleted file mode 100644 index d87a5ea6..00000000 --- a/src/main/resources/templates/views/settings_result.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -
-

{{ result | raw }}

-
-{% endblock %} -{% block "column" %} -{% include "views/partial/settings_tabs" %} -{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/signup.html b/src/main/resources/templates/views/signup.html deleted file mode 100644 index d6eb921f..00000000 --- a/src/main/resources/templates/views/signup.html +++ /dev/null @@ -1,43 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -

- {% if type | slice(0, 1) == 'f' %} - Facebook - {% elseif type | slice(0, 1) == 'v' %} - VKontakte - {% elseif type | slice(0, 1) == 'e' %} - Email - {% elseif type | slice(0, 1) == 'd' %} - Telegram - {% endif %} - {{ account | raw }}

- -

Связать с существующим аккаунтом Juick

-
- - - - {% if visitor.getUID() > 0 %} - - {% else %} -

Имя пользователя:

-

Пароль:

-

- {% endif %} -
- -{% if type != "xmpp" %} -
- -

Создать новый аккаунт Juick

-
- - - -

Имя пользователя:
(От 2-х до 16-и латинских символов - и/или цифр, дефис)

-

Пароль:
(от 6-и до 32-х символов)

-

-
-{% endif %} -{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/signup_result.html b/src/main/resources/templates/views/signup_result.html deleted file mode 100644 index b204e1b8..00000000 --- a/src/main/resources/templates/views/signup_result.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "layouts/default" %} -{% block content %} -
-

{{ result | raw }}

-
-{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html deleted file mode 100644 index f1563a7c..00000000 --- a/src/main/resources/templates/views/thread.html +++ /dev/null @@ -1,188 +0,0 @@ -{% extends "layouts/default" %} -{% import "views/macros/tags" %} -{% block content %} - -
- {% if visitor.uid > 0 %} - - {% endif %} -

{{ i18n("messages","reply.replies") }} ({{ replies.size() }})

-
- - -{% endblock %} -{% block "column" %} -{% include "views/partial/usercolumn" %} -{% endblock %} \ No newline at end of file diff --git a/src/main/resources/templates/views/users.html b/src/main/resources/templates/views/users.html deleted file mode 100644 index 702ba6b9..00000000 --- a/src/main/resources/templates/views/users.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "layouts/default" %} -{% import "views/macros/tags" %} -{% block content %} -
- {% for u in users %} - - - {{ u.name }} - {{ u.name }} - - - {% endfor %} -
-{% endblock %} -{% block "column" %} -{% include "views/partial/usercolumn" %} -{% endblock %} \ No newline at end of file -- cgit v1.2.3