f507ef8488
Dark Mode: Manueller Theme-Switch (System/Hell/Dunkel) in Einstellungen mit localStorage-Persistenz und Flash-Prevention via data-theme Attribut. RRULE UI: Wiederholungs-Formular in Aufgaben- und Kalender-Modals mit Frequenz (Täglich/Wöchentlich/Monatlich), Intervall, Wochentag-Auswahl und optionalem Enddatum. Backend-Routen für is_recurring/recurrence_rule in POST/PUT erweitert. Repeat-Icon auf wiederkehrenden Einträgen. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
67 lines
2.5 KiB
HTML
67 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
<meta name="theme-color" content="#007AFF" />
|
|
<meta name="description" content="Oikos — Familienplaner" />
|
|
<title>Oikos</title>
|
|
|
|
<!-- PWA -->
|
|
<link rel="manifest" href="/manifest.json" />
|
|
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png" />
|
|
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32.png" />
|
|
|
|
<!-- DNS-Prefetch für externe Ressourcen -->
|
|
<link rel="dns-prefetch" href="https://openweathermap.org" />
|
|
|
|
<!-- Preload: kritische ES-Module (modulepreload ist korrekt für type="module") -->
|
|
<link rel="modulepreload" href="/api.js" />
|
|
<link rel="modulepreload" href="/router.js" />
|
|
<link rel="modulepreload" href="/rrule-ui.js" />
|
|
|
|
<!-- Styles -->
|
|
<link rel="stylesheet" href="/styles/tokens.css" />
|
|
<link rel="stylesheet" href="/styles/reset.css" />
|
|
<link rel="stylesheet" href="/styles/layout.css" />
|
|
<link rel="stylesheet" href="/styles/login.css" />
|
|
<link rel="stylesheet" href="/styles/dashboard.css" />
|
|
<link rel="stylesheet" href="/styles/tasks.css" />
|
|
<link rel="stylesheet" href="/styles/shopping.css" />
|
|
<link rel="stylesheet" href="/styles/meals.css" />
|
|
<link rel="stylesheet" href="/styles/calendar.css" />
|
|
<link rel="stylesheet" href="/styles/notes.css" />
|
|
<link rel="stylesheet" href="/styles/contacts.css" />
|
|
<link rel="stylesheet" href="/styles/budget.css" />
|
|
<link rel="stylesheet" href="/styles/settings.css" />
|
|
|
|
<!-- Theme: Vor CSS-Rendering anwenden (Flash-Prevention) -->
|
|
<script>
|
|
(function() {
|
|
var t = localStorage.getItem('oikos-theme');
|
|
if (t === 'light' || t === 'dark') document.documentElement.setAttribute('data-theme', t);
|
|
})();
|
|
</script>
|
|
|
|
<!-- Lucide Icons (lokal, v0.469.0) -->
|
|
<script src="/lucide.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<!-- App-Shell — wird durch JavaScript gefüllt -->
|
|
<div id="app" class="app-shell">
|
|
<!-- Skeleton-Loading während Initialisierung -->
|
|
<div id="app-loading" class="app-loading" aria-live="polite" aria-label="Lade Oikos…">
|
|
<div class="app-loading__logo">Oikos</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Module (ES-Module, kein Bundler) -->
|
|
<script type="module" src="/api.js"></script>
|
|
<script type="module" src="/router.js"></script>
|
|
|
|
<!-- Service Worker registrieren -->
|
|
<script src="/sw-register.js" defer></script>
|
|
</body>
|
|
</html>
|