2019-11-25 14:55:55 +01:00
|
|
|
<html>
|
|
|
|
<div>
|
|
|
|
<form onsubmit="join(event)">
|
|
|
|
Username: <input id="username">
|
2019-11-26 10:17:29 +01:00
|
|
|
<input type="submit" value="Join" id="joinButton">
|
2019-11-25 14:55:55 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
2019-11-27 12:06:05 +01:00
|
|
|
<div style="width: 100%; height: 300px; overflow:scroll; border: 1px solid black" id="chat"></div>
|
2019-11-25 14:55:55 +01:00
|
|
|
<div>
|
|
|
|
<form onsubmit="send(event)">
|
2019-11-27 12:06:05 +01:00
|
|
|
<table>
|
|
|
|
<td><input type="color" id="color"></td>
|
|
|
|
<td style="width: 100%"><input id="text" style="width: 100%"></td>
|
|
|
|
<td><input type="submit" value="send"></td>
|
|
|
|
</table>
|
2019-11-25 14:55:55 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
2019-11-27 11:41:48 +01:00
|
|
|
<script src="websocket.js">
|
2019-11-25 14:55:55 +01:00
|
|
|
</script>
|
|
|
|
</html>
|