-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (66 loc) · 2.82 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Pro-test Lite</title>
<link href="favicon.svg" rel="icon" id="favicon">
<meta name="theme-color" content="#202020"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="description" content="Tools for System Admins"/>
<link rel="stylesheet" href="root.css"/>
<link rel="stylesheet" href="ui.css"/>
<script defer src="loader.js"></script>
<link rel="manifest" href="manifest.json">
</head>
<body>
<main id="container">
<svg id="analog_clock" width="96" height="96" aria-hidden="true">
<circle cx="48" cy="48" r="44" stroke="var(--clr-contrast)" stroke-width="6" fill="rgba(0,0,0,0)"/>
<circle cx="48" cy="48" r="4" fill="var(--clr-contrast)"/>
<line id="analog_clock_h" x1="48" y1="48" x2="48" y2="24" stroke="var(--clr-contrast)" stroke-width="5"/>
<line id="analog_clock_m" x1="48" y1="48" x2="48" y2="16" stroke="var(--clr-contrast)" stroke-width="3"/>
</svg>
<svg id="date_calendar" width="96" height="96" aria-hidden="true">
<defs>
<mask id="date_month_mask">
<rect width="100%" height="100%" fill="#fff"/>
<text id="date_month" x="50%" y="18px" font-size="16" font-weight="bold" fill="#000" text-anchor="middle"></text>
</mask>
</defs>
<path fill="var(--clr-contrast)" mask="url(#date_month_mask)" d="M93.5,0h-91C1.119,0,0,1.119,0,2.5v91C0,94.881,1.119,96,2.5,96h91c1.381,0,2.5-1.119,2.5-2.5v-91 C96,1.119,94.881,0,93.5,0z M91,88.5c0,1.381-1.117,2.5-2.495,2.5H7.495C6.117,91,5,89.881,5,88.5v-61C5,26.119,6.117,25,7.495,25 h81.01C89.883,25,91,26.119,91,27.5V88.5z"/>
<text fill="var(--clr-contrast)" id="date_date" x="50%" y="64px" font-size="40" font-weight="bold" text-anchor="middle"></text>
<text fill="var(--clr-contrast)" id="date_day" x="50%" y="80px" font-size="14" text-anchor="middle"></text>
</svg>
<div id="menubox">
<input id="searchinput" type="text" autocomplete="off" autocorrect="off"/>
<div id="clearmenusearch"></div>
<div id="menulist"></div>
<div id="btnPersonalize"></div>
</div>
<div id="cap" style="visibility:hidden"></div>
<div id="loadingcontainer">
<div id="loadingbar"></div>
</div>
<div id="menubutton" role="button" aria-label="Menu">
<div></div>
</div>
<div id="contextmenu" tabindex="0"></div>
</main>
<nav id="taskbar">
<div id="attachedmenubutton"></div>
</nav>
<noscript>
<div style="position:sticky;padding:16px;text-align:center;background-color:#202020;color:#c0c0c0">Javascript is either disabled or not supported by your browser.</div>
</noscript>
<script>
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("serviceworker.js")
.then((registration) => {
//TODO:
})
.catch((error) => {
console.error("Service Worker registration failed:", error);
});
}
</script>
</body></html>