forked from theaquarium/nshs-schedule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
568 lines (546 loc) · 27.4 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
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NSHS Schedule</title>
<meta
name="description"
content="A tool to keep track of the new NSHS schedule and help you manage your Zoom links."
/>
<meta content="NSHS Schedule" property="og:title" />
<meta
content="A tool to keep track of the new NSHS schedule and help you manage your Zoom links."
property="og:description"
/>
<meta content="nshs.site" property="og:site_name" />
<meta
content="favicons/android-chrome-512x512.png?v=Gv6KgplRy5"
property="og:image"
/>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-PZ6NG4L1X7"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-PZ6NG4L1X7');
</script>
<link
rel="apple-touch-icon"
sizes="180x180"
href="favicons/apple-touch-icon.png?v=Gv6KgplRy5"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="favicons/favicon-32x32.png?v=Gv6KgplRy5"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="favicons/favicon-16x16.png?v=Gv6KgplRy5"
/>
<link rel="manifest" href="favicons/site.webmanifest?v=Gv6KgplRy5" />
<link
rel="mask-icon"
href="favicons/safari-pinned-tab.svg?v=Gv6KgplRy5"
color="#2a9fd6"
/>
<link rel="shortcut icon" href="favicons/favicon.ico?v=Gv6KgplRy5" />
<meta name="msapplication-TileColor" content="#2a9fd6" />
<meta
name="msapplication-config"
content="favicons/browserconfig.xml?v=Gv6KgplRy5"
/>
<meta name="theme-color" content="#2a9fd6" />
<link rel="stylesheet" href="index.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css"
/>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap"
rel="stylesheet"
crossorigin="anonymous"
/>
</head>
<body>
<section class="hero is-link is-bold block">
<div class="hero-body">
<div class="container">
<p class="title">NSHS Schedule</p>
<p class="subtitle">
2021-2022 School Year Schedule Generator Tool
</p>
</div>
</div>
</section>
<div class="columns main">
<div class="column">
<div class="content">
<h3>Hi!</h3>
<p>
This is a little tool to make a pretty looking version
of your schedule that you can save on your phone or
print or whatever you want!
</p>
<p>
Click on each of the cards to put in your classes and
your schedule will show up on the right (or at the
bottom if you're using a phone). That's it! Let me know
if you have any questions!
</p>
<p>Have a great day!<br /><em> - Leah</em></p>
</div>
<div class="divider"></div>
<div class="block">
<div class="field">
<label class="label">Schedule Title</label>
<div class="control">
<input
class="input schedule-title"
type="text"
placeholder="NSHS Schedule"
value=""
/>
</div>
</div>
<label class="label">Affirmation</label>
<div class="field has-addons">
<div class="control is-expanded">
<input
class="input affirmation"
type="text"
placeholder="You are beautiful."
value=""
/>
</div>
<div class="control">
<button
class="button is-link new-affirmation"
alt-text="Give me a new affirmation!"
>
<span class="icon is-large">
<ion-icon name="refresh"></ion-icon>
</span>
</button>
</div>
</div>
<div class="field">
<label class="checkbox">
<input type="checkbox" class="use24h" />
Use 24 hour time
</label>
</div>
<div class="field">
<label class="checkbox">
<input type="checkbox" class="north" />
I go to North (Show me Tiger blocks instead)
</label>
</div>
<div class="field">
<label class="checkbox">
<input type="checkbox" class="useColors" />
No colored class backgrounds (White schedule)
</label>
</div>
</div>
<div class="class-cards">
<div class="card block dummy class-card is-closed">
<header class="card-header">
<p class="card-header-title">Dummy</p>
<button
class="card-header-icon"
aria-label="more options"
>
<span class="open-icon icon">
<ion-icon name="caret-down"></ion-icon>
</span>
<span class="closed-icon icon">
<ion-icon name="caret-back"></ion-icon>
</span>
</button>
</header>
<div class="card-content">
<label class="checkbox">
<input
type="checkbox"
class="differentBlocks"
checked
/>
All three of my blocks are the same
</label>
<div class="divider"></div>
<div class="tabs is-boxed block-tabs">
<ul>
<li class="block-tab-1 is-active">
<a>Dummy1</a>
</li>
<li class="block-tab-2"><a>Dummy2</a></li>
<li class="block-tab-3"><a>Dummy3</a></li>
</ul>
</div>
<div class="block-page">
<label class="checkbox block">
<input type="checkbox" class="hasClass" />
I have class this block
</label>
<div class="class-info-fields">
<div class="field">
<label class="label">Class Name</label>
<div class="control">
<input
class="input class"
type="text"
placeholder="e.g. Chemistry, English"
value=""
/>
</div>
</div>
<div class="field">
<label class="label">Room Number</label>
<div class="control">
<input
class="input room"
type="text"
placeholder="e.g. 1204"
value=""
/>
</div>
</div>
<div class="field">
<label class="label">Teacher</label>
<div class="control">
<input
class="input teacher"
type="text"
placeholder="e.g. Mr. McFakehead"
value=""
/>
</div>
</div>
<div class="field">
<label class="label">Lunch</label>
<div class="select">
<select class="lunch">
<option value="-1">None</option>
<option value="3">
All Lunches
</option>
<option value="0">1st</option>
<option value="1">2nd</option>
<option value="2">3rd</option>
</select>
</div>
</div>
</div>
<div class="field">
<label class="label">Block Color</label>
<div class="select">
<select class="color">
<option value="0">White</option>
<option value="1">Red</option>
<option value="2">Orange</option>
<option value="3">Yellow</option>
<option value="4">Green</option>
<option value="5">Blue</option>
<option value="6">Indigo</option>
<option value="7">Purple</option>
<option value="8">Pink</option>
<option value="9">
Seafoam Green
</option>
<option value="10">Pumpkin</option>
<option value="11">
Yellow-Green
</option>
<option value="12">Rose</option>
<option value="13">Teal</option>
<option value="14">Lavender</option>
<option value="15">Cream</option>
<option value="16">Grey</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div class="card block Advisory class-card is-closed">
<header class="card-header">
<p class="card-header-title">Advisory</p>
<button
class="card-header-icon"
aria-label="more options"
>
<span class="open-icon icon">
<ion-icon name="caret-down"></ion-icon>
</span>
<span class="closed-icon icon">
<ion-icon name="caret-back"></ion-icon>
</span>
</button>
</header>
<div class="card-content">
<div class="block-page">
<div class="field">
<label class="label">Room Number</label>
<div class="control">
<input
class="input room"
type="text"
placeholder="e.g. 1204"
value=""
/>
</div>
</div>
<div class="field">
<label class="label">Block Color</label>
<div class="select">
<select class="color">
<option value="0">White</option>
<option value="1">Red</option>
<option value="2">Orange</option>
<option value="3">Yellow</option>
<option value="4">Green</option>
<option value="5">Blue</option>
<option value="6">Indigo</option>
<option value="7">Purple</option>
<option value="8">Pink</option>
<option value="9">
Seafoam Green
</option>
<option value="10">Pumpkin</option>
<option value="11">
Yellow-Green
</option>
<option value="12">Rose</option>
<option value="13">Teal</option>
<option value="14">Lavender</option>
<option value="15">Cream</option>
<option value="16">Grey</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div class="card block WIN class-card is-closed">
<header class="card-header">
<p class="card-header-title">WIN</p>
<button
class="card-header-icon"
aria-label="more options"
>
<span class="open-icon icon">
<ion-icon name="caret-down"></ion-icon>
</span>
<span class="closed-icon icon">
<ion-icon name="caret-back"></ion-icon>
</span>
</button>
</header>
<div class="card-content">
<div class="block-page">
<div class="field">
<label class="label">Block Color</label>
<div class="select">
<select class="color">
<option value="0">White</option>
<option value="1">Red</option>
<option value="2">Orange</option>
<option value="3">Yellow</option>
<option value="4">Green</option>
<option value="5">Blue</option>
<option value="6">Indigo</option>
<option value="7">Purple</option>
<option value="8">Pink</option>
<option value="9">
Seafoam Green
</option>
<option value="10">Pumpkin</option>
<option value="11">
Yellow-Green
</option>
<option value="12">Rose</option>
<option value="13">Teal</option>
<option value="14">Lavender</option>
<option value="15">Cream</option>
<option value="16">Grey</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div class="card block Lion class-card is-closed">
<header class="card-header">
<p class="card-header-title lion-tiger-block-title">
Lion
</p>
<button
class="card-header-icon"
aria-label="more options"
>
<span class="open-icon icon">
<ion-icon name="caret-down"></ion-icon>
</span>
<span class="closed-icon icon">
<ion-icon name="caret-back"></ion-icon>
</span>
</button>
</header>
<div class="card-content">
<div class="block-page">
<div class="field">
<label class="label">Block Color</label>
<div class="select">
<select class="color">
<option value="0">White</option>
<option value="1">Red</option>
<option value="2">Orange</option>
<option value="3">Yellow</option>
<option value="4">Green</option>
<option value="5">Blue</option>
<option value="6">Indigo</option>
<option value="7">Purple</option>
<option value="8">Pink</option>
<option value="9">
Seafoam Green
</option>
<option value="10">Pumpkin</option>
<option value="11">
Yellow-Green
</option>
<option value="12">Rose</option>
<option value="13">Teal</option>
<option value="14">Lavender</option>
<option value="15">Cream</option>
<option value="16">Grey</option>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="column">
<div class="canvas-column">
<div class="level content" style="margin-bottom: 0">
<div class="level-left">
<h1>Your Schedule</h1>
</div>
<div class="level-right">
<div class="field has-addons">
<p class="control">
<button
class="
button
is-small is-outlined is-link
save-button
"
>
<span class="icon">
<ion-icon name="save"></ion-icon>
</span>
<span>Save</span>
</button>
</p>
<p class="control">
<button
class="
button
is-small is-outlined is-link
print-button
"
>
<span class="icon">
<ion-icon name="print"></ion-icon>
</span>
<span>Print</span>
</button>
</p>
<p class="control">
<button
class="
button
is-small is-outlined is-link
share-button
"
>
<span class="icon">
<ion-icon
name="share-social"
></ion-icon>
</span>
<span>Share</span>
</button>
</p>
</div>
</div>
</div>
<img id="canvas-clone" alt-text="Your Schedule" />
<canvas id="canvas" width="2550" height="3300"></canvas>
<p class="is-size-7 is-italic">
If you're using a phone, the save buttons might not
work, so you can either take a screenshot or tap and
hold on the schedule to save it.
</p>
</div>
</div>
</div>
<footer class="footer">
<div class="container content has-text-centered">
<p>
Made with <ion-icon name="heart"></ion-icon> by
<a href="https://leah.vashevko.com">Leah Vashevko</a>.
</p>
<p>
<a href="https://remote.nshs.site"
>See last year's nshs.site</a
>.
</p>
<p>
This website is not affiliated with, endorsed by, or in any
way officially connected with Newton South High School or
the Newton Public Schools.
</p>
<p>
Having issues? Found a bug? Need support? Send me an email
at <a href="mail:leah@vashevko">leah@vashevko.com</a> or
<a href="https://discord.gg/KXxZt2BPUF"
>join the Discord server</a
>.
</p>
</div>
</footer>
<script src="https://printjs-4de6.kxcdn.com/print.min.js"></script>
<script src="settings.js"></script>
<script src="utils.js"></script>
<script src="schedule.js"></script>
<script src="draw.js"></script>
<script src="cards.js"></script>
<script src="other.js"></script>
<script
type="module"
src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"
crossorigin="anonymous"
></script>
<script
nomodule
src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"
crossorigin="anonymous"
></script>
</body>
</html>