-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmoo-websocket-client.html
46 lines (44 loc) · 2.28 KB
/
moo-websocket-client.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="moo-websocket-client.css" type="text/css" />
<title>MOOsaico websockets</title>
<script src="/is.min.js" type="text/javascript"></script>
<script src="moo-websocket-client.js" type="text/javascript"></script>
</head>
<body>
<div id="mooscreen"></div>
<div id="mooinput">
<input name="moocommand" id="moocommand"
value=""
placeholder="Type a command"
type="text"
size="79" maxlength="200"
onchange="wsmoosend();"
/>
</div>
<div id="moobuttons">
<table border="0" spanning="0" id="moobuttons" width="120%">
<tr>
<td spanning="0" id="moobuttons">
<button name="screenmodetoggle" title="mode toggle" style="background: url(img/yin-yang-16.png);" onclick="wsmoo_screenmode_toogle();"></button>
<button name="@ways" title="@ways" style="background: url(img/wind-rose-16.png);" onclick="wsmoo.send('@ways');"></button>
<button name="@who" title="@who" style="background: url(img/user-5-16.png);" onclick="wsmoo.send('@who');"></button>
<button name="look" title="look" style="background: url(img/visible-16.png);" onclick="wsmoo.send('look');"></button>
<button name="inventory" title="inventory" style="background: url(img/military-backpack-radio-16.png);" onclick="wsmoo.send('inventory');"></button>
<button name="@nn" title="@nn" style="background: url(img/mail-16.png);" onclick="wsmoo.send('@nn');"></button>
</td>
<td align="right" id="moobuttons">
<button name="home" title="home" style="background: url(img/home-16.png);" onclick="wsmoo.send('home');"></button>
<button name="go games" title="@go #82 / n / look map" style="background: url(img/dice-16.png);" onclick="wsmoo.send('@go #82');wsmoo.send('n');wsmoo.send('look map');"></button>
<button name="help" title="help" style="background: url(img/help-16.png);" onclick="wsmoo.send('help');"></button>
<button name="reconnect" title="reconnect" style="background: url(img/refresh-2-16.png);" onclick="location.reload(true);"></button>
</td>
</tr>
</table>
</div>
<div id="moostatus"></div>
<div id="moosound"></div>
</body>
</html>