aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_inbox.html
diff options
context:
space:
mode:
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_inbox.html')
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_inbox.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_inbox.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_inbox.html
new file mode 100644
index 00000000..7ab557f5
--- /dev/null
+++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_inbox.html
@@ -0,0 +1,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> \ No newline at end of file