wutzcalc/client/admin.html
müde 6a0d30c8b5 add svg favicon + toolbar logo; set theme before paint
- favicon.svg (beer mug), linked from both entry points and shown in
  the tablet topbar next to the bar name
- inline data-theme in <head> kills the flash of dark on light-mode load
- hide the "Pfand zurück" tile when the bar has no Pfand
2026-06-14 22:55:15 +02:00

21 lines
690 B
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>wutzcalc — Backoffice</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<script>
// Set the theme before first paint to avoid a flash of the wrong colors.
document.documentElement.setAttribute(
'data-theme',
localStorage.getItem('wutz.theme') === 'light' ? 'light' : 'dark'
);
</script>
<link rel="stylesheet" href="/src/styles.css" />
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/admin/main.tsx"></script>
</body>
</html>