aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-08-18 13:58:34 +0300
committerGravatar Vitaly Takmazov2017-08-18 14:34:21 +0300
commit9c0f37b2fd7535a46c324ff7eb89ed9454aee88f (patch)
treebf663780bbd15deee547c79aa8b42b9735368d67 /juick-www/src/main/webapp/WEB-INF
parentf5a87d2b7072426cfe36527db1270e5f85b73e01 (diff)
www: no more ugnich templates
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/post.html15
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/post_success.html22
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/test.html2
3 files changed, 39 insertions, 0 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/post.html b/juick-www/src/main/webapp/WEB-INF/views/post.html
new file mode 100644
index 00000000..51b044da
--- /dev/null
+++ b/juick-www/src/main/webapp/WEB-INF/views/post.html
@@ -0,0 +1,15 @@
+{% extends "layouts/content" %}
+{% import "views/macros/tags" %}
+{% block content %}
+<form action="/post2" method="post" id="postmsg" enctype="multipart/form-data">
+ <p style="text-align: left"><b>Фото:</b> <span id="attachmentfile">
+ <input type="file" name="attach"/> <i>(JPG, PNG, до 10Мб)</i></span></p>
+
+ <p><textarea name="body" class="newmessage" rows="7" cols="10">{{ body }}</textarea><br/>
+ <input type="submit" class="subm" value=" Отправить "/></p>
+</form>
+<p style="text-align: left"><b>Теги:</b></p>
+{{ tags(visitor.name, tags) }}
+{% endblock %}
+{% block "column" %}
+{% endblock %} \ No newline at end of file
diff --git a/juick-www/src/main/webapp/WEB-INF/views/post_success.html b/juick-www/src/main/webapp/WEB-INF/views/post_success.html
new file mode 100644
index 00000000..dd96495f
--- /dev/null
+++ b/juick-www/src/main/webapp/WEB-INF/views/post_success.html
@@ -0,0 +1,22 @@
+{% extends "layouts/content" %}
+{% 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="ico32-twi sharenew">Отправить в Twitter</a></p>
+{% endif %}
+<p class="social">
+ <a href="https://vk.com/share.php?url={{ url | urlencode }}"
+ class="ico32-vk sharenew">Отправить в ВКонтакте</a></p>
+{%if facebook | default('') is not empty %}
+<p class="social">
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ url | urlencode }}"
+ class="ico32-fb sharenew">Отправить в Facebook</a></p>
+{% endif %}
+<p>Ссылка на сообщение: <a href="{{ url | urlencode }}">{{ url | raw }}</a></p>
+{% endblock %}
+{% block "column" %}
+{% include "views/partial/usercolumn" %}
+{% endblock %} \ No newline at end of file
diff --git a/juick-www/src/main/webapp/WEB-INF/views/test.html b/juick-www/src/main/webapp/WEB-INF/views/test.html
new file mode 100644
index 00000000..7700be6f
--- /dev/null
+++ b/juick-www/src/main/webapp/WEB-INF/views/test.html
@@ -0,0 +1,2 @@
+{% import "views/macros/tags" %}
+{{ tags("ugnich", tagsList)}} \ No newline at end of file