aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/resources/views/pm_sent.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-09-02 12:38:52 +0300
committerGravatar Vitaly Takmazov2016-09-02 12:38:52 +0300
commit794678f641877c846f08b0d6b845366c8f340c69 (patch)
tree90e54d6082dfd68f560fea94cb72044433f8f44e /juick-www/src/main/resources/views/pm_sent.html
parentd97bfe93f5f886ec4e85e0ac71889942d76511f8 (diff)
pm_sent template
Diffstat (limited to 'juick-www/src/main/resources/views/pm_sent.html')
-rw-r--r--juick-www/src/main/resources/views/pm_sent.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/juick-www/src/main/resources/views/pm_sent.html b/juick-www/src/main/resources/views/pm_sent.html
new file mode 100644
index 00000000..fc65a4fd
--- /dev/null
+++ b/juick-www/src/main/resources/views/pm_sent.html
@@ -0,0 +1,36 @@
+{% extends "layouts/content.html" %}
+{% block content %}
+<form action="/pm/send" method="POST" enctype="multipart/form-data">
+ <div class="newpm">
+ <div class="newpm-to">To: <input type="text" name="uname" placeholder="username" value="{{ uname }}"/></div>
+ <div class="newpm-body"><textarea name="body" rows="2"></textarea></div>
+ <div class="newpm-send"><input type="submit" value="OK"/></div>
+ </div>
+</form>
+{% if not msgs.isEmpty() %}
+<ul id="private-messages">
+ {% for msg in msgs %}
+ <li class="msg">
+ <div class="msg-cont">
+ <div class="msg-ts">{{ msg.getDate() }}</div>
+ <div class="msg-avatar">
+ <a href="/{{ msg.getUser().getUName() }}/">
+ <img src="//i.juick.com/a/{{ msg.getUser().getUID() }}.png" alt="{{ msg.getUser().getUName() }}"/>
+ </a>
+ </div>
+ <div class="msg-header">
+ <a href="/{{ msg.getUser().getUName() }}/">@{{ msg.getUser().getUName() }}</a>:
+ </div>
+ <div class="msg-txt">{{ msg.getText() | raw }}</div>
+
+
+
+ </div>
+ </li>
+ {% endfor %}
+</ul>
+{% endif %}
+{% endblock %}
+{% block "column" %}
+{% include "views/partial/homecolumn.html" %}
+{% endblock %} \ No newline at end of file