-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (43 loc) · 1.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta charset="utf-8">
<link href="index.css" rel="stylesheet">
<link rel="icon" href="fuduli.ico" type="image/x-icon">
<script src="index.js" defer></script>
<script src="https://unpkg.com/[email protected]/dayjs.min.js"></script>
<script src="https://unpkg.com/[email protected]/plugin/utc.js"></script>
<script src="https://unpkg.com/[email protected]/plugin/timezone.js"></script>
<script src="https://unpkg.com/[email protected]/plugin/localizedFormat.js"></script>
<script>
dayjs.extend(window.dayjs_plugin_utc);
dayjs.extend(window.dayjs_plugin_timezone);
dayjs.extend(window.dayjs_plugin_localizedFormat);
</script>
<title>Fuduli Clock</title>
</head>
<body>
<div id="clock">
<div id="hour-hand" class="hand"></div>
<div id="minute-hand" class="hand"></div>
<div id="second-hand" class="hand"></div>
</div>
<div id="date-display"></div>
<div id="timezone-section">
<label id="timezone-label" for="timezone-select">
Timezone:
</label>
<select name="timezone" id="timezone-select">
</select>
</div>
</label>
<div id="locale-section">
<label id="locale-label" for="locale-select">
Locale:
</label>
<select name="locale" id="locale-select">
</select>
</div>
</body>
</html>