diff options
author | Vitaly Takmazov | 2016-12-09 17:35:49 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-09 17:35:49 +0300 |
commit | e2a018e998e125ee2ec983962059c4d2b733a4b4 (patch) | |
tree | 2366ed5a465107c7acd539d22610462204f272c3 /juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_sent.html | |
parent | 87d82a83c604b81abef8766a84f1c8b6f99add59 (diff) |
juick-spring-www: WIP
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.html | 42 |
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> |