mirror of
https://github.com/henrygd/beszel.git
synced 2026-03-23 05:56:17 +01:00
36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en" dir="ltr">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="manifest" href="./static/manifest.json" crossorigin="use-credentials" />
|
|
<link rel="icon" type="image/svg+xml" href="./static/icon.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
<title>Beszel</title>
|
|
<style>
|
|
.dark { background: hsl(220 5.5% 9%); color-scheme: dark; }
|
|
</style>
|
|
<script>
|
|
(function() {
|
|
try {
|
|
var theme = localStorage.getItem('ui-theme');
|
|
var isDark = theme === 'dark' ||
|
|
(theme !== 'light' && window.matchMedia('(prefers-color-scheme: dark)').matches);
|
|
document.documentElement.classList.add(isDark ? 'dark' : 'light');
|
|
} catch (e) {}
|
|
})();
|
|
</script>
|
|
<script>
|
|
globalThis.BESZEL = {
|
|
BASE_PATH: "%BASE_URL%",
|
|
HUB_VERSION: "{{V}}",
|
|
HUB_URL: "{{HUB_URL}}"
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|