forked from qconrad/intellistar-emulator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
433 lines (402 loc) · 19.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" type="image/png" href="assets/logos/favicon.png"/>
<link rel="stylesheet" type="text/css" href="css/text.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/page.css">
<link rel="stylesheet" type="text/css" href="css/alert.css">
<link rel="stylesheet" type="text/css" href="css/background.css">
<link rel="stylesheet" type="text/css" href="css/crawl.css">
<link rel="stylesheet" type="text/css" href="css/currentconditions.css">
<link rel="stylesheet" type="text/css" href="css/forecast.css">
<link rel="stylesheet" type="text/css" href="css/greeting.css">
<link rel="stylesheet" type="text/css" href="css/infobar.css">
<link rel="stylesheet" type="text/css" href="css/outlook.css">
<link rel="stylesheet" type="text/css" href="css/radar.css">
<link rel="stylesheet" type="text/css" href="css/settings.css">
<link rel="stylesheet" type="text/css" href="css/timeline.css">
<link rel="stylesheet" type="text/css" href="css/amazing.css">
<link rel="stylesheet" type="text/css" href="css/updated.css">
<script src="js/Config.js"></script>
<script src="js/MainScript.js"></script>
<script src="js/WeatherFetching.js"></script>
<script src="js/InformationSetting.js"></script>
<script src="js/Conditions.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>IntelliSTAR Emulator</title>
</head>
<body>
<div id="render-frame">
<!--Nature Background image-->
<div id="background-image" class="below-screen"></div>
<!-- Top Information Bar -->
<div id="infobar-container">
<img id="infobar-twc-logo" src="assets/logos/twc.svg" onclick="twcLogoClick();" />
<img id="infobar-local-logo" src="assets/logos/local.svg" />
<div id="infobar-location-container" class="infobar-item-container">
<div id="infobar-location-text" class="regular-text infobar-text"></div>
</div>
<div id="infobar-time-container" class="infobar-item-container">
<div id="infobar-time-text" class="regular-text infobar-text"></div>
</div>
</div>
<!-- Transparent Frame -->
<div id="content-container"></div>
<!--Main Container-->
<div id="content-frame">
<!-- Greeting Page -->
<div id="greeting-page">
<div id="local-logo-container">
<img src="assets/logos/local-white-box.svg" />
</div>
<div id="hello-text-container">
<div id="hello-text" class="strong-text">HELLO</div>
</div>
<div id="hello-location-container">
<div id="hello-location-text" class="regular-text"></div>
</div>
<div id="greeting-text-container">
<div id="greeting-text" class="regular-text"></div>
</div>
</div>
<!-- Single Alert Page -->
<div id="single-alert-page" class="page-container alert-page-container">
<div>
<div class="page-title-bar alert-title-bar regular-text">ALERT</div>
</div>
<!-- Have alert text take up entire window until alert graphics are obtained -->
<div class="page-content-container forecast forecast-right" style="width: 100%;">
<div id="single-alert0" class="narrative-text regular-text"></div>
</div>
</div>
<!-- Multiple Alerts Page -->
<div id="multiple-alerts-page" class="page-container alert-page-container">
<div>
<div class="page-title-bar alert-title-bar regular-text">ALERTS</div>
</div>
<div class="page-content-container shaded-page-content">
<div class="alert-container">
<div id="alert0" class="multiple-alert-text regular-text"></div>
</div>
<div class="alert-container">
<div id="alert1" class="multiple-alert-text regular-text"></div>
</div>
<div class="alert-container">
<div id="alert2" class="multiple-alert-text regular-text"></div>
</div>
</div>
</div>
<!-- Current Page -->
<div id="current-page" class="page-container">
<div>
<div class="page-title-bar regular-text">Now</div>
</div>
<div class="page-content-container shaded-page-content">
<div style="width: 300px; float: left;">
<svg id="cc-dial" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 77.13 77.13">
<defs>
<style>
.cls-1 {
opacity: 0.0;
}
.cls-3 {
opacity: 0.25;
}
</style>
</defs>
<title>Asset 7</title>
<g id="Layer_2" data-name="Layer 2">
<g id="Layer_6" data-name="Layer 6">
<clipPath id="cut-off-bottom">
<circle class="cls-1" cx="38.56" cy="38.56" r="38.56"/>
</clipPath>
<circle class="cls-3" cx="38.56" cy="38.56" r="38.56"/>
<image id="ccicon" x="35%" y="18%" style="width:24px;height:24px;" href="assets/icons/conditions/na.svg" clip-path="url(#cut-off-bottom)"/>
<text id="cc-temperature-text" class="regular-text" x="50%" y="75%" text-anchor="middle" style="font-size: 24px !important;" fill="#ffffff">NA</text>
<path id="cc-dial-color" class="cls-2" d="M18,59.45a29.34,29.34,0,1,1,41.26,0h0l5.62,4.75a36.68,36.68,0,1,0-52.32.24Z"/>
</g>
</g>
</svg>
<!--<img id="ccicon"/>-->
<!--<div class="regular-text"><span id="cc-temperature-text">0</span>°</div>-->
</div>
<!-- Condition Line 1 -->
<div id="cc-container">
<div class="cc-line-container">
<div class="cc-vertical-group">
<div id="cc-condition" class="regular-text cc-text">Condition</div>
<div class="cc-horizontal-group">
<div class="regular-text cc-text cc-left">VISIBILITY</div>
<div class="regular-text cc-text"><span id="cc-visibility">0</span> <span id="cc-visibility-unit-imperial">Miles</span><span id="cc-visibility-unit-metric">km</span></div>
</div>
</div>
</div>
<!-- Condition Line 2 -->
<div class="cc-line-container">
<div class="cc-vertical-group cc-line2">
<div class="cc-horizontal-group">
<div class="regular-text cc-text cc-left">WIND</div>
<div id="cc-wind" class="regular-text cc-text">N 0mph</div>
</div>
<div class="cc-horizontal-group">
<div class="regular-text cc-text cc-left">HUMIDITY</div>
<div class="regular-text cc-text"><span id="cc-humidity">0</span>%</div>
</div>
</div>
</div>
<!-- Condition Line 3 -->
<div class="cc-line-container">
<div class="cc-vertical-group cc-line3">
<div class="cc-horizontal-group">
<div class="regular-text cc-text cc-left">GUSTS</div>
<div id="cc-gusts" class="regular-text cc-text">NONE</div>
</div>
<div class="cc-horizontal-group">
<div class="regular-text cc-text cc-left">DEW POINT</div>
<div class="regular-text cc-text"><span id="cc-dewpoint">0</span>°</div>
</div>
</div>
</div>
<!-- Condition Line 4 -->
<div class="cc-line-container">
<div class="cc-vertical-group cc-line4">
<div class="cc-horizontal-group">
<div class="regular-text cc-text cc-left">FEELS LIKE</div>
<div class="regular-text cc-text"><span id="cc-feelslike">0</span>°</div>
</div>
<div class="cc-horizontal-group">
<div class="regular-text cc-text cc-left">PRESSURE</div>
<div class="regular-text cc-text"><span id="cc-pressure1">29</span><span id="cc-pressure-decimal">.</span><span id="cc-pressure2">92</span><span id="cc-pressure-metric"> mbar</span><span id="cc-pressuretrend">▲</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Radar Page -->
<div id="radar-page" class="page-container regular-page-container">
<div class="page-title-bar regular-text">
<div style="display: inline-block">2 Hour Radar</div>
</div>
<div class="page-content-container">
<div id="radar-container" class="radar-container" style="position: absolute;">
</div>
</div>
</div>
<!-- Zoomed Radar Page -->
<div id="zoomed-radar-page" class="page-container regular-page-container">
<div class="page-title-bar regular-text">
<div style="display: inline-block">2 Hour Radar</div>
</div>
<div class="page-content-container">
<div id="zoomed-radar-container" class="radar-container" style="position: absolute;"></div>
</div>
</div>
<!-- Today Page -->
<div id="today-page" class="page-container regular-page-container">
<div>
<div class="page-title-bar regular-text">Forecast</div>
</div>
<div class="page-content-container">
<div class="shaded-page-content narrative narrative-left">
<div class="strong-text narrative-date">TODAY</div>
<div id="today-forecast-icon" class="narrative-icon"> </div>
<div id="today-forecast-temp" class="regular-text narrative-temp">--</div>
<div id="today-forecast-precip" class="regular-text narrative-precip">0% Chance of Precip</div>
</div>
<div class="shaded-page-content narrative narrative-right">
<div id="today-narrative-text" class="narrative-text regular-text "></div>
</div>
</div>
</div>
<!-- Tonight Page -->
<div id="tonight-page" class="page-container regular-page-container">
<div>
<div class="page-title-bar regular-text">Forecast</div>
</div>
<div class="page-content-container">
<div class="shaded-page-content narrative narrative-left">
<div class="strong-text narrative-date">TONIGHT</div>
<div id="tonight-forecast-icon" class="narrative-icon"> </div>
<div id="tonight-forecast-temp" class="regular-text narrative-temp">--</div>
<div id="tonight-forecast-precip" class="regular-text narrative-precip">0% Chance of Precip</div>
</div>
<div class="shaded-page-content narrative narrative-right">
<div id="tonight-narrative-text" class="narrative-text regular-text "></div>
</div>
</div>
</div>
<!-- Tomorrow Page -->
<div id="tomorrow-page" class="page-container regular-page-container">
<div>
<div class="page-title-bar regular-text">Forecast</div>
</div>
<div class="page-content-container">
<div class="shaded-page-content narrative narrative-left">
<div class="strong-text narrative-date">TOMORROW</div>
<div id="tomorrow-forecast-icon" class="narrative-icon"> </div>
<div id="tomorrow-forecast-temp" class="regular-text narrative-temp">--</div>
<div id="tomorrow-forecast-precip" class="regular-text narrative-precip">0% Chance of Precip</div>
</div>
<div class="shaded-page-content narrative narrative-right">
<div id="tomorrow-narrative-text" class="narrative-text regular-text "></div>
</div>
</div>
</div>
<!-- Tomorrow Night Page -->
<div id="tomorrow-night-page" class="page-container regular-page-container">
<div>
<div class="page-title-bar regular-text">Forecast</div>
</div>
<div class="page-content-container">
<div class="shaded-page-content narrative narrative-left">
<div class="strong-text narrative-date tomorrow-night-text">TOMORROW NIGHT</div>
<div id="tomorrow-night-forecast-icon" class="narrative-icon"> </div>
<div id="tomorrow-night-forecast-temp" class="regular-text narrative-temp">--</div>
<div id="tomorrow-night-forecast-precip" class="regular-text narrative-precip">0% Chance of Precip</div>
</div>
<div class="shaded-page-content narrative narrative-right">
<div id="tomorrow-night-narrative-text" class="narrative-text regular-text "></div>
</div>
</div>
</div>
<!-- 7 Day Outlook Page -->
<div id="7day-page" class="page-container regular-page-container">
<div>
<div id="outlook-titlebar" class="page-title-bar regular-text">7 Day Forecast</div>
</div>
<div class="page-content-container">
<div id="forecast-left-container" class="forecast-container forecast">
<div id="day0-container" class="outlook-day day-spacing">
<div id="day0-text" class="strong-text day-text"> </div>
<div id="day0-icon" class="day-icon"> </div>
<div id="day0-high" class="regular-text day-temp-high"> </div>
<div id="day0-low" class="regular-text day-temp-low"> </div>
<div id="day0-condition" class="regular-text day-condition"> </div>
</div>
<div id="day1-container" class="outlook-day" style="float: right;">
<div id="day1-text" class="strong-text day-text"> </div>
<div id="day1-icon" class="day-icon"> </div>
<div id="day1-high" class="regular-text day-temp-high"> </div>
<div id="day1-low" class="regular-text day-temp-low"> </div>
<div id="day1-condition" class="regular-text day-condition"> </div>
</div>
</div>
<div id="forecast-right-container" class="forecast-container forecast-right">
<div id="day2-container" class="outlook-day day-spacing">
<div id="day2-text" class="strong-text day-text"> </div>
<div id="day2-icon" class="day-icon"> </div>
<div id="day2-high" class="regular-text day-temp-high"> </div>
<div id="day2-low" class="regular-text day-temp-low"> </div>
<div id="day2-condition" class="regular-text day-condition"> </div>
</div>
<div id="day3-container" class="outlook-day day-spacing">
<div id="day3-text" class="strong-text day-text"> </div>
<div id="day3-icon" class="day-icon"> </div>
<div id="day3-high" class="regular-text day-temp-high"> </div>
<div id="day3-low" class="regular-text day-temp-low"> </div>
<div id="day3-condition" class="regular-text day-condition"> </div>
</div>
<div id="day4-container" class="outlook-day day-spacing">
<div id="day4-text" class="strong-text day-text"> </div>
<div id="day4-icon" class="day-icon"> </div>
<div id="day4-high" class="regular-text day-temp-high"> </div>
<div id="day4-low" class="regular-text day-temp-low"> </div>
<div id="day4-condition" class="regular-text day-condition"> </div>
</div>
<div id="day5-container" class="outlook-day day-spacing">
<div id="day5-text" class="strong-text day-text"> </div>
<div id="day5-icon" class="day-icon"> </div>
<div id="day5-high" class="regular-text day-temp-high"> </div>
<div id="day5-low" class="regular-text day-temp-low"> </div>
<div id="day5-condition" class="regular-text day-condition"> </div>
</div>
<div id="day6-container" class="outlook-day" style="float: right;">
<div id="day6-text" class="strong-text day-text"> </div>
<div id="day6-icon" class="day-icon"> </div>
<div id="day6-high" class="regular-text day-temp-high"> </div>
<div id="day6-low" class="regular-text day-temp-low"> </div>
<div id="day6-condition" class="regular-text day-condition"> </div>
</div>
</div>
</div>
</div>
</div>
<!-- Its Amazing Out There -->
<div id="amazing-container">
<div class="regular-text" id="amazing-text">#ItsAmazingOutThere</div>
<img src="assets/logos/twc_color.svg" id="amazing-logo">
</div>
<!-- Stay updated -->
<div id="updated-container">
<img src="assets/logos/twc_color.svg" id="updated-logo">
<div class="regular-text" id="updated-text">For more information, stay on</div>
</div>
<!-- Text Crawl -->
<div id="crawler-container">
<div id="crawl-text" class="regular-text"></div>
</div>
<!-- Timeline Container -->
<div id="timeline-container">
<!-- Current Logo -->
<div id="timeline-logo-container">
<div id="logo-stack"></div>
</div>
<!-- Timeline -->
<div id="timeline">
<div id="timeline-event-container"></div>
<div style="height: 15%;">
<div class="progress-container" style="width: 280px;">
<div id="progressbar-container" class="timeline-bar">
<div id="progressbar"></div>
</div>
</div>
<div class="progress-container" style="width: 860px;">
<div id="progress-stack"></div>
</div>
</div>
</div>
</div>
<!-- Alert message -->
<div id="alert-message" class="regular-text">Alert Message</div>
</div>
<!-- Settings Prompt -->
<div id="settings-container" style="display: none;">
<div id="settings-prompt">
<table style="width:350px">
<tbody>
<!-- Locations won't be added programatically -->
<tr>
<td style="text-align: left;">
<input type="radio" id="airport-code-button" name='location-type' checked="false"/>
<label for="airport-code-button" class="strong-text settings-item settings-text settings-padded">Airport</label>
</td>
<td colspan="2">
<input type="text" id="airport-code-text" style="font-size: 20px; width:180px"
placeholder="ATL or KATL" class="settings-item settings-text settings-input"/>
</td>
</tr>
<tr>
<td style="text-align: left;">
<input type="radio" id="zip-code-button" name='location-type' checked="true"/>
<label for="zip-code-button" class="strong-text settings-item settings-text settings-padded">Postal</label>
</td>
<td>
<input type="text" id="zip-code-text" style="font-size: 20px; width:100px"
placeholder="00000" class="settings-item settings-text settings-input"/>
</td>
<td>
<input type="text" id="country-code-text" style="font-size: 20px; width:50px;"
placeholder="US" value="US" maxlength="2" class="settings-item settings-text settings-input"/>
</td>
</tr>
</tbody>
</table>
<div id="advanced-settings-options" class="settings-container hidden"></div>
</div>
</div>
</body>
</html>