web: fix source pages

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-17 19:00:57 +01:00
parent bf32cf3265
commit d2bbf2965d
11 changed files with 38 additions and 30 deletions

View File

@ -19,14 +19,14 @@ export class EmptyState extends LitElement {
fullHeight = false;
@property()
header: string = "";
header = "";
static get styles(): CSSResult[] {
return [PFBase, PFEmptyState, PFTitle, AKGlobal];
}
render(): TemplateResult {
return html`<div class="pf-c-empty-state ${this.fullHeight && 'pf-m-full-height'}">
return html`<div class="pf-c-empty-state ${this.fullHeight && "pf-m-full-height"}">
<div class="pf-c-empty-state__content">
${this.loading ?
html`<div class="pf-c-empty-state__icon">

View File

@ -11,7 +11,7 @@ import PFPage from "@patternfly/patternfly/components/Page/page.css";
import PFStack from "@patternfly/patternfly/layouts/Stack/stack.css";
import PFCard from "@patternfly/patternfly/components/Card/card.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css";
import AKGlobal from "../../authentik.css"
import AKGlobal from "../../authentik.css";
import { convertToSlug } from "../../utils";
import { SpinnerButton } from "./SpinnerButton";

View File

@ -4,7 +4,7 @@ import { ifDefined } from "lit-html/directives/if-defined";
import PFBase from "@patternfly/patternfly/patternfly-base.css";
import PFCard from "@patternfly/patternfly/components/Card/card.css";
import PFFlex from "@patternfly/patternfly/layouts/Flex/flex.css";
import AKGlobal from "../../authentik.css"
import AKGlobal from "../../authentik.css";
@customElement("ak-aggregate-card")
export class AggregateCard extends LitElement {