Testversion im Browser und Sicherung einspielen

Die Testversion bündelt Oberfläche und Server-Logik mit PGlite (Postgres als
WebAssembly). POST /api/import/stand spielt einen kompletten Stand mit allen IDs
in ein leeres Programm ein; damit ziehen die Daten später auf den Server um.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
Claude
2026-10-20 04:18:42 +00:00
parent e406c5a842
commit 9bd88bb7ec
17 changed files with 510 additions and 8 deletions

View File

@@ -6,16 +6,24 @@
--leiste: #13294a; --leiste-text: #b9c7da; --leiste-aktiv: #234a7c;
--bg: #f2f4f8; --fl: #ffffff; --text: #18202c; --leise: #5f6b7a; --linie: #e0e5ec;
--akzent: #1d5fa8; --akzent-hover: #174d89; --akzent-text: #ffffff; --akzent-hell: #e4eefa;
--warn: #b42318;
--warn: #b42318; --warnung-bg: #fdecea; --warnung-text: #7a1c14; --warnung-linie: #f5c2bd;
font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px;
}
/* dunkel nach Systemeinstellung, außer jemand wählt ausdrücklich hell (data-theme) */
@media (prefers-color-scheme: dark) {
:root {
:root:not([data-theme="light"]) {
--leiste: #0d1a2e; --leiste-aktiv: #1d3a62;
--bg: #111822; --fl: #1a2331; --text: #e8edf4; --leise: #9aa7b8; --linie: #2b3747;
--akzent: #5a9be0; --akzent-hover: #78b0ea; --akzent-text: #0d1a2e; --akzent-hell: #1d3352; --warn: #f97066;
--warnung-bg: #3a1714; --warnung-text: #f9c9c3; --warnung-linie: #6b2620; color-scheme: dark;
}
}
:root[data-theme="dark"] {
--leiste: #0d1a2e; --leiste-aktiv: #1d3a62;
--bg: #111822; --fl: #1a2331; --text: #e8edf4; --leise: #9aa7b8; --linie: #2b3747;
--akzent: #5a9be0; --akzent-hover: #78b0ea; --akzent-text: #0d1a2e; --akzent-hell: #1d3352; --warn: #f97066;
--warnung-bg: #3a1714; --warnung-text: #f9c9c3; --warnung-linie: #6b2620; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); display: flex; min-height: 100vh; }
@@ -154,12 +162,11 @@ button.neben.an { background: var(--akzent-hell); border-color: var(--akzent); c
.person.vorgemerkt { background: transparent; border: 1px dashed var(--leise); color: var(--leise); font-style: italic; }
.balken-leute { position: absolute; top: 9px; display: flex; gap: 3px; pointer-events: none; white-space: nowrap; }
.balken.konflikt { outline: 2px solid var(--warn); outline-offset: 1px; }
.warnung { background: #fdecea; color: #7a1c14; border: 1px solid #f5c2bd; border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; font-size: 14px; }
.warnung { background: var(--warnung-bg); color: var(--warnung-text); border: 1px solid var(--warnung-linie); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; font-size: 14px; }
.warnung ul { margin: 4px 0 0; padding-left: 18px; }
.dialog.besetzung table { margin: 8px 0; font-size: 14px; }
.dialog.besetzung td { padding: 6px 8px; }
.dialog.besetzung td .neben { padding: 2px 8px; }
@media (prefers-color-scheme: dark) { .warnung { background: #3a1714; color: #f9c9c3; border-color: #6b2620; } }
/* Startseite */
.kopf h1 .datum { font-size: 15px; font-weight: 400; color: var(--leise); margin-left: 8px; }