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

18
demo/index.html Normal file
View File

@@ -0,0 +1,18 @@
<title>Betrieb Testversion</title>
<style>/*STYLES*/
#test-leiste { position: fixed; z-index: 50; right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
max-width: min(420px, calc(100vw - 24px)); background: var(--fl); color: var(--text); border: 1px solid var(--linie); border-radius: 10px;
padding: 7px 12px; font-size: 13px; box-shadow: 0 2px 10px rgb(0 0 0 / 0.12); display: flex; gap: 8px; align-items: baseline; }
#test-leiste b { color: var(--holz); white-space: nowrap; }
#test-zustand.ok { color: var(--leise); }
#test-zustand.fehler { color: var(--warn); }
</style>
<aside id="seitenleiste">
<div id="marke"><img src="/*LOGO*/" alt="Holzbau Schaarschmidt"></div>
<nav id="reiter"></nav>
<span id="version"></span>
</aside>
<main id="inhalt"></main>
<div id="dialog-huelle" hidden></div>
<div id="test-leiste" role="status"><b>Testversion</b><span id="test-zustand">Programm wird geladen …</span></div>
<script type="module">/*APP*/</script>