Anpassung Menü

This commit is contained in:
2026-08-09 18:44:21 +02:00
parent b80e2d5a6c
commit 8ffbda875e
13 changed files with 365 additions and 58 deletions

View File

@@ -4,6 +4,7 @@
import { del, get, post, put } from "../api.js";
import { el, mount } from "../dom.js";
import { state } from "../store.js";
import { appBar } from "../appbar.js";
let openId = null;
@@ -361,8 +362,10 @@ export async function adminView(root, { back }) {
function render() {
mount(root,
el("header.bar", {},
el("button.linklike", { type: "button", onclick: back }, " Zurück")),
appBar({
back: { label: "Einstellungen", onClick: back },
title: "Benutzerverwaltung",
}),
banner ? el(banner.kind === "error" ? "p.error" : "p.notice", {}, banner.message) : null,