Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
192 lines (179 loc) · 7.9 KB
/
Copy pathindex.html
File metadata and controls
192 lines (179 loc) · 7.9 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Clock App</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=alarm" />
</head>
<body>
<div id="navbar">
<span class="material-symbols-outlined">alarm</span>
<span>Time Clock</span>
</div>
<div id="content">
<div id="main-clock" class="widget">
<div class="widget-header">
<span class="date"></span>
<span class="timezone"></span>
<span class="numerical-date"></span>
</div>
<div class="widget-content">
<div class="time-font"><span class="twelve-hour-time"></span><span class="ms ms-font"></span></div>
</div>
</div>
<div id="military-clock" class="widget">
<div class="widget-header">
<span>24-Hour</span>
<span class="timezone"></span>
</div>
<div class="widget-content">
<div class="time-font"><span class="full-hour-time"></span></div>
</div>
</div>
<div id="utc-clock" class="widget">
<div class="widget-header">
<span>Coordinated Universal Time (UTC)</span>
</div>
<div class="widget-content">
<div class="time-font"><span class="utc-twelve-hour-time"></span> <span class="utc-am-pm"></span></div>
</div>
</div>
<div id="analog-clock" class="widget">
<div class="widget-header">
<span class="timezone"></span>
</div>
<div class="widget-content">
<svg height="0" viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg" class="analog-svg local-analog-svg">
<circle cx="150" cy="150" r="148" stroke="var(--level-2-border)" stroke-width="4" fill="none" />
<defs>
<line id="large-tick" x1="150" y1="15" x2="150" y2="35" stroke="var(--level-2-background)" stroke-width="3" stroke-linecap="round" />
<line id="small-tick" x1="150" y1="15" x2="150" y2="25" stroke="var(--level-2-background)" stroke-width="2" stroke-linecap="round" />
</defs>
<g class="marks"></g>
<line class="hand hour" x1="150" y1="150" x2="150" y2="90" stroke-width="6" />
<line class="hand minute" x1="150" y1="150" x2="150" y2="60" stroke-width="6" />
<line class="hand second" x1="150" y1="150" x2="150" y2="50" stroke-width="3" />
<circle cx="150" cy="150" r="8" fill="var(--color)" />
</svg>
</div>
</div>
<div id="utc-analog-clock" class="widget">
<div class="widget-header">
<span>Coordinated Universal Time (UTC)</span>
</div>
<div class="widget-content">
<svg height="0" viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg" class="analog-svg utc-analog-svg">
<circle cx="150" cy="150" r="148" stroke="var(--level-2-border)" stroke-width="4" fill="none" />
<defs>
<line id="large-tick" x1="150" y1="15" x2="150" y2="35" stroke="var(--level-2-background)" stroke-width="3" stroke-linecap="round" />
<line id="small-tick" x1="150" y1="15" x2="150" y2="25" stroke="var(--level-2-background)" stroke-width="2" stroke-linecap="round" />
</defs>
<g class="marks"></g>
<line class="hand hour" x1="150" y1="150" x2="150" y2="90" stroke-width="6" />
<line class="hand minute" x1="150" y1="150" x2="150" y2="60" stroke-width="6" />
<line class="hand second" x1="150" y1="150" x2="150" y2="50" stroke-width="3" />
<circle cx="150" cy="150" r="8" fill="var(--color)" />
</svg>
</div>
</div>
<div id="unix-clock" class="widget">
<div class="widget-header">
<span>Unix Timestamp (s)</span>
</div>
<div class="widget-content">
<span class="time-font unix"></span>
</div>
</div>
<div id="sunrise-clock" class="widget static">
<div class="widget-header">
<span>Sunrise</span>
<span class="timezone"></span>
</div>
<div class="widget-content">
<span class="time-font sunrise loading">loading</span>
</div>
</div>
<div id="sunset-clock" class="widget static">
<div class="widget-header">
<span>Sunset</span>
<span class="timezone"></span>
</div>
<div class="widget-content">
<span class="time-font sunset loading">loading</span>
</div>
</div>
<div id="solar-noon-clock" class="widget static">
<div class="widget-header">
<span>Solar Noon</span>
<span class="timezone"></span>
</div>
<div class="widget-content">
<span class="time-font noon loading">loading</span>
</div>
</div>
<div id="day-length-clock" class="widget static">
<div class="widget-header">
<span>Day Length</span>
<span class="timezone"></span>
</div>
<div class="widget-content">
<span class="time-font length loading">loading</span>
</div>
</div>
<div id="schedule-clock" class="widget">
<div class="widget-header">
<span>Bell Schedule</span>
<span class="timezone"></span>
<span class="numerical-date"></span>
</div>
<div class="widget-content">
<div id="schedule-overlay">
<span id="schedule-overlay-label">now</span>
</div>
<div id="blocks-container"></div>
</div>
</div>
<div id="school-counter-clock" class="widget static">
<div class="widget-header">
<span>School Calendar</span>
<span class="numerical-date"></span>
</div>
<div class="widget-content">
<div class="days-off-container">
<div class="days-off"></div>
</div>
</div>
</div>
<div id="block-counter-clock" class="widget">
<div class="widget-header">
<span>Until End of Block</span>
<span class="timezone"></span>
</div>
<div class="widget-content">
<span class="time-font block-remaining"></span>
</div>
</div>
<div id="schedule-counter-clock" class="widget">
<div class="widget-header">
<span>Until End of Schedule</span>
<span class="timezone"></span>
</div>
<div class="widget-content">
<span class="time-font schedule-remaining"></span>
</div>
</div>
<div id="data-widget" class="widget static">
<div class="widget-header">
<span>Data Manager</span>
</div>
<div class="widget-content">
<button id="set-button">Set Data</button>
<button id="get-button">Get Data</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>