diff --git a/web/src/elements/table/TablePage.ts b/web/src/elements/table/TablePage.ts index a52416a09..8ef5462cc 100644 --- a/web/src/elements/table/TablePage.ts +++ b/web/src/elements/table/TablePage.ts @@ -4,6 +4,7 @@ import { ifDefined } from "lit/directives/if-defined.js"; import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css"; +import PFSidebar from "@patternfly/patternfly/components/Sidebar/sidebar.css"; import "../../elements/PageHeader"; import { Table } from "./Table"; @@ -14,7 +15,15 @@ export abstract class TablePage extends Table { abstract pageIcon(): string; static get styles(): CSSResult[] { - return super.styles.concat(PFPage, PFContent); + return super.styles.concat(PFPage, PFContent, PFSidebar); + } + + renderSidebarBefore(): TemplateResult { + return html``; + } + + renderSidebarAfter(): TemplateResult { + return html``; } render(): TemplateResult { @@ -25,7 +34,15 @@ export abstract class TablePage extends Table { >
-
${this.renderTable()}
+
+
+ ${this.renderSidebarBefore()} +
+
${this.renderTable()}
+
+ ${this.renderSidebarAfter()} +
+
`; } }