-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathn66.html
107 lines (88 loc) · 3.03 KB
/
n66.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title>Gab - Chapter 6</title>
<link rel='stylesheet' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/cupertino/jquery-ui.css'>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js'></script>
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js'></script>
<script src='../scripts/strophe.js'></script>
<script src='../scripts/flXHR.js'></script>
<script src='../scripts/strophe.flxhr.js'></script>
<link rel='stylesheet' href='gab.css'>
<script src='gab.js'></script>
</head>
<body>
<h1>Gab</h1>
<!--login_dialog-->
<div id='login_dialog_main' class='hidden'>
<label>JID:</label><input type='text' id='jid'>
<label>Password:</label><input type='password' id='password'>
<label>USRENAME:</label><input type='text' id='username'>
</div>
<!--create account-->
<div id='create_account'>
</div>
<!--room password dialog-->
<div id='room_password' class='hidden'>
<label>Group name:</label><input type='password' id='con_name'>
<label>Password:</label><input type='password' id='room_password'>
<div>
<!--main- tools-->
<div id='main_page_dialog' class='hidden'>
<span class='button' id='one_one'>one one chat</span>
<span class='button' id='room'>room chat</span>
<span class='button' id='disconnect'>disconnect</span>
</div>
<!--one_ui..-->
<div id='single' class='hidden'>
<div id='toolbar_one' >
<span class='button' id='new-contact'>add contact...</span>
<span class='button' id='new-chat'>chat with...</span>
<span class='button' id='disconnect_one_one'>disconnect</span>
</div>
<div id='chat-area_one'>
<ul></ul>
</div>
<div id='roster-area'>
<ul></ul>
</div>
<!-- contact dialog -->
<div id='contact_dialog' class='hidden'>
<label>JID:</label><input type='text' id='contact-jid'>
<label>Name:</label><input type='text' id='contact-name'>
</div>
<!-- chat dialog -->
<div id='chat_dialog' class='hidden'>
<label>JID:</label><input type='text' id='chat-jid'>
</div>
<!-- approval dialog -->
<div id='approve_dialog' class='hidden'>
<p><span id='approve-jid'></span> has requested a subscription
to your presence. Approve or deny?</p>
</div>
</div>
<!--room chat_ui-->
<div id='multi_chat' class='hidden'>
<div id='toolbar'>
<input id='leave' type='button' value='Leave Room'
disabled='disabled'>
</div>
<!--chat area-->
<div id='chat-area'>
<div>
<div id='room-name'></div>
<div id='room-topic'></div>
</div>
<div id='chat'>
</div>
<textarea id='input'></textarea>
</div>
<div id='participants'>
<ul id='participant-list'>
</ul>
</div>
</div>
</body>
</html>