web: add more related links, add policy/user/group support for bindings

This commit is contained in:
Jens Langhammer
2021-02-16 20:34:15 +01:00
parent 6bcdf36ca6
commit f8ba623fc1
12 changed files with 398 additions and 48 deletions

View File

@ -36,7 +36,7 @@ export const ROUTES: Route[] = [
return html`<ak-source-view .args=${args}></ak-source-view>`;
}),
new Route(new RegExp(`^/flows/(?<slug>${SLUG_REGEX})$`)).then((args) => {
return html`<ak-flow-view .args=${args}></ak-flow-view>`;
return html`<ak-flow-view .flowSlug=${args.slug}></ak-flow-view>`;
}),
new Route(new RegExp("^/events/log$"), html`<ak-event-list></ak-event-list>`),
new Route(new RegExp(`^/events/log/(?<id>${UUID_REGEX})$`)).then((args) => {