aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views/pm_sent.html
blob: cd1a4a946628b92c82964120ce16a3dc4ba8ef8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends "layouts/content" %}
{% block content %}
{% if not readonly %}
<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>
{% endif %}
{% if not msgs.isEmpty() %}
<ul id="private-messages">
    {% for msg in msgs %}
    <li class="msg">
        <div class="msg-cont">
        	<div class="msg-header">
                @<a href="/{{ msg.user.name }}/">{{ msg.user.name }}</a>:
                <div class="msg-avatar">
                	<a href="/{{ msg.user.name }}/">
                    	<img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/>
                	</a>
            	</div>
            	<div class="msg-ts">{{ msg.date }}</div>
            </div>
            <div class="msg-txt">{{ msg | formatMessage }}</div>
        </div>
    </li>
    {% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block "column" %}
{% include "views/partial/homecolumn" %}
{% endblock %}