2021-12-12 22:59:49 +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">
|
|
|
|
<script src="node_modules/@preserves/core/dist/preserves.js"></script>
|
|
|
|
<script src="node_modules/@syndicate-lang/core/dist/syndicate.js"></script>
|
|
|
|
<script src="node_modules/@syndicate-lang/html/dist/syndicate-html.js"></script>
|
2021-12-13 12:34:26 +00:00
|
|
|
<script src="node_modules/@syndicate-lang/ws-relay/dist/syndicate-ws-relay.js"></script>
|
2021-12-12 22:59:49 +00:00
|
|
|
<script src="index.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<section>
|
|
|
|
<form id="nym_form" name="nym_form">
|
|
|
|
<fieldset>
|
2023-01-31 15:26:43 +00:00
|
|
|
<label class="control-label" for="route">Dataspace address:</label>
|
|
|
|
<input type="text" id="route" name="route" value="">
|
2021-12-12 22:59:49 +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>
|
|
|
|
|
|
|
|
<script>Main.main();</script>
|
|
|
|
</body>
|
|
|
|
</html>
|