From 8878dc61d31dbc56b0386c291b2904a21ff50c72 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 1 Mar 2021 18:34:19 +0100 Subject: [PATCH] web: Add Policy create button to BoundPoliciesList --- .../elements/policies/BoundPoliciesList.ts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/web/src/elements/policies/BoundPoliciesList.ts b/web/src/elements/policies/BoundPoliciesList.ts index 298bc2d28..24c67f844 100644 --- a/web/src/elements/policies/BoundPoliciesList.ts +++ b/web/src/elements/policies/BoundPoliciesList.ts @@ -8,6 +8,9 @@ import "../../elements/Tabs"; import "../../elements/AdminLoginsChart"; import "../../elements/buttons/ModalButton"; import "../../elements/buttons/SpinnerButton"; +import "../../elements/buttons/Dropdown"; +import { Policy } from "../../api/Policies"; +import { until } from "lit-html/directives/until"; @customElement("ak-bound-policies-list") export class BoundPoliciesList extends Table { @@ -85,6 +88,26 @@ export class BoundPoliciesList extends Table { renderToolbar(): TemplateResult { return html` + + + + ${gettext("Bind Policy")}