web: fix dark mode for admin overview page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -16,12 +16,13 @@ import "./cards/WorkerStatusCard";
|
||||
import PFPage from "@patternfly/patternfly/components/Page/page.css";
|
||||
import PFContent from "@patternfly/patternfly/components/Content/content.css";
|
||||
import PFGallery from "@patternfly/patternfly/layouts/Gallery/gallery.css";
|
||||
import AKGlobal from "../../authentik.css"
|
||||
|
||||
@customElement("ak-admin-overview")
|
||||
export class AdminOverviewPage extends LitElement {
|
||||
|
||||
static get styles(): CSSResult[] {
|
||||
return [PFGallery, PFPage, PFContent];
|
||||
return [PFGallery, PFPage, PFContent, AKGlobal];
|
||||
}
|
||||
|
||||
render(): TemplateResult {
|
||||
|
||||
@ -2,6 +2,7 @@ import { gettext } from "django";
|
||||
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
||||
import { EventsApi, EventTopPerUser } from "authentik-api";
|
||||
import PFTable from "@patternfly/patternfly/components/Table/table.css";
|
||||
import AKGlobal from "../../authentik.css"
|
||||
|
||||
import "../../elements/Spinner";
|
||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||
@ -13,7 +14,7 @@ export class TopApplicationsTable extends LitElement {
|
||||
topN?: EventTopPerUser[];
|
||||
|
||||
static get styles(): CSSResult[] {
|
||||
return [PFTable];
|
||||
return [PFTable, AKGlobal];
|
||||
}
|
||||
|
||||
firstUpdated(): void {
|
||||
|
||||
Reference in New Issue
Block a user