zterton-status/index.html
2021-10-14 15:43:47 +01:00

27 lines
988 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<title>Vitesse Lite</title>
<meta name="description" content="Opinionated Vite Starter Template">
</head>
<body>
<div id="app"></div>
<script>
(function() {
// window.ROOT_LOCATION='https://10.11.5.1'
// window.ROOT_LOCATION='https://status.librecloud.online'
// window.ROOT_LOCATION='https://localhost:8302'
window.ROOT_LOCATION='https://localhost:8302'
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
const setting = localStorage.getItem('color-schema') || 'auto'
if (setting === 'dark' || (prefersDark && setting !== 'light'))
document.documentElement.classList.toggle('dark', true)
})()
</script>
<script type="module" src="/src/main.ts"></script>
</body>
</html>