Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (39 loc) · 1.73 KB
/
Copy pathindex.html
File metadata and controls
39 lines (39 loc) · 1.73 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- interactive-widget: on Chromium the keyboard then shrinks the layout
viewport itself, so dvh already accounts for it and the measuring in
keyboardInset.ts has nothing left to correct. Browsers that do not know
the key ignore it, and there the measuring does the work. -->
<meta
name="viewport"
content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content"
/>
<meta name="color-scheme" content="dark light" />
<link rel="icon" href="./favicon.ico" sizes="any" />
<!-- Installable PWA: run full-screen and standalone from the home screen,
which also removes the mobile browser's toolbars that were shrinking the
usable area. The manifest, worker and icons are served by the device. -->
<link rel="manifest" href="/manifest.webmanifest" />
<meta name="theme-color" content="#0e1116" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="ESP-KVM" />
<link rel="apple-touch-icon" href="/icon-192.png" />
<title>ESP-KVM</title>
</head>
<body>
<div id="app"></div>
<script>
/* Register the service worker so the console is installable. Failures are
ignored - the app works fine without it, just not as an installed PWA. */
if ("serviceWorker" in navigator) {
window.addEventListener("load", () => {
navigator.serviceWorker.register("/sw.js").catch(() => {});
});
}
</script>
<script type="module" src="/src/main.ts"></script>
</body>
</html>