aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_sent.html
diff options
context:
space:
mode:
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_sent.html')
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_sent.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_sent.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_sent.html
new file mode 100644
index 00000000..f2c05ad3
--- /dev/null
+++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_sent.html
@@ -0,0 +1,42 @@
+<!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}">Settings title</title>
+</head>
+
+<body>
+<section id="content">
+ <div layout:fragment="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" th: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>
+ <ul 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()}"></div>
+ </div>
+ </li>
+ </ul>
+ </div>
+</section>
+<aside id="column">
+ <p th:replace="views/partial/homecolumn.html">Main side column</p>
+</aside>
+
+</body>
+</html>