forked from mohlendo/node_chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (41 loc) · 1.75 KB
/
index.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
<html>
<head>
<link rel="stylesheet" href="chat/style.css" type="text/css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script>if(!window.jQuery)document.write('<script type="text/javascript" src="chat/jquery-1.2.6.min.js"><'+'/script>');</script>
<script src="chat/client.js" type="text/javascript"></script>
<title>node chat</title>
</head>
<body>
<div id="app">
<div id="connect">
<form action="#">
<fieldset>
<p>
This is a chat room. Both the client-side and server-side are
written in javascript. The source code is
<a href="http://github.com/ry/node_chat/tree/master">here</a>.
</p>
<label for="nick">Name</label>
<input id="nickInput" class="text"type="text" name="nick" value=""/>
<input id="passInput" class="text"type="password" name="password" value=""/>
<input id="connectButton" class="button" type="submit" name="" value="Join"/>
</fieldset>
</form>
</div>
<div id="loading"><p>loading</p></div>
<div id="log">
<table class="message"><tr><td class="date">18:58</td><td valign="top" class="nick">TTilus</td>
<td class="msg-text">x6a616e: i think you can, there was some weird #send trick to do that</td>
</tr></table>
</div>
<div id="toolbar">
<ul id="status">
<li><a id="usersLink" href="#">5 users</a></li>
<li>uptime: <span id="uptime">?</span></li>
<li>memory: <span id="rss">?</span>mb RSS</li>
</ul>
<textarea tabindex="1" rows="6" id="entry" autocomplete="off"></textarea>
</div>
</body>
</html>