blob: 35582c7496cf6afef6257c40b41b4e4289ec85a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!DOCTYPE html>
<html>
<head>
<title>{{.Roomname}}</title>
<script type="text/javascript" src="/static/jquery.min.js"></script>
<script type="text/javascript" src="/static/chat.js"></script>
<script type="text/javascript">$("document").ready(function(){RunChat("{{.Websock}}");});</script>
<link rel="stylesheet" type="text/css" href="/static/style.css" />
</head>
<body>
<h1>{{.Roomname}}</h1>
<div id="buddiescontainer">
<h2>Users online</h2>
<ul id="buddies"></ul>
</div>
<ul id="chatlog"></ul>
<div id="chatinput">
<input type="text" name="chattext" id="chattext"/>
<button id="sendbtn">Chat</button>
</div>
</body>
</html>
|