-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
executable file
·529 lines (501 loc) · 17.2 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
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
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>Apps for Light by Moore’sCloud</title>
<link rel="stylesheet" href="stylesheets/app.css">
<script src="javascripts/foundation/modernizr.foundation.js"></script>
</head>
<body>
<div class="row apps">
<div class="twelve columns">
<div class="row name">
<div class="twelve columns">
<h3 class="text-center">Cabaña De Luz</h3>
</div>
</div>
<div class="row">
<div class="one column">
</div>
<div class="two columns">
<div class="app">
<a id="candle">
<img src="images/apps/app.png" alt="candle app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app">
<a id="flame">
<img src="images/apps/app-flame.png" alt="flame app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app">
<a id="photograb">
<img src="images/apps/app-photograb.png" alt="photograb app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app">
<a id="colorwheel">
<img src="images/apps/app-colorwheel.png" alt="colorwheel app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app">
<a id="sentimental">
<img src="images/apps/app-sentimental.png" alt="sentimental app icon" />
</a>
</div>
</div>
<div class="one column">
</div>
</div>
<div class="row">
<div class="one column">
</div>
<div class="two columns">
<div class="app">
<a id="book">
<img src="images/apps/app-book.png" alt="book app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app">
<a id="countdown">
<img src="images/apps/app-countdown.png" alt="countdown app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app">
<a id="holiday">
<img src="images/apps/app-holiday.png" alt="holiday app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app">
<a id ="tempAU">
<img src="images/apps/app-temperature.png" alt="temperature app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app">
<a id="uvAU">
<img src="images/apps/app-uv.png" alt="uv-index app icon" />
</a>
</div>
</div>
<div class="one column">
</div>
</div>
<div class="row">
<div class="one column">
</div>
<div class="two columns">
<div class="app">
<a id="placcel">
<img src="images/apps/app-placcel.png" alt="placcel app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app">
<a id="airHK">
<img src="images/apps/app-air.png" alt="air pollution app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app off">
<a id="">
<img src="images/apps/app-placeholder.png" alt="placeholder app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app off">
<a id="">
<img src="images/apps/app-placeholder.png" alt="placeholder app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app off">
<a id="">
<img src="images/apps/app-placeholder.png" alt="placeholder app icon" />
</a>
</div>
</div>
<div class="one column">
</div>
</div>
<div class="row">
<div class="one column">
</div>
<div class="two columns">
<div class="app off">
<a id="">
<img src="images/apps/app-placeholder.png" alt="placeholder app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app off">
<a id="">
<img src="images/apps/app-placeholder.png" alt="placeholder app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app off">
<a id="">
<img src="images/apps/app-placeholder.png" alt="placeholder app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app off">
<a id="">
<img src="images/apps/app-placeholder.png" alt="placeholder app icon" />
</a>
</div>
</div>
<div class="two columns">
<div class="app off">
<a id="">
<img src="images/apps/app-placeholder.png" alt="placeholder app icon" />
</a>
</div>
</div>
<div class="one column">
</div>
</div>
<div class="row control">
<div class="nine columns centered">
<div class="row">
<div class="three columns">
<div class="light selected" id="0">
<img src="images/apps/light-left-on.png" alt="control panel light" />
<h5>Huey</h5>
</div>
</div>
<div class="three columns">
<div class="light" id="1">
<img src="images/apps/light-middle-on.png" alt="control panel light" />
<h5>Dewey</h5>
</div>
</div>
<div class="three columns">
<div class="light" id="2">
<img src="images/apps/light-middle-on.png" alt="control panel light" />
<h5>Louie</h5>
</div>
</div>
<div class="three columns">
<div class="light" id="3">
<img src="images/apps/light-right-on.png" alt="control panel light" />
<h5>Phooey</h5>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Candle App -->
<script src="apps/candle/candle.js"></script>
<link rel="stylesheet" href="apps/candle/candle.css">
<div id="candle-app" class="reveal-modal large">
<h2>Candle</h2>
<div class="row">
<div class="six columns centered">
<a class="radius button start left" onclick="candle_startbutton()">Start</a>
<a class="radius button stop right" onclick="candle_stopbutton()">Stop</a>
</div>
</div>
<a class="close-reveal-modal">×</a>
</div>
<!-- /Candle App -->
<!-- Flame App -->
<script src="apps/flame/flame.js"></script>
<link rel="stylesheet" href="apps/flame/flame.css">
<div id="flame-app" class="reveal-modal large">
<h2>Flame</h2>
<div class="row">
<div class="six columns centered">
<a class="radius button start left" onclick="flame_startbutton()">Start</a>
<a class="radius button stop right" onclick="flame_stopbutton()">Stop</a>
</div>
</div>
<a class="close-reveal-modal">×</a>
</div>
<!-- /Flame App -->
<!-- Book App -->
<script src="apps/book/book.js"></script>
<link rel="stylesheet" href="apps/book/book.css">
<div id="book-app" class="reveal-modal expand">
<h2 class="text-centre">Learn Your Colours</h2>
<div>
<img id="book_content" />
</div>
<a class="close-reveal-modal">×</a>
</div>
<!-- /Book App -->
<!-- Colorwheel App -->
<script src="apps/colorwheel/colorwheel.js"></script>
<link rel="stylesheet" href="apps/colorwheel/colorwheel.css">
<div id="colorwheel-app" class="reveal-modal expand">
<h2 class="text-centre">Colorwheel</h2>
<div>
<canvas id="colorwheel_canvas" width="625" height="625">
Your browser does not support the HTML 5 Canvas.
</canvas>
<canvas id="colorwheel_picked" width="300" height="100">
Your browser does not support the HTML 5 Canvas.
</canvas>
<canvas id="colorwheel_complement" width="300" height="100">
Your browser does not support the HTML 5 Canvas.
</canvas>
</div>
<a class="close-reveal-modal">×</a>
</div>
<!-- /Colorwheel App -->
<!-- Photograb App -->
<script src="apps/photograb/photograb.js"></script>
<link rel="stylesheet" href="apps/photograb/photograb.css">
<div id="photograb-app" class="reveal-modal expand">
<h2 class="text-centre">Photo Grabber</h2>
<div>
<canvas id="photograb-canvas" width="625" height="416">
Your browser does not support the HTML 5 Canvas.
</canvas>
</div>
<form>
<input class="photograb-button" id='pic' type="file" accept="image/*" capture="camera" onchange="handlefiles(this.files)">
</form>
<a class="close-reveal-modal">×</a>
</div>
<!-- /Photograb App -->
<!-- Sentimental App -->
<script src="apps/sentimental/sentimental.js"></script>
<link rel="stylesheet" href="apps/sentimental/sentimental.css">
<div id="sentimental-app" class="reveal-modal large">
<h2>Sentiment Analysis</h2>
<div class="row">
<div class="twelve columns">
<label>Analyse:</label>
<input class="sentimental-keyword" id="keyword" type="text" value="bieber" size="15" style="font-size: 32px;"></input>
</div>
</div>
<div class="row">
<div class="six columns centered">
<a class="radius button start left" onclick="sentimental_startbutton()">Start</a>
<a class="radius button stop right" onclick="sentimental_stopbutton()">Stop</a>
</div>
</div>
<a class="close-reveal-modal">×</a>
</div>
<!-- /Sentimental App -->
<!-- Countdown App -->
<script src="apps/countdown/countdown.js"></script>
<link rel="stylesheet" href="apps/countdown/countdown.css">
<div id="countdown-app" class="reveal-modal expand">
<h2>Countdown Timer</h2>
<canvas id="countdown-canvas" width="525" height="220">
Your browser does not support the HTML 5 Canvas.
</canvas>
<div class="row controls">
<div class="eight columns centered">
<a class="radius button start left" onclick="countdown_startbutton()">Start</a>
<a class="radius button stop" onclick="countdown_stopbutton()">Stop</a>
<a class="radius button reset right" onclick="countdown_resetbutton()">Reset</a>
</div>
</div>
<div class="row">
<div class="eight columns centered">
<input id="countdown-secval" type="text" oninput="countdown_secinput()" value="300" size="5" style="font-size: 32px;">Seconds</input>
</div>
</div>
<a class="close-reveal-modal">×</a>
</div>
<!-- /Countdown App -->
<!-- Holiday App -->
<script src="apps/holiday/holiday.js"></script>
<link rel="stylesheet" href="apps/holiday/holiday.css">
<div id="holiday-app" class="reveal-modal large">
<h2>Holiday Lights</h2>
<div class="row">
<div class="six columns centered">
<a class="radius button start left" onclick="holiday_startbutton()">Start</a>
<a class="radius button stop right" onclick="holiday_stopbutton()">Stop</a>
</div>
</div>
<a class="close-reveal-modal">×</a>
</div>
<!-- /Holiday App -->
<!-- TempAU App -->
<script src="apps/tempAU/tempAU.js"></script>
<link rel="stylesheet" href="apps/tempAU/tempAU.css">
<div id="tempAU-app" class="reveal-modal expand">
<h2 id="tempAU_title">Temperature AU</h2>
<img src="apps/tempAU/australia.png" alt="Australia Map" usemap="#tempAU_cities"/>
<map name="tempAU_cities">
<area shape="circle" id="tempAU_Syd"
coords="649,414,100"
onclick='tempAU_select($(this).attr("id"))' />
<area shape="circle" id="tempAU_Mel"
coords="560,473,50"
onclick='tempAU_select($(this).attr("id"))' />
<area shape="circle" id="tempAU_Bne"
coords="681,315,100"
onclick='tempAU_select($(this).attr("id"))' />
<area shape="circle" id="tempAU_Adl"
coords="455,428,100"
onclick='tempAU_select($(this).attr("id"))' />
<area shape="circle" id="tempAU_Hob"
coords="590,553,50"
onclick='tempAU_select($(this).attr("id"))' />
<area shape="circle" id="tempAU_Drw"
coords="334,81,100"
onclick='tempAU_select($(this).attr("id"))' />
<area shape="circle" id="tempAU_Per"
coords="107,384,100"
onclick='tempAU_select($(this).attr("id"))' />
</map>
<a class="close-reveal-modal">×</a>
</div>
<!-- /TempAU App -->
<!-- uvAU App -->
<script src="apps/uvAU/uvAU.js"></script>
<link rel="stylesheet" href="apps/uvAU/uvAU.css">
<div id="uvAU-app" class="reveal-modal expand">
<h2 id="uvAU_title">UV Index</h2>
<img src="apps/uvAU/australia.png" alt="Australia Map" usemap="#uvAU_cities"/>
<map name="uvAU_cities">
<area shape="circle" id="uvAU_syd"
coords="649,414,100"
onclick='uvAU_select($(this).attr("id"))' />
<area shape="circle" id="uvAU_mel"
coords="560,473,50"
onclick='uvAU_select($(this).attr("id"))' />
<area shape="circle" id="uvAU_tow"
coords="681,315,100"
onclick='uvAU_select($(this).attr("id"))' />
<area shape="circle" id="uvAU_adl"
coords="455,428,100"
onclick='uvAU_select($(this).attr("id"))' />
<area shape="circle" id="uvAU_mel"
coords="590,553,50"
onclick='uvAU_select($(this).attr("id"))' />
<area shape="circle" id="uvAU_dar"
coords="334,81,100"
onclick='uvAU_select($(this).attr("id"))' />
<area shape="circle" id="uvAU_per"
coords="107,384,100"
onclick='uvAU_select($(this).attr("id"))' />
</map>
<a class="close-reveal-modal">×</a>
</div>
<!-- /UVAU App -->
<!-- Placcel App -->
<script src="apps/placcel/placcel.js"></script>
<link rel="stylesheet" href="apps/placcel/placcel.css">
<div id="placcel-app" class="reveal-modal large">
<h2>Pl'accel</h2>
<div class="row">
<div class="six columns centered">
<a class="radius button start left" onclick="placcel_startbutton()">Start</a>
<a class="radius button stop right" onclick="placcel_stopbutton()">Stop</a>
</div>
</div>
<a class="close-reveal-modal">×</a>
</div>
<!-- /Placcel App -->
<!-- AirHK App -->
<script src="apps/airHK/airHK.js"></script>
<link rel="stylesheet" href="apps/airHK/airHK.css">
<div id="airHK-app" class="reveal-modal expand">
<h2 id="airHK_title">Air Pollution Warnings</h2>
<img src="apps/airHK/hongkong-map.jpg" alt="HTML Map" border="0" usemap="#airHK_sites"/>
<map name="airHK_sites">
<area shape="circle" id="airHK_Causeway Bay"
coords="459, 418, 25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Central"
coords="425, 410, 25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Mong Kok"
coords="358, 326, 25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Central/Western"
coords="387, 425, 25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Eastern"
coords="570, 411,25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Kwai Chung"
coords="360, 327,25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Kwun Tong"
coords="371, 305,25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Sha Tin"
coords="452, 217, 25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Sham Shui Po"
coords="386, 350, 25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Tai Po"
coords="400, 193, 25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Tap Mun"
coords="739, 13, 25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Tsuen Wan"
coords="347, 307,25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Tung Chung"
coords="133, 451,25"
onclick='airHK_select($(this).attr("id"))' />
<area shape="circle" id="airHK_Yuen Long"
coords="165, 196,25"
onclick='airHK_select($(this).attr("id"))' />
</map>
<a class="close-reveal-modal">×</a>
</div>
<!-- /AirHK App -->
<script src="javascripts/foundation/jquery.js"></script>
<!-- <script src="javascripts/foundation/jquery.cookie.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.event.move.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.event.swipe.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.accordion.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.alerts.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.buttons.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.clearing.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.forms.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.joyride.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.magellan.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.mediaQueryToggle.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.navigation.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.orbit.js"></script> -->
<script src="javascripts/foundation/jquery.foundation.reveal.js"></script>
<!-- <script src="javascripts/foundation/jquery.foundation.tabs.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.tooltips.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.foundation.topbar.js"></script> -->
<!-- <script src="javascripts/foundation/jquery.placeholder.js"></script> -->
<script src="javascripts/moorescloud/light.js"></script>
<script src="javascripts/foundation/app.js"></script>
</body>
</html>