forked from YOURsammich/OldAwakens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
189 lines (176 loc) · 10.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
<!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="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"/>
</head>
<body>
<main>
<div id="main-container">
<div id="flexOne">
<div id="messages-background">
<div id="center-text"></div>
</div>
<div id="cursor-container"></div>
<div id="messages"></div>
</div>
<div id="menu-container">
<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></div>
</div>
<div style="display:none" id="mySettings">
<div id="stylePanels">
<div id="styleMenu">
<ul>
<li class="selecter" onclick="$$$.tabber('stylePanels', 'stylePro');">Style Profiles<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>
</ul>
</div>
<div class="menuPanel" id="stylePro">
<div id="goBack" onclick="$$$.tabber('stylePanels', 'styleMenu');">
<span id="goBackArrow"></span>
</div>
<div id="dislayStyles">
<div id="0button" class="savedStyle">Save style to profile 1</div>
<div id="1button" class="savedStyle">Save style to profile 2</div>
<div id="2button" class="savedStyle">Save style to profile 3</div>
<div id="3button" class="savedStyle">Save style to profile 4</div>
<div id="4button" class="savedStyle">Save style to profile 5</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>
</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>
</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>
<h2>Filters</h2>
<label>
<input id="tglfilter" type="checkbox"/>
<span class="slider"></span>
</label>
</li>
</ul>
</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 class="toggle-menu"><span></span></div>
</div>
</main>
<script src="/socket.io/socket.io.js"></script>
<script src="/media.js"></script>
<script src="/dollarSign.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>