web: remove common_styles
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -1,6 +1,5 @@ | ||||
| import { gettext } from "django"; | ||||
| import { CSSResult, customElement, html, LitElement, TemplateResult } from "lit-element"; | ||||
| import { COMMON_STYLES } from "../../common/styles"; | ||||
|  | ||||
| import "../../elements/charts/AdminLoginsChart"; | ||||
| import "../../elements/cards/AggregatePromiseCard"; | ||||
| @ -14,11 +13,15 @@ import "./cards/UserCountStatusCard"; | ||||
| import "./cards/VersionStatusCard"; | ||||
| 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"; | ||||
|  | ||||
| @customElement("ak-admin-overview") | ||||
| export class AdminOverviewPage extends LitElement { | ||||
|  | ||||
|     static get styles(): CSSResult[] { | ||||
|         return COMMON_STYLES; | ||||
|         return [PFGallery, PFPage, PFContent]; | ||||
|     } | ||||
|  | ||||
|     render(): TemplateResult { | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| import { gettext } from "django"; | ||||
| import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; | ||||
| import { COMMON_STYLES } from "../../common/styles"; | ||||
| import { EventsApi, EventTopPerUser } from "authentik-api"; | ||||
| import PFTable from "@patternfly/patternfly/components/Table/table.css"; | ||||
|  | ||||
| import "../../elements/Spinner"; | ||||
| import { DEFAULT_CONFIG } from "../../api/Config"; | ||||
| @ -13,7 +13,7 @@ export class TopApplicationsTable extends LitElement { | ||||
|     topN?: EventTopPerUser[]; | ||||
|  | ||||
|     static get styles(): CSSResult[] { | ||||
|         return COMMON_STYLES; | ||||
|         return [PFTable]; | ||||
|     } | ||||
|  | ||||
|     firstUpdated(): void { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer