-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·310 lines (289 loc) · 11.6 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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<html>
<head>
<title>Totem</title>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="favicon.png">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-signin-scope" content="profile email">
<meta name="google-signin-client_id" content="">
<meta name="description" content="Totem is a group music discovery service. Share your favorite tunes, or sit back and let new ones come to you.">
<link href="http://static.totem.fm/totem.vendor.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato:400,300|Josefin+Sans:400,300,500" rel="stylesheet">
<link href="dist/totem.min.css" rel="stylesheet">
</head>
<body>
<nav class="no-sel">
<span id="logo" class="hide-mobile">totem</span>
<ul id="desktop_nav" class="hide-mobile">
<li class="nav_room_list active">Rooms</li>
<li class="nav_player">Now Playing</li>
<li class="nav_library">Library</li>
</ul>
<ul id="mobile_nav">
<li class="nav_room_list active"></li>
<li class="nav_player"></li>
<li class="nav_library"></li>
<li class="nav_chat"></li>
<li class="nav_info"></li>
</ul>
<div class="pull-right">
<div id="my_queue" class="hide-mobile">
<i class="fa fa-repeat"></i>
<span>My Queue</span>
</div>
<a id="login_menu"></a>
</div>
</nav>
<div id="user_menu">
<ul>
<li class="header">Notifications</li>
<li id="setting_song_change" class="switch">Song Change<span class="switch-indicator switch-enabled">ON</span><div class="switch_selector"></div></li>
<li id="setting_chat_notifications" class="switch">Chat<span class="switch-indicator switch-multiple">MENTION</span><div class="switch_selector big_selector"></div></li>
<li class="seperator"></li>
<li id="setting_quality_change" class="switch">Video Quality<span class="switch-indicator switch-720p">720p</span><div class="switch_selector big_selector"></div></li>
<li class="seperator"></li>
<li id="setting_change_username">Change Username</li>
<li id="setting_my_profile">My Profile</li>
<li id="logout">Logout</li>
</ul>
</div>
<div id="queue_view"></div>
<div class="modal fade" id="room_description_modal" tabindex="-1" role="dialog" aria-labelledby="room_description_modal_label">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="room_description_modal_label">Room Description</h4>
</div>
<div class="modal-body" id="room_description_extend_content"></div>
<div class="modal-footer">
press esc to close
</div>
</div>
</div>
</div>
<div id="disconnected" class="animsition">
<table>
<tr>
<td width="100px">
<i class="fa fa-exclamation-triangle" id="disconnected_triangle"></i>
</td>
<td>
<div id="disconnected_header">Disconnected
<div id="disconnected_body">
The server is probably restarting or being worked on. Refreshing in <span id="disconnected-countdown">3</span>...
</div>
</div>
</td>
</tr>
</table>
</div>
<div id="mobile_chat" class="chat animsition">
<div class="chat-text"></div>
<div class="chat_textbox input-group"></div>
</div>
<div id="mobile_info" class="animsition">
<div class="room-title"></div>
<div class="room-description"></div>
<div class="room-informations">
<span class="room-users focused selected"><span class="number">0</span> <span class="room-info-footer">listening</span></span>
<span class="room-queue focused"><span class="number">0</span> <span class="room-info-footer">in queue</span></span>
</div>
<div id="mobile_user_list" class="user_list toToggle list_menu"></div>
<div id="mobile_queue_list" class="queue_list toToggle list_menu"></div>
</div>
<div id="music_list" class="animsition container">
<div id="playlist_list">
</div>
<div id="queue_permission_failure" class="container">
<i class="fa fa-ban"></i>
<h2>You are banned from queueing songs in this room.</h2>
<p>Contact a room staff member for more information or to remove the ban.</p>
</div>
<div id="playlist_items">
<span class="playlist-list-return">« Playlists</span>
<ul class="list-group playlist-list-content">
<li class="list-group-item playlist_item">
Loading...
</li>
</ul>
</div>
<div id="playlist_search" class="animsition">
<span class="playlist-list-return">« Playlists</span>
<form id="searchYoutube" class="input-group">
<input type="text" class="form-control" id="search_text" placeholder="Search Youtube">
<span class="input-group-btn">
<button class="btn btn-primary" type="submit" id="search_send"><span class="icon-search"></span></button>
</span>
</form>
<ul id="search_suggestions"></ul>
<span id="clear_search_history">clear recent searches</span>
<div class="searchResults">
<ul class="list-group playlist-list-content"></ul>
</div>
</div>
</div>
<div id="room_list" class="animsition container">
<div class="row">
<div class="col-sm-4">
<div class="panel panel-dark" id="room_list_tools">
<b>Welcome!</b> Totem lets you find new music through great communities. Share your favorite songs, or just hang out!
<ul id="room_list_options">
<li id="nav_create_room"><i class="fa fa-plus"></i>Create Room</li>
<li id="nav_refresh_list"><i class="fa fa-refresh"></i>Refresh List</li>
</ul>
</div>
</div>
<div id="room_list_content"></div>
</div>
</div>
<div id="player" class="animsition">
<div id="now_playing_content">
<div id="requires_authentication" class="container">
<i class="fa fa-lock"></i>
<h2><span id="room_password_name_target"></span> requires a password to join.</h2>
<div class="input-group">
<input class="form-control" type="password" placeholder="room password" id="room_password_prompt">
<span class="input-group-btn">
<button class="btn btn-info" id="submit_room_password">Go</button>
</span>
</div>
<input type="checkbox" checked id="remember_room_password"> Remember Password
<span id="invalid_room_password">Incorrect password.</span>
</div>
<div id="permission_failure" class="container">
<i class="fa fa-ban"></i>
<h2>You are banned from joining this room.</h2>
<p>Contact a room staff member for more information or to remove the ban. <a class="nav_room_list">Return to the room list?</a></p>
</div>
<div id="main_content">
<div class="song-title-container">
<h1 class="title_display"></h1>
<h3 class="artist_display"></h3>
</div>
<div id="time_elapsed"><div></div></div>
<span id="time_remaining">0:00</span>
<div class="current-dj-wrapper hide-mobile">
<span class="current-dj"></span>
<i class="fa fa-headphones"></i>
</div>
<div class="embed-responsive embed-responsive-16by9">
<div id="youtube_player"></div>
</div>
<div id="toggle_block" class="no-sel">
<div id="player_actions" class="pull-left">
<div id="video-toggle" class="toggle">
<span class="icon-eye" style="vertical-align: 35%;"></span>
</div>
<div id="volume-toggle" class="toggle">
<span class="icon-volume" style="vertical-align: 35%"></span>
</div>
<input type="range" value="50" min="0" max="100" id="volume-slider">
</div>
<div id="vote_actions" class="pull-right">
<div id="score_wrapper">
<div id="score-negative-wrapper" class="pointer">
<i class="fa fa-chevron-down"></i>
<div id="score-negative" class="score"></div>
</div>
<div id="score-positive-wrapper" class="pointer">
<i class="fa fa-chevron-up"></i>
<div id="score-positive" class="score"></div>
</div>
</div>
<span id="youtube_rate">
<i class="fa fa-thumbs-up"></i> <span class="rate">Like</span>
</span>
</div>
</div>
</div>
<div id="no_video" class="no-sel">
<span class="big-header">Awkward silence...</span>
<div class="small-header">No song is in the queue to play. You can add one from the <i>Library</i> tab.
</div>
</div>
<div id="new_room_welcome" class="no-sel">
<span class="big-header">Welcome!</span>
<div class="room_welcome_description">
<p>
You have full control over what gets played, how this room looks, and who else can moderate it. To get started, click the gear icon in the upper right.
</p>
<p>
Playing for an empty room isn't much fun. Once you're ready, invite your friends to listen and contribute:
</p>
<div class="social_share_links">
<i class="fa fa-twitter"></i>
<i class="fa fa-facebook"></i>
<i class="fa fa-link"></i>
<div id="share_room_well">
<div id="share_room_text">
</div>
<span>Use the above link to share your room.</span>
</div>
</div>
<a>Close</a>
</div>
</div>
<div id="sidebar" class="col-xs-4">
<div id="top_info_panel">
<div id="room_info">
<span class="room-title"></span>
<span id="room_description_wrapper">
<span class="room-description"></span>
</span>
<span id="room_users_wrapper" class="no-sel">
<span class="room-users focused"><span class="number">0</span> <span class="room-info-footer">listening</span></span>
<span class="room-queue focused"><span class="number">0</span> <span class="room-info-footer">in queue</span></span>
</span>
</div>
<div id="manual">
<span id="add_to_queue" class="manual-option"><a><i class="fa fa-plus"></i> add song to queue</a></span>
<span id="manual-notice" class="manual-option"><a onclick="backToRoom()"><i class="fa fa-chevron-left"></i> back to <span class="room-title"></span></a></span>
</div>
</div>
<div id="user_list" class="toToggle list_menu user_list"></div>
<div id="queue_list" class="toToggle list_menu queue_list"></div>
<div id="chat" class="chat toToggle">
<div class="chat-text"></div>
<div class="chat_textbox input-group"></div>
<div id="chat_footer">
<a class="show_about_modal">about</a> · <a class="show_contact_modal">contact</a> · <a class="show_help_modal">help</a> · <span>v<span class="version_inner">1.1.1</span></span>
</div>
</div>
</div>
</div>
<div id="now_playing_placeholder">
Join a room or queue a song from your collection to see controls here.
</div>
</div>
<div id="create_form" class="animsition container">
<div id="room_form_header">
<span id="room_form_back"></span><span id="room_form_name">Create Room</span>
</div>
<div class="alert alert-danger"></div>
<div id="create_room_form_placeholder">
Please <a class="signInButton">log in</a> to create a room.
</div>
<div id="create_room_form_content">
<div class="form-group">
<label for="new_room_name">Room name</label>
<input id="new_room_name" type="text" class="form-control input-lg">
<label for="new_room_description">Room Description</label>
<textarea id="new_room_description" class="form-control"></textarea>
<div id="room_form_password_select">
<span id="room_form_public" class="password_switcher_enabled">anyone can join</span> · <span id="room_form_password" class="password_switcher_disabled">ask for a password</span>
</div>
<div id="room_form_password_well">
<input type="password" id="new_room_password" class="form-control" placeholder="password">
</div>
<span>You can change more settings once the room has been created.</span>
<button type="submit" class="btn btn-info">Create</button>
</div>
</div>
</div>
<script src="http://static.totem.fm/totem.vendor.min.js"></script>
<script src="dist/totem.min.js"></script>
<script src="https://apis.google.com/js/client:platform.js?onload=initAuth2" async defer></script>
<script src="http://www.youtube.com/iframe_api"></script>
<script src="http://static.totem.fm/twemoji-picker.js" async defer></script>
</body>
</html>