-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
287 lines (266 loc) · 17.8 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
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<!DOCTYPE html>
<html>
<head>
<link id="icon" rel="icon" type="image/png" href="/images/awakenslogo.png" />
<title>Awakens - The chat that never sleeps</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#3a3a3a"/>
<meta name="keywords" content="chat,awakens,awakens.me" />
<meta name="description" content="Awakens is an online web-based chat client with multiple different styles, games and features. That is constantly updating and growing over time." />
<link rel="stylesheet" href="/theme.css" />
<link href="https://fonts.googleapis.com/css?family=Montserrat|Droid+Sans" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material%20Icons">
<script src="https://cdn.jsdelivr.net/emojione/2.2.7/lib/js/emojione.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/emojione/2.2.7/assets/css/emojione.min.css"/>
<script src="https://www.youtube.com/iframe_api"></script>
<script src="/dollarSign.js"></script>
</head>
<body>
<main>
<div id="main-container">
<div id="flexOne">
<div id="infobar"></div>
<div id="not-infobar">
<div id="messages-background">
<div id="center-text"></div>
</div>
<div id="cursor-container"></div>
<div id="messages"></div>
</div>
</div>
<div id="menu-container" style="display: none;">
<div id="menu-tabs">
<span onclick="$$$.tabber('menu-panels', 'userList');">group</span>
<span onclick="$$$.tabber('menu-panels', 'mySettings');">palette</span>
<span id="chatTab" onclick="$$$.tabber('menu-panels', 'directMessages');this.className = '';">chat</span>
<span onclick="$$$.tabber('menu-panels', 'channelSettings');">settings</span>
<span id="showActiveChannels">list</span>
</div>
<div id="menu-panels">
<div id="userList">
<div id="userinfo">
<span id="countUsers"></span>
<span id="sortUsers">reorder</span>
</div>
<div id="listedUsers"></div>
</div>
<div style="display:none" id="mySettings">
<div id="stylePanels">
<div id="styleMenu">
<ul>
<li class="selecter" onclick="$$$.tabber('stylePanels', 'stylePro');">Style<span>arrow_forward</span></li>
<li class="selecter" onclick="$$$.tabber('stylePanels', 'myHats');">Hat<span>arrow_forward</span></li>
<li class="selecter" onclick="$$$.tabber('stylePanels', 'myCursors');">Cursor<span>arrow_forward</span></li>
<li class="selecter" id="showFlairMaker">Flair Maker<span>arrow_forward</span></li>
<li class="selecter" onclick="$$$.tabber('stylePanels', 'toggles');">Toggles<span>arrow_forward</span></li>
<li class="selecter" onclick="$$$.tabber('stylePanels', 'videoMode');">Video Mode<span>arrow_forward</span></li>
</ul>
</div>
<div class="menuPanel" id="stylePro">
<div id="goBack" onclick="$$$.tabber('stylePanels', 'styleMenu');">
<span id="goBackArrow"></span>
</div>
<select style="display:none;">
<option>Default Style Profile</option>
<option>-Empty Profile-</option>
<option>-Empty Profile-</option>
<option>-Empty Profile-</option>
<option>-Empty Profile-</option>
</select>
<div id="styleFlairView"></div>
<h2>Text</h2>
<div class="textStyle">
<div class="styleAtt" id="stylefont"><h3>Font - <a target="_blank" href="https://fonts.google.com/">Pick one from here</a></h3> <input placeholder="Font name here" /><button>Apply</button>
</div>
<div class="styleAtt" id="stylecolor"><h3>Color</h3> <div class="colorpicker"><trash class="trash"></trash><span></span></div></div>
<div class="styleAtt" id="stylebgcolor"><h3>Background Color</h3> <div class="colorpicker"><trash class="trash"></trash><span></span></div></div>
<div class="styleAtt" id="styleglow"><h3>Glow</h3> <div class="colorpicker"><trash class="trash"></trash><span></span></div></div>
</div>
</div>
<div class="menuPanel" id="myHats">
<div id="goBack" onclick="$$$.tabber('stylePanels', 'styleMenu');">
<span id="goBackArrow"></span>
</div>
<div id="displayHats"></div>
</div>
<div class="menuPanel" id="myCursors">
<div id="goBack" onclick="$$$.tabber('stylePanels', 'styleMenu');">
<span id="goBackArrow"></span>
</div>
<div id="customCursor">
<button class="customButton">Upload custom cursor</button>
<div style="display: none;" id="uploadTextarea">
<p>Upload cursors with base64</p>
<textarea style="width: 100%;" placeholder="Paste base64 here"></textarea>
</div>
</div>
<div id="displayCursors"></div>
</div>
<div class="menuPanel" id="toggles">
<div id="goBack" onclick="$$$.tabber('stylePanels', 'styleMenu');">
<span id="goBackArrow"></span>
</div>
<ul>
<li id="toggleUI-background">
<h2>Background</h2>
<button id="setTrue">Enable</button><button id="setFalse">Disable</button>
</li>
<li id="toggleUI-images">
<h2>Images</h2>
<button id="setTrue">Enable</button><button id="setFalse">Disable</button>
</li>
<li id="toggleUI-12h">
<h2>TimeStamp</h2>
<button id="setTrue">12hr</button><button id="setFalse">24hr</button>
</li>
<li id="toggleUI-filters">
<h2>Filters</h2>
<button id="setTrue">Enable</button><button id="setFalse">Disable</button>
</li>
<li id="toggleUI-cursors">
<h2>Cursors</h2>
<button id="setTrue">Enable</button><button id="setFalse">Disable</button>
</li>
<li id="toggleUI-msg">
<h2>Center Message</h2>
<button id="setTrue">Enable</button><button id="setFalse">Disable</button>
</li>
</ul>
</div>
<div class="menuPanel" id="videoMode">
<div id="goBack" onclick="$$$.tabber('stylePanels', 'styleMenu');">
<span id="goBackArrow"></span>
</div>
<div class="toggleSlider">
<h2>Enable Video Mode</h2>
<label>
<input id="tglvideo" type="checkbox"/>
<span class="slider"></span>
</label>
</div>
<div id="videoModeControls">
<button style="width:100%;" class="customButton">Add a video</button>
<input placeholder="YouTube video URL" style="width:100%;margin-top:10px;" />
</div>
<ul id="playlist"></ul>
</div>
</div>
</div>
<div style="display:none" id="directMessages"></div>
<div style="display:none" id="channelSettings">
<div style="display:block;" id="unowned">
<h2>Claim this channel as your own</h2>
<br>
<button onclick="clientSubmit.handleInput('/claimchannel');">Claim</button>
</div>
<div style="display:none;" id="owned">
<div id="settingsMenu">
<ul>
<li class="selecter" onclick="$$$.tabber('owned', 'manageRoles');"><h2>Manage roles</h2></li>
<li class="selecter" onclick="$$$.tabber('owned', 'manageCommands');"><h2>Manage commands</h2></li>
<li class="selecter" onclick="$$$.tabber('owned', 'chnldefaults');"><h2>Channel defaults</h2></li>
<li class="selecter" onclick="$$$.tabber('owned', 'wordfilter');"><h2>Word filters</h2></li>
<li class="selecter" onclick="$$$.tabber('owned', 'chnltheme');"><h2>Theme</h2></li>
</ul>
</div>
<div class="menuPanel" id="manageRoles">
<div id="goBack" onclick="$$$.tabber('owned', 'settingsMenu');">
<span id="goBackArrow"></span>
</div>
<div id="roleAdmin">
<h2>Admins</h2>
<ul id="listAdmins"></ul>
</div>
<div id="roleMod">
<h2>Mods</h2>
<ul id="listMods"></ul>
</div>
</div>
<div class="menuPanel" id="manageCommands">
<div id="goBack" onclick="$$$.tabber('owned', 'settingsMenu');">
<span id="goBackArrow"></span>
</div>
<div id="cmdChannelOwner">
<h2>Channel Owner</h2>
<ul id="listAdmins"></ul>
</div>
<div id="cmdAdmin">
<h2>Admin</h2>
<ul id="listAdmins"></ul>
</div>
<div id="cmdMod">
<h2>Mod</h2>
<ul id="listMods"></ul>
</div>
<div id="cmdBasic">
<h2>Basic</h2>
<ul id="listBasic"></ul>
</div>
</div>
<div class="menuPanel" id="chnldefaults">
<div id="goBack" onclick="$$$.tabber('owned', 'settingsMenu');">
<span id="goBackArrow"></span>
</div>
<ul>
<li>
<h2>Channel Font</h2>
<input id="chnlfont" placeholder="Droid Sans" />
<button id="loadfont" style="display: none;width:100%;margin-top: 10px;" class="customButton">Load channel font</button>
</li>
<li class="toggleSlider">
<h2>Filters</h2>
<label>
<input id="tglfilter" type="checkbox"/>
<span class="slider"></span>
</label>
</li>
</ul>
</div>
<div class="menuPanel" id="wordfilter">
<div id="goBack" onclick="$$$.tabber('owned', 'settingsMenu');">
<span id="goBackArrow"></span>
</div>
<button class="customButton">Add new filter</button>
<div id="inputreplaceh">
<input placeholder="Replace this" />
<input placeholder="With this" />
</div>
<table id="filteredWords"></table>
</div>
<div class="menuPanel" id="chnltheme">
<div id="goBack" onclick="$$$.tabber('owned', 'settingsMenu');">
<span id="goBackArrow"></span>
</div>
<div class="textStyle">
<div class="styleAtt" id="styleinput-bar"><h3>Inputbar</h3> <div class="colorpicker"><trash class="trash"></trash><span></span></div></div>
<div class="styleAtt" id="styletoggle-menu"><h3>MenuToggle</h3> <div class="colorpicker"><trash class="trash"></trash><span></span></div></div>
</div>
</div>
</div>
</div>
<div style="display:none" id="activeChannels">
<table>
<th>name</th>
<th>online</th>
<th>tags</th>
</table>
</div>
</div>
</div>
</div>
<div id="input-bar">
<textarea autocomplete="off" onblur="socket.emit('typing', false)" autofocus id="ac" placeholder="Type anything then press enter, or drag image here."></textarea>
<div id="toggle-menu"><span></span></div>
</div>
</main>
<script src="/socket.io/socket.io.js"></script>
<script src="/media.js"></script>
<script src="/dateFormat.js"></script>
<script src="/parser.js"></script>
<script src="/menu.js"></script>
<script src="/client.js"></script>
<script src="/commands.js"></script>
<script src="/cursors.js"></script>
</body>
</html>