forked from andmm/live-bomb
-
Notifications
You must be signed in to change notification settings - Fork 4
/
popup.html
279 lines (255 loc) · 15.4 KB
/
popup.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
<!DOCTYPE html>
<html style="display: none;">
<head>
<title>Live Bomb!</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/style.min.css">
</head>
<body class="livebomb-dark">
<!-- Wrapper -->
<div id="live-bomb">
<!-- Header -->
<div id="header" class="container">
<div class="row no-gutter">
<div class="col-xs-4">
<a href="http://www.giantbomb.com" target="_blank"><img id="logo" class="img-responsive" src="/images/GB_logo_site.png"></a>
</div>
<div class="col-xs-8">
<img id="lb-logo" class="img-responsive" src="images/logotest2.png">
</div>
</div>
</div>
<!-- Buttons -->
<ul id="lb-controls" class="btn-group" role="tablist">
<li class="btn btn-theme col-xs-4"><a href="#lb-page-settings" role="tab" data-toggle="tab"><i class="fa fa-cogs fa-lg"></i></a></li>
<li class="btn btn-theme col-xs-4 active"><a href="#lb-page-status" role="tab" data-toggle="tab"><i class="fa fa-dot-circle-o fa-lg"></i></a></li>
<li class="btn btn-theme col-xs-4"><a href="#lb-page-schedule" role="tab" data-toggle="tab"><i class="fa fa-calendar-o fa-lg"></i></a></li>
</ul>
<!-- Extension Body -->
<div id="lb-main" class="tab-content">
<!-- SETTINGS PAGE -->
<div id="lb-page-settings" class="tab-pane">
<div class="custom-scroll">
<div class="container">
<div class="row">
<div id="lb-settings-message" class="col-xs-12 text-center" style="display: none;">
<h5><i class="fa fa-check-circle fa-lg"></i> Settings updated!</h5>
</div>
</div>
<div class="row">
<form id="lb-form-settings">
<div class="form-group">
<!-- <div class="row">
<div class="col-xs-12">
<h5>GiantBomb</h5>
</div>
</div> -->
<div class="row">
<div class="col-xs-12">
<label class="checkbox-inline">
<input type="checkbox" name="gb-upcoming" value="">
<label>Track Upcoming Schedule</label>
</label>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<label class="checkbox-inline">
<input type="checkbox" name="gb-live" value="">
<label>Live Stream Alerts</label>
</label>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<label class="checkbox-inline">
<input type="checkbox" name="24h-clock" value="">
<label>Use 24 Hour Clock Format</label>
</label>
</div>
</div>
<!-- <div class="row">
<div class="col-xs-12">
<h5>GameSpot</h5>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<label class="checkbox-inline">
<input type="checkbox" name="gs-upcoming" value="">
<label>Track Upcoming Schedule</label>
</label>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<label class="checkbox-inline">
<input type="checkbox" name="gs-live" value="">
<label>Live Stream Alerts</label>
</label>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<h5>ComicVine</h5>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<label class="checkbox-inline">
<input type="checkbox" name="cv-upcoming" value="">
<label>Track Upcoming Schedule</label>
</label>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<label class="checkbox-inline">
<input type="checkbox" name="cv-live" value="">
<label>Live Stream Alerts</label>
</label>
</div>
</div> -->
</div>
<div class="form-group">
<label class="checkbox-inline">
<input type="checkbox" name="notification" value="">
<label>Show chrome notifications.</label>
</label>
</div>
<div class="form-group">
<label>Check for live video: Every <span id="rangeval-timer"></span> min</label>
<input type="range" name="timer" min="60000" max="1800000" step="60000">
</div>
<div class="form-group">
<label class="checkbox-inline">
<input type="checkbox" name="notification-sound" value="">
<label>Play sound for notifications.</label>
</label>
</div>
<div class="form-group">
<label>Notification volume: <span id="rangeval-notification-volume"></span>%</label>
<input type="range" name="notification-volume" min="0" max="100" step="1">
</div>
<div class="form-group">
<label>Select the sound:</label>
<label class="radio">
<input type="radio" name="sound" value="rapman"> Rapman<i class="fa fa-volume-up play-sound pull-right" data-playsound="rapman"></i>
</label>
<label class="radio">
<input type="radio" name="sound" value="bumper"> GB Bumper<i class="fa fa-volume-up play-sound pull-right" data-playsound="bumper"></i>
</label>
<label class="radio">
<input type="radio" name="sound" value="dropbomb"> "Drop a bomb on it"<i class="fa fa-volume-up play-sound pull-right" data-playsound="dropbomb"></i>
</label>
<label class="radio">
<input type="radio" name="sound" value="bman" checked> Small Business Man<i class="fa fa-volume-up play-sound pull-right" data-playsound="bman"></i>
</label>
</div>
<div class="form-group">
<label>Select the theme:</label>
<div class="btn-group" data-toggle="buttons" id="theme-selector">
<div id="dark-theme" class="btn btn-sm btn-theme active">
<input type="radio" name="theme" value="dark"> Dark Theme
</div>
<div id="light-theme" class="btn btn-sm btn-theme">
<input type="radio" name="theme" value="light"> Light Theme
</div>
</div>
</div>
<div class="form-group">
<label class="checkbox-inline">
<input type="checkbox" name="schedule-badge" value="">
<label>Display number of schedule items on the icon badge when video is not live.</label>
</label>
</div>
<div class="form-group">
<label class="checkbox-inline">
<input type="checkbox" name="show-schedule" value="">
<label>Show schedule page by default if there's no live video.</label>
</label>
</div>
</form>
</div>
<div class="row">
<p id="settings-about" class="text-center"><a href="#lb-page-about" role="tab" data-toggle="tab">About <i class="fa fa-info-circle"></i></a></p>
</div>
</div>
</div>
</div>
<!-- LIVE PAGE -->
<div id="lb-page-status" class="tab-pane active">
<!-- Online -->
<div id="lb-status-live" style="display: none;">
<img id="image-online" src="images/online.png">
<h3 class="place-holder text-center" id="live-duder">Hey Duder!</h3>
<h5 id="live-container">Giant Bomb is live with:</h5>
<a href="http://www.giantbomb.com/chat/" target="_blank" id="live-link"><h4 id="show-name"></h4></a>
</div>
<!-- Offline -->
<div id="lb-status-offline">
<div id="lb-offline-background">
<i id="lb-refresh-button" class="fa fa-refresh"></i>
<img id="image-offline" src="images/image-offline.png">
<h3 class="place-holder text-center">Sorry Duder!</h3>
<h4 id="offline-bottom" class="text-center">The guys are busy <br>windjamming :(</h4>
<br>
</div>
<a href="#lb-page-about" role="tab" data-toggle="tab"><i class="fa fa-info-circle" id="offline-about-icon"></i></a>
</div>
<!-- Countdown -->
<div id="lb-status-countdown" style="display: none;">
<div class="row">
<div class="col-xs-12">
<h3 class="place-holder text-center">Börk börk börk!</h3>
<h4 id="countdown-bottom" class="text-center">Zee next shoo is schedooled tu stert in...</h4>
<h4 id="lb-status-timer" class="text-center"></h4>
<a href="#lb-page-about" role="tab" data-toggle="tab"><i class="fa fa-info-circle" id="offline-about-icon"></i></a>
</div>
</div>
</div>
<div id="lb-status-error"></div>
</div>
<!-- Schedule Page -->
<div id="lb-page-schedule" class="tab-pane">
<div class="custom-scroll container">
<div class="row">
<div id="lb-schedule-header" class="col-xs-12">
<img id="schedule-header-image" src="images/upcoming-gb.png"><i id="lb-refresh-schedule" class="fa fa-refresh fa-lg"></i>
<i class="fa fa-cog fa-spin" id="lb-schedule-loading"></i>
</div>
</div>
<div class="row">
<div id="lb-schedule-items" class=""></div>
</div>
</div>
</div>
<!-- About page -->
<div id="lb-page-about" class="text-center tab-pane">
<div class="custom-scroll container">
<div class="row">
<div class="col-xs-12">
<h3 id="about-page-title">About <i class="fa fa-times" id="offline-about-close"></i></h3>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<img src="/images/logotest2.png" id="about-image" class="">
</div>
</div>
<div class="row">
<div class="col-xs-12">
<p><a href="https://github.com/Chaser324/live-bomb/blob/master/README.md#contributors--thanks" target="_blank"><i class="fa fa-users"></i> Credits & Thanks</a></p>
<p class=""><a href="https://github.com/Chaser324/live-bomb" target="_blank"><i class="fa fa-github-square"></i> Fork on GitHub</a></p>
<p><a id="lb-author" href="https://chrome.google.com/webstore/support/foadpaalpoealldkplclbhbebjmpaild?hl#bug" target="_blank"><i class="fa fa-envelope" id="mail-icon"></i> Feedback, Bug Reports, Feature Requests</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/common.min.js"></script>
<script type="text/javascript" src="js/frontend.min.js"></script>
</body>
</html>