Angebote mit Kalkulation: Leistungsverzeichnis, Kostenzeilen, Versandprüfung, Annehmen macht den Auftrag (0.16.0)
Some checks failed
Prüfung / tests (push) Has been cancelled
Prüfung / container (push) Has been cancelled

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 22:16:30 +00:00
parent 334cd9357e
commit 8979795502
17 changed files with 1567 additions and 19 deletions

View File

@@ -184,12 +184,14 @@ export async function bearbeiten(pfad: string, titel: string, felder: Feld[], ze
}
/** Hinweis, der nach dem nächsten Neuaufbau der Seite oben steht */
export const hinweis = { text: "" };
export const hinweis = { text: "", gut: false };
export const hinweisHtml = () => (hinweis.text ? `<div class="${hinweis.gut ? "erfolg" : "warnung"}" role="status">${esc(hinweis.text)}</div>` : "");
// Kopf wie bei Plancraft: Titel links, Hauptknopf rechts; darunter eine Leiste für Filter
export function seite(titel: string, knopf?: { text: string; aktion: () => void }): HTMLElement {
inhalt.innerHTML = `<div class="kopf"><h1>${esc(titel)}</h1></div>${hinweis.text ? `<div class="warnung">${esc(hinweis.text)}</div>` : ""}`;
inhalt.innerHTML = `<div class="kopf"><h1>${esc(titel)}</h1></div>${hinweisHtml()}`;
hinweis.text = "";
hinweis.gut = false;
if (knopf) {
const b = document.createElement("button");
b.className = "haupt";