forked from dotkom/notifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
461 lines (434 loc) · 21.2 KB
/
options.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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
<!DOCTYPE html>
<html lang="en">
<head>
<title>Options</title>
<meta charset="utf-8">
<link rel="shortcut icon" href="img/blank.png"/>
<!-- CSS Less -->
<link rel="stylesheet" type="text/css" href="less/options.css" />
<link rel="stylesheet" type="text/css" href="less/palettes/blue.css" id="palette" />
</head>
<body>
<div id="background"></div>
<header>
<div id="headerText">
<b>Notifier</b> Options
</div>
<!-- "Options saved <3" -->
<div id="notification"><span class="heart"><3</span> <span class="saved">Saved</span></div>
</header>
<div id="container">
<div id="left" class="side">
<div class="item">
<label for="showAffiliation1">
<input type="checkbox" name="showAffiliation1" value="showAffiliation1" id="showAffiliation1" disabled="disabled" />
<span>
Velg nyhetskilde blant linjeforeninger, studentmedier og mer
</span><br />
</label>
<div id="affiliationBox" class="image">
<img id="affiliationSymbol" src="/img/options-gloss.png" />
<div id="topRow" class="row">
<!-- IMPORTANT: Keep the same order here as in affiliation.js -->
<select id="affiliationKey1">
<optgroup label="Linjeforeninger Gløshaugen">
<option value="abakus">Abakus</option>
<option value="alf">Alf</option>
<option value="berg">Berg</option>
<option value="delta">Delta</option>
<option value="emil">EMIL</option>
<option value="aarhonen">H.M. Aarhønen</option>
<option value="hybrida">Hybrida</option>
<option value="leonardo">Leonardo</option>
<option value="mannhullet">Mannhullet</option>
<option value="online">Online</option>
<option value="nabla">Nabla</option>
<option value="solan">Solan</option>
<option value="spanskroeret">Spanskrøret</option>
<option value="volvox">Volvox</option>
</optgroup>
<optgroup label="Linjeforeninger Dragvoll">
<option value="communitas">Communitas</option>
<!-- <option value="de_folkevalgte">De Folkevalgte</option> -->
<option value="dhs">Det Historiske Selskab</option>
<option value="dionysos">Dionysos</option>
<option value="erudio">Erudio</option>
<option value="eureka">Eureka</option>
<option value="geolf">Geolf</option>
<option value="gengangere">Gengangere</option>
<option value="jump_cut">Jump Cut</option>
<option value="ludimus">Ludimus</option>
<option value="paideia">Paideia</option>
<option value="panoptikon">Panoptikon</option>
<option value="pareto">Pareto</option>
<option value="primetime">Primetime</option>
<option value="psi">Psi</option>
<option value="sturm_und_drang">Sturm und Drang</option>
<option value="teaterlosjen">Teaterlosjen</option>
</optgroup>
<optgroup label="Master-/doktor-/internasjonale foreninger">
<option value="dion">DION</option>
<!-- <option value="esn">ESN</option> -->
<option value="iaeste">IAESTE</option>
<option value="isu">ISU</option>
<option value="projeksjon">Projeksjon</option>
<!-- <option value="signifikant">Signifikant</option> -->
<option value="soma">Soma</option>
<option value="symbiosis">Symbiosis</option>
</optgroup>
<optgroup label="Linjeforeninger HiST/DMMH/TJSF/BI">
<option value="fraktur">Fraktur</option>
<option value="kom">KOM</option>
<option value="logistikkstudentene">Logistikkstudentene</option>
<option value="nutrix">Nutrix</option>
<option value="tihlde">TIHLDE</option>
<option value="tim_og_shaenko">Tim & Shænko</option>
<option value="tjsf">TJSF</option>
<option value="vivas">Vivas</option>
</optgroup>
<optgroup label="Studentmedier++">
<option value="dusken">Dusken</option>
<option value="universitetsavisa">Universitetsavisa</option>
<option value="gemini">Gemini</option>
<option value="adressa">Adresseavisen (mye nyhetsvarsler!)</option>
</optgroup>
<optgroup label="Store studentorganisasjoner">
<option value="samfundet">Samfundet</option>
</optgroup>
<optgroup label="Studentdemokrati">
<option value="velferdstinget">Velferdstinget</option>
<option value="studentparlamentet_hist">Studentparlamentet HiST</option>
<option value="studenttinget_ntnu">Studenttinget NTNU</option>
</optgroup>
<optgroup label="Institusjoner">
<option value="ntnu">NTNU</option>
<option value="rektoratet_ntnu">Rektoratet NTNU</option>
<option value="hist">HiST</option>
<option value="dmmh">DMMH</option>
</optgroup>
</select>
<select id="affiliationPalette">
<optgroup label="Fargepaletter">
<option value="blue">Blå fargepalett</option>
<option value="green">Grønn fargepalett</option>
<option value="grey">Grå fargepalett</option>
<option value="yellow">Gul fargepalett</option>
<option value="purple">Lilla fargepalett</option>
<option value="pink">Rosa fargepalett</option>
<option value="red">Rød fargepalett</option>
<option value="cyan">Turkis fargepalett</option>
</optgroup>
<optgroup label="Spesielle paletter">
<option value="online">Onlines farger</option>
</optgroup>
</select>
</div>
<div id="bottomRow" class="row">
<input id="showAffiliation2" type="checkbox" /><label for="showAffiliation2">Bruk ekstra nyhetskilde:</label>
<!-- IMPORTANT: Keep the same order here as in affiliation.js -->
<select id="affiliationKey2">
<optgroup label="Linjeforeninger Gløshaugen">
<option value="abakus">Abakus</option>
<option value="alf">Alf</option>
<option value="berg">Berg</option>
<option value="delta">Delta</option>
<option value="emil">EMIL</option>
<option value="aarhonen">H.M. Aarhønen</option>
<option value="hybrida">Hybrida</option>
<option value="leonardo">Leonardo</option>
<option value="mannhullet">Mannhullet</option>
<option value="online">Online</option>
<option value="nabla">Nabla</option>
<option value="solan">Solan</option>
<option value="spanskroeret">Spanskrøret</option>
<option value="volvox">Volvox</option>
</optgroup>
<optgroup label="Linjeforeninger Dragvoll">
<option value="communitas">Communitas</option>
<!-- <option value="de_folkevalgte">De Folkevalgte</option> -->
<option value="dhs">Det Historiske Selskab</option>
<option value="dionysos">Dionysos</option>
<option value="erudio">Erudio</option>
<option value="eureka">Eureka</option>
<option value="geolf">Geolf</option>
<option value="gengangere">Gengangere</option>
<option value="jump_cut">Jump Cut</option>
<option value="ludimus">Ludimus</option>
<option value="paideia">Paideia</option>
<option value="panoptikon">Panoptikon</option>
<option value="pareto">Pareto</option>
<option value="primetime">Primetime</option>
<option value="psi">Psi</option>
<option value="sturm_und_drang">Sturm und Drang</option>
<option value="teaterlosjen">Teaterlosjen</option>
</optgroup>
<optgroup label="Master-/doktor-/internasjonale foreninger">
<option value="dion">DION</option>
<!-- <option value="esn">ESN</option> -->
<option value="iaeste">IAESTE</option>
<option value="isu">ISU</option>
<option value="projeksjon">Projeksjon</option>
<!-- <option value="signifikant">Signifikant</option> -->
<option value="soma">Soma</option>
<option value="symbiosis">Symbiosis</option>
</optgroup>
<optgroup label="Linjeforeninger HiST/DMMH/TJSF/BI">
<option value="fraktur">Fraktur</option>
<option value="kom">KOM</option>
<option value="logistikkstudentene">Logistikkstudentene</option>
<option value="nutrix">Nutrix</option>
<option value="tihlde">TIHLDE</option>
<option value="tim_og_shaenko">Tim & Shænko</option>
<option value="tjsf">TJSF</option>
<option value="vivas">Vivas</option>
</optgroup>
<optgroup label="Studentmedier++">
<option value="dusken">Dusken</option>
<option value="universitetsavisa">Universitetsavisa</option>
<option value="gemini">Gemini</option>
<option value="adressa">Adresseavisen (mye nyhetsvarsler!)</option>
</optgroup>
<optgroup label="Store studentorganisasjoner">
<option value="samfundet">Samfundet</option>
</optgroup>
<optgroup label="Studentdemokrati">
<option value="velferdstinget">Velferdstinget</option>
<option value="studentparlamentet_hist">Studentparlamentet HiST</option>
<option value="studenttinget_ntnu">Studenttinget NTNU</option>
</optgroup>
<optgroup label="Institusjoner">
<option value="ntnu">NTNU</option>
<option value="rektoratet_ntnu">Rektoratet NTNU</option>
<option value="hist">HiST</option>
<option value="dmmh">DMMH</option>
</optgroup>
</select>
</div>
</div>
</div>
<div class="item">
<label for="showCantina">
<input type="checkbox" name="showCantina" value="showCantina" id="showCantina" />
<span>
Vis middagsmeny og åpningstider fra SiT
</span><br />
</label>
<div id="cantinaBox" class="image">
<select id="leftCantina">
<optgroup label="Kantiner">
<option value="dmmh">DMMH</option>
<option value="dragvoll">Dragvoll</option>
<option value="elektro">Elektro</option>
<option value="hangaren">Hangaren</option>
<option value="kalvskinnet">Kalvskinnet</option>
<option value="kjel">Kjelhuset</option>
<option value="moholt">Moholt</option>
<option value="mtfs">MTFS</option>
<option value="ranheimsveien">Ranheimsveien</option>
<option value="realfag">Realfag</option>
<option value="rotvoll">Rotvoll</option>
<option value="tyholt">Tyholt</option>
<option value="oya">Øya</option>
</optgroup>
<optgroup label="Storkiosker">
<option value="storkiosk dragvoll">Storkiosk Dragvoll</option>
<option value="storkiosk gloshaugen">Storkiosk Gløshaugen</option>
<option value="storkiosk oya">Storkiosk Øya</option>
<option value="idretts. dragvoll">Idretts. Dragvoll</option>
</optgroup>
<optgroup label="Kaféer">
<option value="sito dragvoll">Sito Dragvoll</option>
<option value="sito realfag">Sito Realfag</option>
<option value="sito stripa">Sito Stripa</option>
</optgroup>
</select>
<label for="showCantina">
<img id="cantinaLogo" src="/img/logo-sit.png" />
</label>
<select id="rightCantina">
<optgroup label="Kantiner">
<option value="dmmh">DMMH</option>
<option value="dragvoll">Dragvoll</option>
<option value="elektro">Elektro</option>
<option value="hangaren">Hangaren</option>
<option value="kalvskinnet">Kalvskinnet</option>
<option value="kjel">Kjelhuset</option>
<option value="moholt">Moholt</option>
<option value="mtfs">MTFS</option>
<option value="ranheimsveien">Ranheimsveien</option>
<option value="realfag">Realfag</option>
<option value="rotvoll">Rotvoll</option>
<option value="tyholt">Tyholt</option>
<option value="oya">Øya</option>
</optgroup>
<optgroup label="Storkiosker">
<option value="storkiosk dragvoll">Storkiosk Dragvoll</option>
<option value="storkiosk gloshaugen">Storkiosk Gløshaugen</option>
<option value="storkiosk oya">Storkiosk Øya</option>
<option value="idretts. dragvoll">Idretts. Dragvoll</option>
</optgroup>
<optgroup label="Kaféer">
<option value="sito dragvoll">Sito Dragvoll</option>
<option value="sito realfag">Sito Realfag</option>
<option value="sito stripa">Sito Stripa</option>
</optgroup>
</select>
</div>
</div>
<div class="item">
<label for="showBus">
<input type="checkbox" name="showBus" value="showBus" id="showBus" />
<span>
Vis sanntidsbuss fra AtB
</span><br />
</label>
<div id="busBox" class="image">
<div id="firstBus" class="busStop">
<input type="text" placeholder="Busstopp"></input><br />
<select>
<option>til byen</option>
<option selected="selected">fra byen</option>
</select>
<div class="lines">
<!-- a wrapping div makes the slide animation smooth for the table that's injected here -->
</div>
</div>
<label for="showBus">
<img id="busLogo" src="/img/logo-atb.png" />
</label>
<div id="secondBus" class="busStop">
<input type="text" placeholder="Busstopp"></input><br />
<select>
<option selected="selected">til byen</option>
<option>fra byen</option>
</select>
<div class="lines">
<!-- a wrapping div makes the slide animation smooth for the table that's injected here -->
</div>
</div>
<div id="arrowDown">
<img src="img/options-arrow-down.png" />
</div>
</div>
</div>
<div class="item iconitem">
<label for="showOffice">
<input type="checkbox" name="showOffice" value="showOffice" id="showOffice" />
<span>
Vis kontorstatus:
<img class="icon open" src="/org/online/icon-open.png" />Åpent
<img class="icon closed" src="/org/online/icon-closed.png" />Lukket
<img class="icon meeting" src="/org/online/icon-meeting.png" />Møte
<img class="icon waffle" src="/img/icon-waffle.png"/>Vafler
</span>
<br />
<img class="image" src="/img/options-office-plan.png" />
<img id="officeStatusOverlay" src="/org/online/icon-open.png" />
</label>
</div>
<!--
<div class="item">
<label for="openChatter">
<input type="checkbox" name="openChatter" value="openChatter" id="openChatter" />
<span>
Åpne WebChat i bakgrunnen når __nettleseren__ starter
</span><br />
<img class="image" src="/img/options-webchat.png" />
</label>
</div>
-->
</div>
<div id="right" class="side">
<div class="item">
<label for="useInfoscreen">
<input type="checkbox" name="useInfoscreen" value="useInfoscreen" id="useInfoscreen" />
<span>
Skru av <b>Notifier</b>, skru på <b>Infoscreen</b>
</span><br />
<img id="useInfoscreen" class="image" src="/img/options-infoscreen.png" />
<iframe id="infoscreenPreview" class="image" src="about:blank"></iframe>
</label>
</div>
<div id="infoscreenSlider">
<div class="item">
<label for="showNotifications">
<input type="checkbox" name="showNotifications" value="showNotifications" id="showNotifications" />
<span>
Vis varsel når nyheter publiseres / oppdateres
</span><br />
<img class="image" src="/img/options-desktop-notification.png" />
</label>
</div>
<div class="item">
<label for="coffeeSubscription">
<input type="checkbox" name="coffeeSubscription" value="coffeeSubscription" id="coffeeSubscription" />
<span>
Abonner på nytraktet kaffe
</span><br />
<img class="image" src="/img/options-coffee-subscription.png" />
</label>
</div>
</div>
</div> <!-- the slideup div, slides away all other options if useInfoscreen is checked -->
</div>
<!-- Suggestions for bus stops -->
<div id="busSuggestions"></div>
<!-- DEBUG: Links to the other pages in the app -->
<div id="debugLinks">
pages<br />
<button type="button" class="debug" data="infoscreen.html">infoscreen.html</button><br />
<button type="button" class="debug" data="popup.html">popup.html</button><br />
<br />cantina feeds<br />
<button type="button" class="debug" data="https://www.sit.no/rss.ap?thisId=38798">dmmh-feed</button><br />
<button type="button" class="debug" data="https://www.sit.no/rss.ap?thisId=36441">dragvoll-feed</button><br />
<button type="button" class="debug" data="https://www.sit.no/rss.ap?thisId=40227">elektro-feed</button><br />
<button type="button" class="debug" data="https://www.sit.no/rss.ap?thisId=36444">hangaren-feed</button><br />
<button type="button" class="debug" data="https://www.sit.no/rss.ap?thisId=36453">kalvskinnet-feed</button><br />
<button type="button" class="debug" data="https://www.sit.no/rss.ap?thisId=31681">kjel-feed</button><br />
<button type="button" class="debug" data="https://www.sit.no/rss.ap?thisId=36456">moholt-feed</button><br />
<button type="button" class="debug" data="https://www.sit.no/rss.ap?thisId=38753">ranheimsveien-feed</button><br />
<button type="button" class="debug" data="https://www.sit.no/rss.ap?thisId=36447">realfag-feed</button><br />
<button type="button" class="debug" data="https://www.sit.no/rss.ap?thisId=38910">rotvoll-feed</button><br />
<button type="button" class="debug" data="https://www.sit.no/rss.ap?thisId=36450">tyholt-feed</button><br />
</div>
<!-- "from dotKom with <3" -->
<div id="pageflip">
<div id="pfBackground"></div>
<div id="pfText">~$ ps -ef<br />~$ from \\<br /> </div>
<div id="pfFlip"></div>
<div id="pfLink">
<br />
<a href="http://github.com/dotkom/online-notifier/" target="_blank"><span id="pageflipspaces"> </span><br /><span id="pagefliptyping"></span><span class="pageflipcursor">_</span></a>
</div>
</div>
<!-- "Popup is up here"-bubble -->
<div id="popupHere">
<img class="icon" src="/org/online/symbol.png" />
<img class="arrow" src="/img/options-bubble-arrow.png" />
<div class="text">Notifier is up here</div>
<div class="subtext"><b>Alt+A</b> opens the popup</div>
</div>
<!-- JS No Dependencies -->
<script src="libs/jquery-2.0.0.min.js"></script>
<script src="js/missing.js"></script>
<script src="js/hotfix.js"></script>
<!-- JS Behind the scenes -->
<script src="js/browser.js"></script> <!-- browser needs jquery -->
<script src="js/constants.js"></script> <!-- constants needs browser -->
<script src="js/analytics.js"></script> <!-- analytics needs constants -->
<!-- JS Affiliation and Such -->
<script src="js/ajaxer.js"></script> <!-- ajaxer needs jquery -->
<script src="js/affiliation.js"></script> <!-- affiliation needs images -->
<script src="js/palettes.js"></script> <!-- palettes needs affiliation -->
<!-- JS Services -->
<script src="js/bus.js"></script>
<script src="js/coffee.js"></script>
<script src="js/favorite.js"></script>
<script src="js/meetings.js"></script>
<script src="js/news.js"></script>
<script src="js/office.js"></script>
<script src="js/stops.js"></script>
<!-- Document ready sript -->
<script src="cs/options.js"></script>
</body>
</html>