aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/resources/templates/views/post.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-02-26 12:06:10 +0300
committerGravatar Vitaly Takmazov2018-02-26 12:06:10 +0300
commitd91c5508f2172347e18ad93f6048582deda4ae02 (patch)
tree91b5fb44634f072eb21630bcaf0955766a133380 /juick-www/src/main/resources/templates/views/post.html
parentc6bc69cee51066ae2f153208bd995d43637223c9 (diff)
www: move templates to resources
Diffstat (limited to 'juick-www/src/main/resources/templates/views/post.html')
-rw-r--r--juick-www/src/main/resources/templates/views/post.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/juick-www/src/main/resources/templates/views/post.html b/juick-www/src/main/resources/templates/views/post.html
new file mode 100644
index 00000000..1f642ce1
--- /dev/null
+++ b/juick-www/src/main/resources/templates/views/post.html
@@ -0,0 +1,19 @@
+{% extends "layouts/minimal" %}
+{% import "views/macros/tags" %}
+{% block content %}
+<article>
+<form action="/post2" method="post" id="postmsg" enctype="multipart/form-data">
+ <p style="text-align: left">
+ <b>Фото:</b> <span id="attachmentfile">
+ <input style="width: 100%;" type="file" name="attach"/> <i>({{ i18n("messages","postForm.imageFormats") }})</i></span>
+ </p>
+ <p>
+ <textarea name="body" class="newmessage" rows="7" cols="10" placeholder="*weather It's very cold today!">{{ body }}</textarea>
+ <br/>
+ <input type="submit" class="subm" value=" {{ i18n("messages","postForm.submit") }} "/>
+ </p>
+</form>
+</article>
+<p style="text-align: left"><b>Теги:</b></p>
+{{ tags(visitor.name, tags) }}
+{% endblock %} \ No newline at end of file