-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
222 lines (219 loc) · 8.7 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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Schedule</title>
<meta name="title" content="Schedule" />
<meta
name="description"
content="Still can't be bothered to learn how to tell time. But now fancier"
/>
<meta
name="keywords"
content="schedule, svhs, chaos, everythingischaos, scotts valley"
/>
<meta name="robots" content="index, follow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="English" />
<meta name="theme-color" content="#1f4068" />
<link rel="apple-touch-icon" href="icons/apple-touch-icon.png" />
<link href="icons/icon-48x48.png" rel="icon" />
<link href="style.css" rel="stylesheet" type="text/css" />
<!-- <link href="/manifest.webmanifest" rel="manifest" /> -->
</head>
<body>
<div id="color_section">
<label id="color_view_label" class="theme_label" for="color_view">
<svg
class="icon icon-palette"
xmlns="http://www.w3.org/2000/svg"
width="2.3rem"
height="2.3rem"
viewBox="0 0 32 32"
fill="var(--text-hex)"
>
<circle cx="10" cy="12" r="2" />
<circle cx="16" cy="9" r="2" />
<circle cx="22" cy="12" r="2" />
<circle cx="23" cy="18" r="2" />
<circle cx="19" cy="23" r="2" />
<path
d="M16.54,2A14,14,0,0,0,2,16a4.82,4.82,0,0,0,6.09,4.65l1.12-.31A3,3,0,0,1,13,23.24V27a3,3,0,0,0,3,3A14,14,0,0,0,30,15.46,14.05,14.05,0,0,0,16.54,2Zm8.11,22.31A11.93,11.93,0,0,1,16,28a1,1,0,0,1-1-1V23.24a5,5,0,0,0-5-5,5.07,5.07,0,0,0-1.33.18l-1.12.31A2.82,2.82,0,0,1,4,16,12,12,0,0,1,16.47,4,12.18,12.18,0,0,1,28,15.53,11.89,11.89,0,0,1,24.65,24.32Z"
/>
</svg>
</label>
<input type="button" id="color_view" hidden="" />
<div id="color_menu">
<div></div>
</div>
</div>
<label id="light_dark_label" class="theme_label" for="theme_switch">
<svg
id="latte"
class="icon icon-sun"
xmlns="http://www.w3.org/2000/svg"
width="2.3rem"
height="2.3rem"
viewBox="0 0 24 24"
fill="none"
stroke="var(--text-hex)"
>
<path
d="M12 3V4M12 20V21M4 12H3M6.31412 6.31412L5.5 5.5M17.6859 6.31412L18.5 5.5M6.31412 17.69L5.5 18.5001M17.6859 17.69L18.5 18.5001M21 12H20M16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8C14.2091 8 16 9.79086 16 12Z"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
<svg
id="frappe"
class="icon icon-cloud-sun"
xmlns="http://www.w3.org/2000/svg"
width="2.3rem"
height="2.3rem"
viewBox="0 0 24 24"
fill="none"
stroke="var(--text-hex)"
>
<path
d="M7.45508 2V3M11.3438 3.61084L10.6366 4.31795M4.27344 10.6821L3.56633 11.3892M1.95508 7.5H2.95508M3.56641 3.61084L4.27351 4.31795M6.50049 9.21251C6.38862 9.15163 6.2832 9.08038 6.18553 9.00006C5.73952 8.63325 5.45508 8.07714 5.45508 7.45459C5.45508 6.35002 6.35051 5.45459 7.45508 5.45459C8.21398 5.45459 8.87416 5.87727 9.21303 6.50006C9.29756 6.65541 9.3621 6.82321 9.40319 7M9.8 21C7.14903 21 5 18.9466 5 16.4137C5 14.3144 6.6 12.375 9 12C9.75283 10.274 11.5346 9 13.6127 9C16.2747 9 18.4504 10.9907 18.6 13.5C20.0127 14.0956 21 15.5574 21 17.1402C21 19.2719 19.2091 21 17 21L9.8 21Z"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
<svg
id="macchiato"
class="icon icon-moon"
xmlns="http://www.w3.org/2000/svg"
width="2.3rem"
height="2.3rem"
viewBox="0 0 24 24"
fill="none"
stroke="var(--text-hex)"
>
<path
d="M3.32031 11.6835C3.32031 16.6541 7.34975 20.6835 12.3203 20.6835C16.1075 20.6835 19.3483 18.3443 20.6768 15.032C19.6402 15.4486 18.5059 15.6834 17.3203 15.6834C12.3497 15.6834 8.32031 11.654 8.32031 6.68342C8.32031 5.50338 8.55165 4.36259 8.96453 3.32996C5.65605 4.66028 3.32031 7.89912 3.32031 11.6835Z"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
<svg
id="mocha"
class="icon icon-moon-stars"
xmlns="http://www.w3.org/2000/svg"
width="2.3rem"
height="2.3rem"
viewBox="0 0 24 24"
fill="none"
stroke="var(--text-hex)"
>
<path
d="M13 6V3M18.5 12V7M14.5 4.5H11.5M21 9.5H16M15.5548 16.8151C16.7829 16.8151 17.9493 16.5506 19 16.0754C17.6867 18.9794 14.7642 21 11.3698 21C6.74731 21 3 17.2527 3 12.6302C3 9.23576 5.02061 6.31331 7.92462 5C7.44944 6.05072 7.18492 7.21708 7.18492 8.44523C7.18492 13.0678 10.9322 16.8151 15.5548 16.8151Z"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</label>
<input type="button" id="theme_switch" hidden="" />
<div id="app">
<div class="error">
<span id="error-text">Connection Lost</span>
<svg
class="icon icon-error"
xmlns="http://www.w3.org/2000/svg"
width="2rem"
height="2rem"
viewBox="0 0 64 64"
fill="var(--red-hex)"
>
<path
d="M32.085,56.058c6.165,-0.059 12.268,-2.619 16.657,-6.966c5.213,-5.164 7.897,-12.803 6.961,-20.096c-1.605,-12.499 -11.855,-20.98 -23.772,-20.98c-9.053,0 -17.853,5.677 -21.713,13.909c-2.955,6.302 -2.96,13.911 0,20.225c3.832,8.174 12.488,13.821 21.559,13.908c0.103,0.001 0.205,0.001 0.308,0Zm-0.282,-4.003c-9.208,-0.089 -17.799,-7.227 -19.508,-16.378c-1.204,-6.452 1.07,-13.433 5.805,-18.015c5.53,-5.35 14.22,-7.143 21.445,-4.11c6.466,2.714 11.304,9.014 12.196,15.955c0.764,5.949 -1.366,12.184 -5.551,16.48c-3.672,3.767 -8.82,6.016 -14.131,6.068c-0.085,0 -0.171,0 -0.256,0Zm-12.382,-10.29l9.734,-9.734l-9.744,-9.744l2.804,-2.803l9.744,9.744l10.078,-10.078l2.808,2.807l-10.078,10.079l10.098,10.098l-2.803,2.804l-10.099,-10.099l-9.734,9.734l-2.808,-2.808Z"
/>
</svg>
</div>
<div id="times">
<table>
<tbody id="periods"></tbody>
</table>
<div id="timer">Loading...</div>
<div id="next"></div>
</div>
<div id="controls">
<label class="control_label" for="millisecond_view">
Show Milliseconds
</label>
<input id="millisecond_view" type="button" hidden="" />
<label class="control_label" for="edit_view"> Edit Schedule </label>
<input id="edit_view" type="button" hidden="" />
</div>
<table id="edit">
<tbody>
<tr>
<td>Period 1</td>
<td class="pinput_container">
<input type="text" class="pinput" placeholder="English" />
</td>
</tr>
<tr>
<td>Period 2</td>
<td class="pinput_container">
<input type="text" class="pinput" placeholder="Chem" />
</td>
</tr>
<tr>
<td>Period 3</td>
<td class="pinput_container">
<input type="text" class="pinput" placeholder="History" />
</td>
</tr>
<tr>
<td>Period 4</td>
<td class="pinput_container">
<input type="text" class="pinput" placeholder="Spanish" />
</td>
</tr>
<tr>
<td>Period 5</td>
<td class="pinput_container">
<input type="text" class="pinput" placeholder="Math" />
</td>
</tr>
<tr>
<td>Period 6</td>
<td class="pinput_container">
<input type="text" class="pinput" placeholder="Choir" />
</td>
</tr>
<tr>
<td>Period 7</td>
<td class="pinput_container">
<input type="text" class="pinput" placeholder="Drama" />
</td>
</tr>
</tbody>
</table>
<!-- Ryan Lansedowne is awesome -->
<!-- <footer id="footer" class="shown">
Under new management! Please tell Mason F if there are any issues... :)
</footer> -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-156025814-1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-156025814-1");
</script>
<script src="script.js" type="module"></script>
</div>
</body>
</html>