aboutsummaryrefslogblamecommitdiff
path: root/juick-www/src/main/resources/views/pm_sent.html
blob: 7c6fb686babe06c0546c001d121e488f79570968 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14












                                                                                                                    
                                        
                                                                                             
                                        
                                                                                                                         

                                                             
                                                                






                                             
              
{% 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-header">
                @<a href="/{{ msg.getUser().getName() }}/">{{ msg.getUser().getName() }}</a>:
                <div class="msg-avatar">
                	<a href="/{{ msg.getUser().getName() }}/">
                    	<img src="//i.juick.com/a/{{ msg.getUser().getUID() }}.png" alt="{{ msg.getUser().getName() }}"/>
                	</a>
            	</div>
            	<div class="msg-ts">{{ msg.getDate() }}</div>
            </div>
            <div class="msg-txt">{{ msg.getText() | raw }}</div>
        </div>
    </li>
    {% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block "column" %}
{% include "views/partial/homecolumn.html" %}
{% endblock %}