blob: 7ab557f5a66ecef9fca05e523982644873abb3d5 (
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
36
37
38
39
40
41
42
43
44
|
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/mainLayout}">
<head>
<title th:text="${title}">Inbox title</title>
</head>
<body>
<section id="content">
<ul layout:fragment="content" id="private-messages" th:if="${not #lists.isEmpty(msgs)}">
<li class="msg" th:each="msg:${msgs}">
<div class="msg-cont">
<div class="msg-header">
@<a href="/${msg.getUser().getName()}/" th:text="${msg.getUser().getName()}">ugnich</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" th:text="${msg.getDate()}">01.01.1970</div>
</div>
<div class="msg-txt" th:utext="${msg.getText()}">Lorem ipsum</div>
<form action="/pm/send" method="POST" enctype="multipart/form-data">
<input type="hidden" name="uname" th:value="${msg.getUser().getName()}"/>
<div class="msg-comment">
<div class="ta-wrapper">
<textarea name="body" rows="1" class="replypm" placeholder="Написать ответ"></textarea>
</div>
</div>
</form>
</div>
</li>
</ul>
</section>
<aside id="column">
<p th:replace="views/partial/homecolumn.html">Main side column</p>
</aside>
</body>
</html>
|