-
-
+
@@ -197,14 +201,16 @@ export class OAuthSourceViewPage extends LitElement {
data-tab-title="${t`Policy Bindings`}"
class="pf-c-page__main-section pf-m-no-padding-mobile"
>
-
-
- ${t`These bindings control which users can access this source.
- You can only use policies here as access is checked before the user is authenticated.`}
-
-
-
-
+
+
+
+ ${t`These bindings control which users can access this source.
+ You can only use policies here as access is checked before the user is authenticated.`}
+
+
diff --git a/web/src/pages/sources/plex/PlexSourceViewPage.ts b/web/src/pages/sources/plex/PlexSourceViewPage.ts
index 081b1c0b8..2edbc65a5 100644
--- a/web/src/pages/sources/plex/PlexSourceViewPage.ts
+++ b/web/src/pages/sources/plex/PlexSourceViewPage.ts
@@ -9,11 +9,8 @@ import PFCard from "@patternfly/patternfly/components/Card/card.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css";
import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css";
import PFPage from "@patternfly/patternfly/components/Page/page.css";
-import PFGallery from "@patternfly/patternfly/layouts/Gallery/gallery.css";
+import PFGrid from "@patternfly/patternfly/layouts/Grid/grid.css";
import PFBase from "@patternfly/patternfly/patternfly-base.css";
-import PFDisplay from "@patternfly/patternfly/utilities/Display/display.css";
-import PFFlex from "@patternfly/patternfly/utilities/Flex/flex.css";
-import PFSizing from "@patternfly/patternfly/utilities/Sizing/sizing.css";
import { PlexSource, SourcesApi } from "@goauthentik/api";
@@ -44,19 +41,7 @@ export class PlexSourceViewPage extends LitElement {
source?: PlexSource;
static get styles(): CSSResult[] {
- return [
- PFBase,
- PFPage,
- PFButton,
- PFFlex,
- PFDisplay,
- PFGallery,
- PFContent,
- PFCard,
- PFDescriptionList,
- PFSizing,
- AKGlobal,
- ];
+ return [PFBase, PFPage, PFButton, PFGrid, PFContent, PFCard, PFDescriptionList, AKGlobal];
}
constructor() {
@@ -77,39 +62,32 @@ export class PlexSourceViewPage extends LitElement {
data-tab-title="${t`Overview`}"
class="pf-c-page__main-section pf-m-no-padding-mobile"
>
-
-
-
-
-
-
-
-
- ${t`Name`}
-
-
-
-
- ${this.source.name}
-
-
-
-
-
-
+
+
+
+
+
+
-
+ ${t`Name`}
+
+
-
+
+ ${this.source.name}
+
+
+
+
+
+
@@ -119,14 +97,16 @@ export class PlexSourceViewPage extends LitElement {
data-tab-title="${t`Changelog`}"
class="pf-c-page__main-section pf-m-no-padding-mobile"
>
-
-
-
-
+
@@ -135,14 +115,16 @@ export class PlexSourceViewPage extends LitElement {
data-tab-title="${t`Policy Bindings`}"
class="pf-c-page__main-section pf-m-no-padding-mobile"
>
-
-
- ${t`These bindings control which users can access this source.
+
+
+
+ ${t`These bindings control which users can access this source.
You can only use policies here as access is checked before the user is authenticated.`}
-
-
+
diff --git a/web/src/pages/sources/saml/SAMLSourceViewPage.ts b/web/src/pages/sources/saml/SAMLSourceViewPage.ts
index 8c19b75f7..95e2fc962 100644
--- a/web/src/pages/sources/saml/SAMLSourceViewPage.ts
+++ b/web/src/pages/sources/saml/SAMLSourceViewPage.ts
@@ -11,11 +11,8 @@ import PFCard from "@patternfly/patternfly/components/Card/card.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css";
import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css";
import PFPage from "@patternfly/patternfly/components/Page/page.css";
-import PFGallery from "@patternfly/patternfly/layouts/Gallery/gallery.css";
+import PFGrid from "@patternfly/patternfly/layouts/Grid/grid.css";
import PFBase from "@patternfly/patternfly/patternfly-base.css";
-import PFDisplay from "@patternfly/patternfly/utilities/Display/display.css";
-import PFFlex from "@patternfly/patternfly/utilities/Flex/flex.css";
-import PFSizing from "@patternfly/patternfly/utilities/Sizing/sizing.css";
import { SAMLSource, SourcesApi } from "@goauthentik/api";
@@ -46,19 +43,7 @@ export class SAMLSourceViewPage extends LitElement {
source?: SAMLSource;
static get styles(): CSSResult[] {
- return [
- PFBase,
- PFPage,
- PFFlex,
- PFButton,
- PFDisplay,
- PFGallery,
- PFContent,
- PFCard,
- PFDescriptionList,
- PFSizing,
- AKGlobal,
- ];
+ return [PFBase, PFPage, PFGrid, PFButton, PFContent, PFCard, PFDescriptionList, AKGlobal];
}
constructor() {
@@ -79,75 +64,68 @@ export class SAMLSourceViewPage extends LitElement {
data-tab-title="${t`Overview`}"
class="pf-c-page__main-section pf-m-no-padding-mobile"
>
-
-
-
-
-
-
-
-
- ${t`Name`}
-
-
-
-
- ${this.source.name}
-
-
-
-
-
-
- ${t`SSO URL`}
-
-
-
-
- ${this.source.ssoUrl}
-
-
-
-
-
-
- ${t`SLO URL`}
-
-
-
-
- ${this.source.sloUrl}
-
-
-
-
-
-
- ${t`Issuer`}
-
-
-
-
- ${this.source.issuer}
-
-
-
-
-
-
+
+
+
+
+
+
-
+ ${t`Name`}
+
+
-
+
+ ${this.source.name}
+
+
+
+
+
-
+ ${t`SSO URL`}
+
+
-
+
+ ${this.source.ssoUrl}
+
+
+
+
+
-
+ ${t`SLO URL`}
+
+
-
+
+ ${this.source.sloUrl}
+
+
+
+
+
-
+ ${t`Issuer`}
+
+
-
+
+ ${this.source.issuer}
+
+
+
+
+
+
@@ -157,14 +135,16 @@ export class SAMLSourceViewPage extends LitElement {
data-tab-title="${t`Changelog`}"
class="pf-c-page__main-section pf-m-no-padding-mobile"
>
-
-
-
-
+
@@ -173,36 +153,34 @@ export class SAMLSourceViewPage extends LitElement {
data-tab-title="${t`Metadata`}"
class="pf-c-page__main-section pf-m-no-padding-mobile"
>
-
-
-
- ${until(
- new SourcesApi(DEFAULT_CONFIG)
- .sourcesSamlMetadataRetrieve({
- slug: this.source.slug,
- })
- .then((m) => {
- return html`
-
-
- `;
- }),
- )}
-
+
+
+ ${until(
+ new SourcesApi(DEFAULT_CONFIG)
+ .sourcesSamlMetadataRetrieve({
+ slug: this.source.slug,
+ })
+ .then((m) => {
+ return html`
+
+
+ `;
+ }),
+ )}
@@ -211,14 +189,16 @@ export class SAMLSourceViewPage extends LitElement {
data-tab-title="${t`Policy Bindings`}"
class="pf-c-page__main-section pf-m-no-padding-mobile"
>
-
-
- ${t`These bindings control which users can access this source.
+
+
+
+ ${t`These bindings control which users can access this source.
You can only use policies here as access is checked before the user is authenticated.`}
-
-
+