From 93fe99d9bfc9ae00f4164ea0ba32290722dff4dd Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Wed, 31 Mar 2021 00:44:49 +0300
Subject: Resource filtering is handled by Spring Boot Maven plugin
---
src/main/resources/templates/email/html.html | 10 +
src/main/resources/templates/email/plaintext.html | 5 +
src/main/resources/templates/layouts/default.html | 54 ++++
src/main/resources/templates/layouts/login.html | 280 +++++++++++++++++++++
src/main/resources/templates/layouts/note.html | 5 +
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 ++
35 files changed, 1347 insertions(+)
create mode 100644 src/main/resources/templates/email/html.html
create mode 100644 src/main/resources/templates/email/plaintext.html
create mode 100644 src/main/resources/templates/layouts/default.html
create mode 100644 src/main/resources/templates/layouts/login.html
create mode 100644 src/main/resources/templates/layouts/note.html
create mode 100644 src/main/resources/templates/views/404.html
create mode 100644 src/main/resources/templates/views/blog.html
create mode 100644 src/main/resources/templates/views/blog_tags.html
create mode 100644 src/main/resources/templates/views/help.html
create mode 100644 src/main/resources/templates/views/index.html
create mode 100644 src/main/resources/templates/views/login_success.html
create mode 100644 src/main/resources/templates/views/macros/tags.html
create mode 100644 src/main/resources/templates/views/partial/footer.html
create mode 100644 src/main/resources/templates/views/partial/homecolumn.html
create mode 100644 src/main/resources/templates/views/partial/message.html
create mode 100644 src/main/resources/templates/views/partial/navigation.html
create mode 100644 src/main/resources/templates/views/partial/settings_tabs.html
create mode 100644 src/main/resources/templates/views/partial/tagcolumn.html
create mode 100644 src/main/resources/templates/views/partial/tags.html
create mode 100644 src/main/resources/templates/views/partial/usercolumn.html
create mode 100644 src/main/resources/templates/views/partial/usertags.html
create mode 100644 src/main/resources/templates/views/pm_inbox.html
create mode 100644 src/main/resources/templates/views/pm_sent.html
create mode 100644 src/main/resources/templates/views/post.html
create mode 100644 src/main/resources/templates/views/post_success.html
create mode 100644 src/main/resources/templates/views/settings_about.html
create mode 100644 src/main/resources/templates/views/settings_auth-email.html
create mode 100644 src/main/resources/templates/views/settings_main.html
create mode 100644 src/main/resources/templates/views/settings_password.html
create mode 100644 src/main/resources/templates/views/settings_privacy.html
create mode 100644 src/main/resources/templates/views/settings_result.html
create mode 100644 src/main/resources/templates/views/signup.html
create mode 100644 src/main/resources/templates/views/signup_result.html
create mode 100644 src/main/resources/templates/views/thread.html
create mode 100644 src/main/resources/templates/views/users.html
(limited to 'src/main/resources/templates')
diff --git a/src/main/resources/templates/email/html.html b/src/main/resources/templates/email/html.html
new file mode 100644
index 00000000..086df532
--- /dev/null
+++ b/src/main/resources/templates/email/html.html
@@ -0,0 +1,10 @@
+{{ messageBody | raw }}
+
+
+--
+
+You are receiving this because you are subscribed to this user, discussion, tag or mentioned.
+Reply to this email directly or
+ {% if msg.mid > 0 %} {% endif %}view it on Juick.
+
+Configure or disable notifications
\ No newline at end of file
diff --git a/src/main/resources/templates/email/plaintext.html b/src/main/resources/templates/email/plaintext.html
new file mode 100644
index 00000000..a0df0038
--- /dev/null
+++ b/src/main/resources/templates/email/plaintext.html
@@ -0,0 +1,5 @@
+{{ messageBody }}
+
+--
+You are receiving this because you are subscribed to this user, discussion, tag or mentioned.
+Reply to this email directly or view it on Juick: {{ messageUrl }}
\ No newline at end of file
diff --git a/src/main/resources/templates/layouts/default.html b/src/main/resources/templates/layouts/default.html
new file mode 100644
index 00000000..d3ce7dce
--- /dev/null
+++ b/src/main/resources/templates/layouts/default.html
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+ {% block headers %}
+ {{ headers | default('') | raw }}
+ {% endblock %}
+ {{ title | default('Juick') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0 %}data-hash="{{visitor.authHash}}" {% endif %}>
+
+ {% include "views/partial/navigation" %}
+
+
+
+ {% block content %}
+ {% endblock %}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/resources/templates/layouts/login.html b/src/main/resources/templates/layouts/login.html
new file mode 100644
index 00000000..4a3be9b8
--- /dev/null
+++ b/src/main/resources/templates/layouts/login.html
@@ -0,0 +1,280 @@
+
+
+
+
+ Juick
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n("messages","label.register") }}:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/resources/templates/layouts/note.html b/src/main/resources/templates/layouts/note.html
new file mode 100644
index 00000000..e832dc63
--- /dev/null
+++ b/src/main/resources/templates/layouts/note.html
@@ -0,0 +1,5 @@
+{% import "views/macros/tags" %}
+{{ msg | formatMessage }}
+{% if msg.tags | length > 0 %}
+{{ allTags(baseUri, msg.tags | tagsList) }}
+{% endif %}
\ No newline at end of file
diff --git a/src/main/resources/templates/views/404.html b/src/main/resources/templates/views/404.html
new file mode 100644
index 00000000..02a790e6
--- /dev/null
+++ b/src/main/resources/templates/views/404.html
@@ -0,0 +1,11 @@
+{% 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
new file mode 100644
index 00000000..8d6a6581
--- /dev/null
+++ b/src/main/resources/templates/views/blog.html
@@ -0,0 +1,24 @@
+{% 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 %}
+{{ i18n("messages","messages.next") }} →
+{% 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
new file mode 100644
index 00000000..48e517eb
--- /dev/null
+++ b/src/main/resources/templates/views/blog_tags.html
@@ -0,0 +1,10 @@
+{% 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
new file mode 100644
index 00000000..169ccb3f
--- /dev/null
+++ b/src/main/resources/templates/views/help.html
@@ -0,0 +1,12 @@
+{% 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
new file mode 100644
index 00000000..e85a3aa1
--- /dev/null
+++ b/src/main/resources/templates/views/index.html
@@ -0,0 +1,29 @@
+{% 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 %}
+{{ i18n("messages","messages.next") }} →
+{% 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
new file mode 100644
index 00000000..ee71f12f
--- /dev/null
+++ b/src/main/resources/templates/views/login_success.html
@@ -0,0 +1,13 @@
+
+
+
+
+ Blank window
+
+
+
+
+
diff --git a/src/main/resources/templates/views/macros/tags.html b/src/main/resources/templates/views/macros/tags.html
new file mode 100644
index 00000000..08687f5a
--- /dev/null
+++ b/src/main/resources/templates/views/macros/tags.html
@@ -0,0 +1,11 @@
+{% 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
new file mode 100644
index 00000000..9a627373
--- /dev/null
+++ b/src/main/resources/templates/views/partial/footer.html
@@ -0,0 +1,11 @@
+
diff --git a/src/main/resources/templates/views/partial/homecolumn.html b/src/main/resources/templates/views/partial/homecolumn.html
new file mode 100644
index 00000000..a4cca153
--- /dev/null
+++ b/src/main/resources/templates/views/partial/homecolumn.html
@@ -0,0 +1,25 @@
+
+
+{% 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
new file mode 100644
index 00000000..47dfb6c5
--- /dev/null
+++ b/src/main/resources/templates/views/partial/message.html
@@ -0,0 +1,87 @@
+
+
+
+
+ {{ tags(msg.user.name, msg.tags | tagsList) }}
+
+ {{ msg | formatMessage }}
+
+ {% if msg.AttachmentType is not empty %}
+
+
+
+ {% endif %}
+
+ {% if visitor.uid == msg.user.uid %}
+
+
+
+ {% if msg.likes > 0 %} {{ msg.likes }}
+ {% else %}
+ {{ i18n("messages","message.recommend") }}
+ {% endif %}
+
+
+ {% elseif visitor.uid > 0 %}
+
+
+
+ {% if msg.likes > 0 %} {{ msg.likes }}
+ {% else %}
+ {{ i18n("messages","message.recommend") }}
+ {% endif %}
+
+
+ {% else %}
+
+
+
+ {% if msg.likes > 0 %}
+ {{ msg.likes }}
+ {% else %}
+ {{ i18n("messages","message.recommend") }}
+ {% endif %}
+
+
+
+ {% endif %}
+ {% if (not msg.ReadOnly) or (visitor.uid == msg.user.uid) %}
+
+ {% 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
new file mode 100644
index 00000000..184c8f2b
--- /dev/null
+++ b/src/main/resources/templates/views/partial/navigation.html
@@ -0,0 +1,43 @@
+
diff --git a/src/main/resources/templates/views/partial/settings_tabs.html b/src/main/resources/templates/views/partial/settings_tabs.html
new file mode 100644
index 00000000..00f7068a
--- /dev/null
+++ b/src/main/resources/templates/views/partial/settings_tabs.html
@@ -0,0 +1,11 @@
+
+
+ {% 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
new file mode 100644
index 00000000..a7728ef3
--- /dev/null
+++ b/src/main/resources/templates/views/partial/tagcolumn.html
@@ -0,0 +1,26 @@
+
+
*{{ tag.name }}
+
+{% if visitor is not empty and visitor.uid > 0 %}
+
+{% 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
new file mode 100644
index 00000000..4d05b7fb
--- /dev/null
+++ b/src/main/resources/templates/views/partial/tags.html
@@ -0,0 +1,3 @@
+{% 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
new file mode 100644
index 00000000..ee9ab267
--- /dev/null
+++ b/src/main/resources/templates/views/partial/usercolumn.html
@@ -0,0 +1,93 @@
+
+
+
+ {% include "views/partial/usertags" %}
+
+
+
+ {% if iread is not empty %}
+
+ {% for u in iread %}
+
+
+
+
+
+ {% 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
new file mode 100644
index 00000000..71d1303e
--- /dev/null
+++ b/src/main/resources/templates/views/partial/usertags.html
@@ -0,0 +1,3 @@
+{% 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
new file mode 100644
index 00000000..f89b2923
--- /dev/null
+++ b/src/main/resources/templates/views/pm_inbox.html
@@ -0,0 +1,35 @@
+{% extends "layouts/default" %}
+{% block content %}
+{% if not msgs.isEmpty() %}
+
+ {% for msg in msgs %}
+
+
+
+
+
{{ msg | formatMessage }}
+
+
+
+ {% endfor %}
+
+{% 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
new file mode 100644
index 00000000..f0af71d3
--- /dev/null
+++ b/src/main/resources/templates/views/pm_sent.html
@@ -0,0 +1,33 @@
+{% extends "layouts/default" %}
+{% block content %}
+
+{% if not msgs.isEmpty() %}
+
+ {% for msg in msgs %}
+
+
+
+
{{ msg | formatMessage }}
+
+
+ {% endfor %}
+
+{% 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
new file mode 100644
index 00000000..a77fa3bd
--- /dev/null
+++ b/src/main/resources/templates/views/post.html
@@ -0,0 +1,22 @@
+{% extends "layouts/default" %}
+{% import "views/macros/tags" %}
+{% block content %}
+
+
+
+ Фото:
+ ({{ i18n("messages","postForm.imageFormats") }})
+
+
+ {{ body }}
+
+
+
+
+
+Теги:
+{{ 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
new file mode 100644
index 00000000..2106f3cb
--- /dev/null
+++ b/src/main/resources/templates/views/post_success.html
@@ -0,0 +1,19 @@
+{% 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
new file mode 100644
index 00000000..5e308671
--- /dev/null
+++ b/src/main/resources/templates/views/settings_about.html
@@ -0,0 +1,20 @@
+{% 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
new file mode 100644
index 00000000..e906d704
--- /dev/null
+++ b/src/main/resources/templates/views/settings_auth-email.html
@@ -0,0 +1,9 @@
+{% 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
new file mode 100644
index 00000000..a6cca7a3
--- /dev/null
+++ b/src/main/resources/templates/views/settings_main.html
@@ -0,0 +1,154 @@
+{% 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 %}
+ {{ jid }}
+ {% endfor %}
+ {% for auth in auths %}
+ {{ auth.account }}
+ — 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 %}
+ {{ email }}
+ {% 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
+ Disabled
+ {% for email in emails %}
+
+ {{ email }}
+
+ {% endfor %}
+
+
+
+
+
+ {% 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:
+ {% endif %}
+
+
+
+ Twitter
+ {% if twitter_name is not empty %}
+
+ Twitter: {{ twitter_name }} —
+
+
+
+
+ {% else %}
+ Cross-posting 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
new file mode 100644
index 00000000..99c1676e
--- /dev/null
+++ b/src/main/resources/templates/views/settings_password.html
@@ -0,0 +1,17 @@
+{% 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
new file mode 100644
index 00000000..83b87b93
--- /dev/null
+++ b/src/main/resources/templates/views/settings_privacy.html
@@ -0,0 +1,9 @@
+{% 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
new file mode 100644
index 00000000..d87a5ea6
--- /dev/null
+++ b/src/main/resources/templates/views/settings_result.html
@@ -0,0 +1,9 @@
+{% 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
new file mode 100644
index 00000000..d6eb921f
--- /dev/null
+++ b/src/main/resources/templates/views/signup.html
@@ -0,0 +1,43 @@
+{% extends "layouts/default" %}
+{% block content %}
+
+ {% if type | slice(0, 1) == 'f' %}
+
+ {% elseif type | slice(0, 1) == 'v' %}
+
+ {% elseif type | slice(0, 1) == 'e' %}
+
+ {% elseif type | slice(0, 1) == 'd' %}
+
+ {% 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
new file mode 100644
index 00000000..b204e1b8
--- /dev/null
+++ b/src/main/resources/templates/views/signup_result.html
@@ -0,0 +1,6 @@
+{% 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
new file mode 100644
index 00000000..f1563a7c
--- /dev/null
+++ b/src/main/resources/templates/views/thread.html
@@ -0,0 +1,188 @@
+{% extends "layouts/default" %}
+{% import "views/macros/tags" %}
+{% block content %}
+
+
+
+
+
+
+ {{ tags(msg.user.name, msg.tags | tagsList) }}
+
+ {{ msg | formatMessage }}
+
+ {% if msg.AttachmentType is not empty %}
+
+ {% endif %}
+
+ {% if visitor.uid == msg.user.uid %}
+
+
+
+ {% if msg.Likes > 0 %} {{ msg.Likes }}
+ {% else %}
+ {{ i18n("messages","message.recommend") }}
+ {% endif %}
+
+
+ {% elseif visitor.uid > 0 %}
+
+
+
+ {% if msg.Likes > 0 %} {{ msg.Likes }}
+ {% else %}
+ {{ i18n("messages","message.recommend") }}
+ {% endif %}
+
+
+ {% else %}
+
+
+
+ {% if msg.Likes > 0 %} {{ msg.Likes }}
+ {%else %}
+ {{ i18n("messages","message.recommend") }}
+ {% endif %}
+
+
+ {% endif %}
+ {% if visitor.uid > 0 %}
+ {% if visitor.uid != msg.user.uid %}
+ {% if visitorSubscribed %}
+
+
+ {{ i18n("messages","message.subscribed") }}
+
+ {% else %}
+
+
+ {{ i18n("messages","message.subscribe") }}
+
+ {% endif %}
+ {% else %}
+
+
+ {{ i18n("messages","message.delete") }}
+
+ {% endif %}
+ {% endif %}
+
+ {% if msg.VisitorCanComment %}
+
+ {% endif %}
+ {% if recomm is not empty %}
+
{{ i18n("messages","message.recommendedBy") }}
+ {% for rec in recomm %}
+ {% if rec.uri.toString() is empty %}
+
@{{ rec.name }} {% if loop.index < (loop.length - 1) %}, {% endif %}
+ {% else %}
+
@{{ rec.name }} {% if loop.index < (loop.length - 1) %}, {% endif %}
+ {% endif %}
+ {% endfor %}
+ {% if msg.likes > recomm.size() %}
+ {{ i18n("messages","message.recommendedOthers", msg.likes - recomm.size()) }}
+ {% endif %}
+
+ {% endif %}
+
+
+
+
+ {% if visitor.uid > 0 %}
+
+ {% endif %}
+
{{ i18n("messages","reply.replies") }} ({{ replies.size() }})
+
+
+
+ {% for msg in replies %}
+
+
+
+
{{ msg | formatMessage }}
+ {% if msg.AttachmentType is not empty %}
+
+ {% endif %}
+
/{{ msg.rid }}
+ {% if msg.replyto > 0 %}
+ {{ i18n("messages","reply.inReplyTo") }}
/{{ msg.replyto }}
+ {% endif %}
+ {% if msg.VisitorCanComment %}
+ ·
+
+
+ {% elseif visitor.uid == 0 %}
+ ·
{{ i18n("messages","reply.reply") }}
+
+ {% else %}
+
+ {% endif %}
+
+
+ {% endfor %}
+
+{% 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
new file mode 100644
index 00000000..702ba6b9
--- /dev/null
+++ b/src/main/resources/templates/views/users.html
@@ -0,0 +1,17 @@
+{% extends "layouts/default" %}
+{% import "views/macros/tags" %}
+{% block content %}
+
+{% endblock %}
+{% block "column" %}
+{% include "views/partial/usercolumn" %}
+{% endblock %}
\ No newline at end of file
--
cgit v1.2.3