aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views/post_success.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-03-31 00:44:49 +0300
committerGravatar Vitaly Takmazov2021-03-31 00:44:49 +0300
commit93fe99d9bfc9ae00f4164ea0ba32290722dff4dd (patch)
treef0637a6ad99ae7033e2fee4d100ed1fc63e64728 /src/main/resources/templates/views/post_success.html
parentfbe50e415fbb3da5a7fa151338b00e6a94dc8d5d (diff)
Resource filtering is handled by Spring Boot Maven plugin
Diffstat (limited to 'src/main/resources/templates/views/post_success.html')
-rw-r--r--src/main/resources/templates/views/post_success.html19
1 files changed, 19 insertions, 0 deletions
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 %}
+<h1>Сообщение опубликовано</h1>
+<p>Поделитесь своим новым постом в социальных сетях:</p>
+{% if sharetwi | default('') is not empty %}
+<p class="social">
+ <a href="https://twitter.com/intent/tweet?text={{ sharetwi }}"
+ class="sharenew"><i data-icon="ei-sc-twitter" data-size="m"></i>Отправить в Twitter</a></p>
+{% endif %}
+<p class="social">
+ <a href="https://vk.com/share.php?url={{ url | urlencode }}"
+ class="sharenew"><i data-icon="ei-sc-vk" data-size="m"></i>Отправить в ВКонтакте</a></p>
+{% if facebook | default('') is not empty %}
+<p class="social">
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ url | urlencode }}"
+ class="sharenew"><i data-icon="ei-sc-facebook" data-size="m"></i>Отправить в Facebook</a></p>
+{% endif %}
+<p>Ссылка на сообщение: <a href="{{ url | raw }}">{{ url }}</a></p>
+{% endblock %} \ No newline at end of file