39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html xmlns:th="http://www.thymeleaf.org">
|
||
|
|
||
|
<head>
|
||
|
<div th:replace="fragments/head :: headFragment">
|
||
|
<meta charset="UTF-8">
|
||
|
<title id="pageTitle">Chat</title>
|
||
|
</div>
|
||
|
|
||
|
<!-- <script th:src="@{js/my_Crypto.js}" type="text/javascript"></script> -->
|
||
|
<link th:href="@{/css/master.css}" href="../static/css/master.css" rel="stylesheet">
|
||
|
</link>
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<textarea id="chatTextArea" cols="80" rows="20" disabled></textarea>
|
||
|
<!-- <form action="#" th:action="@{/seedstartermng}" th:object="${seedStarter}" method="post"> -->
|
||
|
<!-- th:action="@{/api/chat}" -->
|
||
|
<form action="#" th:object="${chatMessageDTO}" method="post" id="chatMessageForm">
|
||
|
<label for="toUser">User to send to: </label>
|
||
|
<th:block th:each="userName: ${userNames}">
|
||
|
<input type="radio" th:field="*{toUser}" th:value="${userName}">
|
||
|
<label th:for="${#ids.prev('toUser')}" th:text="${userName}">DemoUser</label>
|
||
|
</th:block> <br>
|
||
|
<label for="chatInput">Your message: </label>
|
||
|
<input type="text" id="chatInput"> <br>
|
||
|
<label for="passphrase">Passphrase: </label>
|
||
|
<input type="password" id="passphrase">
|
||
|
<input type="submit" value="Send">
|
||
|
</form>
|
||
|
|
||
|
|
||
|
</body>
|
||
|
<script th:src="@{js/chat.js}" type="text/javascript"></script>
|
||
|
</html>
|
||
|
|
||
|
<!-- <div th:include="::frag (${value1},${value2})">...</div>
|
||
|
<div th:include="::frag (onevar=${value1},twovar=${value2})">...</div> -->
|