forked from NickCarneiro/PillowChat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
64 lines (54 loc) · 1.61 KB
/
index.php
File metadata and controls
64 lines (54 loc) · 1.61 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html>
<head>
<title>PillowChat: A Simple jQuery/PHPillow/CouchDB Chat Room</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="jquery.timeago.js"></script>
<script src="jquery.timers-1.2.js.txt"></script>
<link rel="stylesheet" href="pillowchat.css" type="text/css" />
<script src="pillowchat.js"></script>
</head>
<body>
<div id="header">
<h1>PillowChat</h1><br />
<span>A Simple jQuery/PHPillow/CouchDB Chat Room</span>
</div>
<div id="chat_username_prompt">
<div id="prompt_controls">
<fieldset>
<span id="name_error">Choose any username and password.</span><br />
<label>Username: <br />
<input id="chat_username" type="text" /></label><br />
<label>Password (optional): <br />
<input id="chat_password" type="password" /></label><br />
<label>
<input id="chat_submit_username" type="submit" value="Enter Chat"/><br />
<br /><span>Entering a password will generate a tripcode that allows users to identify you.</span>
</label>
</fieldset>
</div>
</div>
<div id="chat_container">
<div id="top_pane">
<div id="chat_box">
<div id="chat_messages"></div>
</div>
<div id="chat_users">
<ul id="user_list">
<li></li>
</ul>
</div>
</div>
<div id="bottom_pane">
<div id="bottom_controls">
<input type="text" id="chat_input" maxlength="1000"/>
<input id="chat_submit" type="submit" value="Send"/><br />
<span id="last_received"></span>
</div>
</div>
</div>
<div id="footer">
Created by <br /> <a href="http://twitter.com/nickc_dev">Nick Carneiro</a>
</div>
</body>
</html>