Anpassung Menü
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user