Anpassung Menü
This commit is contained in:
@@ -9,6 +9,7 @@ import { del, get, post, put } from "../api.js";
|
||||
import { clear, el, mount } from "../dom.js";
|
||||
import { makeSortable } from "../sortable.js";
|
||||
import { set, state } from "../store.js";
|
||||
import { appBar } from "../appbar.js";
|
||||
|
||||
const STEP = 10;
|
||||
|
||||
@@ -148,10 +149,7 @@ export async function manageView(root, { listId, back }) {
|
||||
|
||||
function render() {
|
||||
mount(root,
|
||||
el("header.bar", {},
|
||||
el("button.linklike", { type: "button", onclick: back },
|
||||
"‹ Zurück zur Liste"),
|
||||
listName ? el("span.who", {}, listName) : null),
|
||||
appBar({ back: { label: "Zurück", onClick: back }, title: listName }),
|
||||
|
||||
banner ? el(banner.kind === "error" ? "p.error" : "p.notice", {}, banner.message) : null,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user