2018-11-19 22:22:39 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Syndicate: Chat</title>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link href="style.css" rel="stylesheet">
|
2018-11-21 14:22:31 +00:00
|
|
|
<script src="dist/chat.js"></script>
|
2018-11-19 22:22:39 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<section>
|
|
|
|
<form name="nym_form">
|
|
|
|
<fieldset>
|
|
|
|
<label class="control-label" for="wsurl">Server:</label>
|
2019-05-12 22:26:01 +00:00
|
|
|
<input type="text" id="wsurl" name="wsurl" value="ws://localhost:8000/">
|
2018-11-19 22:22:39 +00:00
|
|
|
|
|
|
|
<label class="control-label" for="nym">Nym:</label>
|
|
|
|
<input type="text" id="nym" name="nym" value="">
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<section id="messages">
|
|
|
|
<h1>Messages</h1>
|
|
|
|
<div id="chat_output"></div>
|
|
|
|
</section>
|
|
|
|
<section id="active_users">
|
|
|
|
<h1>Active Users</h1>
|
|
|
|
<ul id="nymlist"></ul>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<form id="chat_form" name="chat_form">
|
|
|
|
<fieldset>
|
|
|
|
<input type="text" id="chat_input" name="chat_input" value="" autocomplete="off">
|
|
|
|
<button id="send_chat">Send</button>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
</body>
|
|
|
|
</html>
|