web/elements: add PageHeader element to replace page

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-10 17:06:54 +02:00
parent 1fbf6be6c2
commit 6f7fb4c919
23 changed files with 456 additions and 561 deletions

View File

@ -4,7 +4,6 @@
| Version | Supported | | Version | Supported |
| ---------- | ------------------ | | ---------- | ------------------ |
| 2021.2.x | :white_check_mark: |
| 2021.3.x | :white_check_mark: | | 2021.3.x | :white_check_mark: |
| 2021.4.x | :white_check_mark: | | 2021.4.x | :white_check_mark: |

View File

@ -1,25 +0,0 @@
import { t } from "@lingui/macro";
import { LitElement } from "lit-element";
import { html, TemplateResult } from "lit-html";
export abstract class Page extends LitElement {
abstract pageTitle(): string;
abstract pageDescription(): string | undefined;
abstract pageIcon(): string;
abstract renderContent(): TemplateResult;
render(): TemplateResult {
const description = this.pageDescription();
return html`<section class="pf-c-page__main-section pf-m-light">
<div class="pf-c-content">
<h1>
<i class="${this.pageIcon()}"></i>&nbsp;
${t`${this.pageTitle()}`}
</h1>
${description ? html`<p>${t`${description}`}</p>` : html``}
</div>
</section>
${this.renderContent()}`;
}
}

View File

@ -0,0 +1,63 @@
import PFPage from "@patternfly/patternfly/components/Page/page.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css";
import AKGlobal from "../authentik.css";
import PFBase from "@patternfly/patternfly/patternfly-base.css";
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import { TITLE_SUFFIX } from "../constants";
@customElement("ak-page-header")
export class PageHeader extends LitElement {
@property()
icon?: string;
@property({type: Boolean})
iconImage = false
@property()
set header(value: string) {
if (value !== "") {
document.title = `${value} - ${TITLE_SUFFIX}`;
} else {
document.title = TITLE_SUFFIX;
}
this._header = value;
}
get header(): string {
return this._header;
}
@property()
description?: string;
_header = "";
static get styles(): CSSResult[] {
return [PFBase, PFPage, PFContent, AKGlobal];
}
renderIcon(): TemplateResult {
if (this.icon) {
if (this.iconImage) {
return html`<img class="pf-icon" src="${this.icon}" />&nbsp;`;
}
return html`<i class=${this.icon}></i>&nbsp;`;
}
return html``;
}
render(): TemplateResult {
return html`<section class="pf-c-page__main-section pf-m-light">
<div class="pf-c-content">
<h1>
${this.renderIcon()}
${this.header}
</h1>
${this.description ?
html`<p>${this.description}</p>`: html``}
</div>
</section>`;
}
}

View File

@ -5,8 +5,7 @@ import { RouteMatch } from "./RouteMatch";
import AKGlobal from "../../authentik.css"; import AKGlobal from "../../authentik.css";
import "./Router404"; import "./Router404";
import { Page } from "../Page"; import { ROUTE_SEPARATOR } from "../../constants";
import { ROUTE_SEPARATOR, TITLE_SUFFIX } from "../../constants";
// Poliyfill for hashchange.newURL, // Poliyfill for hashchange.newURL,
// https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onhashchange // https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onhashchange
@ -38,8 +37,6 @@ export class RouterOutlet extends LitElement {
} }
*:first-child { *:first-child {
height: 100%; height: 100%;
display: flex;
flex-direction: column;
} }
`, `,
]; ];
@ -54,18 +51,6 @@ export class RouterOutlet extends LitElement {
this.navigate(); this.navigate();
} }
updated(): void {
if (!this.shadowRoot) return;
Array.from(this.shadowRoot?.children).forEach((el) => {
if ("pageTitle" in el) {
const title = (el as Page).pageTitle();
document.title = `${title} - ${TITLE_SUFFIX}`;
} else {
document.title = TITLE_SUFFIX;
}
});
}
navigate(ev?: HashChangeEvent): void { navigate(ev?: HashChangeEvent): void {
let activeUrl = window.location.hash.slice(1, Infinity).split(ROUTE_SEPARATOR)[0]; let activeUrl = window.location.hash.slice(1, Infinity).split(ROUTE_SEPARATOR)[0];
if (ev) { if (ev) {

View File

@ -1,9 +1,9 @@
import { t } from "@lingui/macro";
import { CSSResult } from "lit-element"; import { CSSResult } from "lit-element";
import { html, TemplateResult } from "lit-html"; import { html, TemplateResult } from "lit-html";
import { ifDefined } from "lit-html/directives/if-defined"; import { ifDefined } from "lit-html/directives/if-defined";
import { Table } from "./Table"; import { Table } from "./Table";
import "./TableSearch"; import "./TableSearch";
import "../../elements/PageHeader";
import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css";
@ -29,16 +29,11 @@ export abstract class TablePage<T> extends Table<T> {
} }
render(): TemplateResult { render(): TemplateResult {
const description = this.pageDescription(); return html`<ak-page-header
return html`<section class="pf-c-page__main-section pf-m-light"> icon=${this.pageIcon()}
<div class="pf-c-content"> header=${this.pageTitle()}
<h1> description=${ifDefined(this.pageDescription())}>
<i class="${this.pageIcon()}"></i> </ak-page-header>
${t`${this.pageTitle()}`}
</h1>
${description ? html`<p>${t`${description}`}</p>` : html``}
</div>
</section>
<section class="pf-c-page__main-section pf-m-no-padding-mobile"> <section class="pf-c-page__main-section pf-m-no-padding-mobile">
<div class="pf-c-card">${this.renderTable()}</div> <div class="pf-c-card">${this.renderTable()}</div>
</section>`; </section>`;

View File

@ -30,7 +30,7 @@ msgid "A policy used for testing. Always returns the same result as specified be
msgstr "A policy used for testing. Always returns the same result as specified below after waiting a random duration." msgstr "A policy used for testing. Always returns the same result as specified below after waiting a random duration."
#: src/pages/providers/saml/SAMLProviderForm.ts:82 #: src/pages/providers/saml/SAMLProviderForm.ts:82
#: src/pages/providers/saml/SAMLProviderViewPage.ts:95 #: src/pages/providers/saml/SAMLProviderViewPage.ts:84
msgid "ACS URL" msgid "ACS URL"
msgstr "ACS URL" msgstr "ACS URL"
@ -60,7 +60,7 @@ msgstr "API Requests"
msgid "API request failed" msgid "API request failed"
msgstr "API request failed" msgstr "API request failed"
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:98 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:87
msgid "Access Key" msgid "Access Key"
msgstr "Access Key" msgstr "Access Key"
@ -75,7 +75,7 @@ msgid "Action"
msgstr "Action" msgstr "Action"
#: src/pages/users/UserListPage.ts:50 #: src/pages/users/UserListPage.ts:50
#: src/pages/users/UserViewPage.ts:117 #: src/pages/users/UserViewPage.ts:115
msgid "Active" msgid "Active"
msgstr "Active" msgstr "Active"
@ -176,13 +176,13 @@ msgid "Application's display Name."
msgstr "Application's display Name." msgstr "Application's display Name."
#: src/interfaces/AdminInterface.ts:20 #: src/interfaces/AdminInterface.ts:20
#: src/pages/LibraryPage.ts:92 #: src/pages/LibraryPage.ts:93
#: src/pages/LibraryPage.ts:131 #: src/pages/LibraryPage.ts:130
#: src/pages/applications/ApplicationListPage.ts:28 #: src/pages/applications/ApplicationListPage.ts:28
msgid "Applications" msgid "Applications"
msgstr "Applications" msgstr "Applications"
#: src/pages/admin-overview/AdminOverviewPage.ts:47 #: src/pages/admin-overview/AdminOverviewPage.ts:42
msgid "Apps with most usage" msgid "Apps with most usage"
msgstr "Apps with most usage" msgstr "Apps with most usage"
@ -231,9 +231,9 @@ msgid "Assertions is empty"
msgstr "Assertions is empty" msgstr "Assertions is empty"
#: src/pages/providers/ProviderListPage.ts:65 #: src/pages/providers/ProviderListPage.ts:65
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:92 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:81
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:83 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:72
#: src/pages/providers/saml/SAMLProviderViewPage.ts:85 #: src/pages/providers/saml/SAMLProviderViewPage.ts:74
msgid "Assigned to application" msgid "Assigned to application"
msgstr "Assigned to application" msgstr "Assigned to application"
@ -256,7 +256,7 @@ msgid "Attributes"
msgstr "Attributes" msgstr "Attributes"
#: src/pages/providers/saml/SAMLProviderForm.ts:108 #: src/pages/providers/saml/SAMLProviderForm.ts:108
#: src/pages/providers/saml/SAMLProviderViewPage.ts:103 #: src/pages/providers/saml/SAMLProviderViewPage.ts:92
msgid "Audience" msgid "Audience"
msgstr "Audience" msgstr "Audience"
@ -283,7 +283,7 @@ msgid "Authorization Code"
msgstr "Authorization Code" msgstr "Authorization Code"
#: src/pages/sources/oauth/OAuthSourceForm.ts:65 #: src/pages/sources/oauth/OAuthSourceForm.ts:65
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:106 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:95
msgid "Authorization URL" msgid "Authorization URL"
msgstr "Authorization URL" msgstr "Authorization URL"
@ -294,7 +294,7 @@ msgstr "Authorization URL"
msgid "Authorization flow" msgid "Authorization flow"
msgstr "Authorization flow" msgstr "Authorization flow"
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:179 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:168
msgid "Authorize URL" msgid "Authorize URL"
msgstr "Authorize URL" msgstr "Authorize URL"
@ -323,12 +323,12 @@ msgstr "Backup finished with errors."
msgid "Backup finished with warnings." msgid "Backup finished with warnings."
msgstr "Backup finished with warnings." msgstr "Backup finished with warnings."
#: src/pages/admin-overview/AdminOverviewPage.ts:64 #: src/pages/admin-overview/AdminOverviewPage.ts:59
msgid "Backup status" msgid "Backup status"
msgstr "Backup status" msgstr "Backup status"
#: src/pages/sources/ldap/LDAPSourceForm.ts:131 #: src/pages/sources/ldap/LDAPSourceForm.ts:131
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:91 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:80
msgid "Base DN" msgid "Base DN"
msgstr "Base DN" msgstr "Base DN"
@ -348,7 +348,7 @@ msgstr "Based on the User's UPN, only works if user has a 'upn' attribute set. U
msgid "Based on the username" msgid "Based on the username"
msgstr "Based on the username" msgstr "Based on the username"
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:109 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:98
msgid "Basic-Auth" msgid "Basic-Auth"
msgstr "Basic-Auth" msgstr "Basic-Auth"
@ -387,15 +387,15 @@ msgstr "Built-in"
msgid "CA which the endpoint's Certificate is verified against. Can be left empty for no validation." msgid "CA which the endpoint's Certificate is verified against. Can be left empty for no validation."
msgstr "CA which the endpoint's Certificate is verified against. Can be left empty for no validation." msgstr "CA which the endpoint's Certificate is verified against. Can be left empty for no validation."
#: src/pages/admin-overview/AdminOverviewPage.ts:62 #: src/pages/admin-overview/AdminOverviewPage.ts:57
msgid "Cached Flows" msgid "Cached Flows"
msgstr "Cached Flows" msgstr "Cached Flows"
#: src/pages/admin-overview/AdminOverviewPage.ts:60 #: src/pages/admin-overview/AdminOverviewPage.ts:55
msgid "Cached Policies" msgid "Cached Policies"
msgstr "Cached Policies" msgstr "Cached Policies"
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:90 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:79
msgid "Callback URL" msgid "Callback URL"
msgstr "Callback URL" msgstr "Callback URL"
@ -455,15 +455,15 @@ msgstr "Change password"
msgid "Change your password" msgid "Change your password"
msgstr "Change your password" msgstr "Change your password"
#: src/pages/applications/ApplicationViewPage.ts:122 #: src/pages/applications/ApplicationViewPage.ts:116
#: src/pages/flows/FlowViewPage.ts:114 #: src/pages/flows/FlowViewPage.ts:110
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:147 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:136
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:146 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:135
#: src/pages/providers/saml/SAMLProviderViewPage.ts:140 #: src/pages/providers/saml/SAMLProviderViewPage.ts:129
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:124 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:113
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:143 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:132
#: src/pages/sources/saml/SAMLSourceViewPage.ts:130 #: src/pages/sources/saml/SAMLSourceViewPage.ts:119
#: src/pages/users/UserViewPage.ts:178 #: src/pages/users/UserViewPage.ts:176
msgid "Changelog" msgid "Changelog"
msgstr "Changelog" msgstr "Changelog"
@ -525,7 +525,7 @@ msgid "Click to copy token"
msgstr "Click to copy token" msgstr "Click to copy token"
#: src/pages/providers/oauth2/OAuth2ProviderForm.ts:107 #: src/pages/providers/oauth2/OAuth2ProviderForm.ts:107
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:110 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:99
msgid "Client ID" msgid "Client ID"
msgstr "Client ID" msgstr "Client ID"
@ -540,7 +540,7 @@ msgid "Client Secret"
msgstr "Client Secret" msgstr "Client Secret"
#: src/pages/providers/oauth2/OAuth2ProviderForm.ts:85 #: src/pages/providers/oauth2/OAuth2ProviderForm.ts:85
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:102 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:91
msgid "Client type" msgid "Client type"
msgstr "Client type" msgstr "Client type"
@ -588,7 +588,7 @@ msgstr "Configure how the NameID value will be created. When left empty, the Nam
msgid "Configure how the issuer field of the ID Token should be filled." msgid "Configure how the issuer field of the ID Token should be filled."
msgstr "Configure how the issuer field of the ID Token should be filled." msgstr "Configure how the issuer field of the ID Token should be filled."
#: src/pages/user-settings/UserSettingsPage.ts:73 #: src/pages/user-settings/UserSettingsPage.ts:71
msgid "Configure settings relevant to your user profile." msgid "Configure settings relevant to your user profile."
msgstr "Configure settings relevant to your user profile." msgstr "Configure settings relevant to your user profile."
@ -988,8 +988,8 @@ msgstr "Disconnect"
msgid "Docker URL" msgid "Docker URL"
msgstr "Docker URL" msgstr "Docker URL"
#: src/pages/providers/saml/SAMLProviderViewPage.ts:166 #: src/pages/providers/saml/SAMLProviderViewPage.ts:155
#: src/pages/sources/saml/SAMLSourceViewPage.ts:154 #: src/pages/sources/saml/SAMLSourceViewPage.ts:143
msgid "Download" msgid "Download"
msgstr "Download" msgstr "Download"
@ -1002,8 +1002,8 @@ msgid "Each provider has a different issuer, based on the application slug."
msgstr "Each provider has a different issuer, based on the application slug." msgstr "Each provider has a different issuer, based on the application slug."
#: src/pages/applications/ApplicationListPage.ts:90 #: src/pages/applications/ApplicationListPage.ts:90
#: src/pages/applications/ApplicationViewPage.ts:98 #: src/pages/applications/ApplicationViewPage.ts:92
#: src/pages/applications/ApplicationViewPage.ts:112 #: src/pages/applications/ApplicationViewPage.ts:106
#: src/pages/crypto/CertificateKeyPairListPage.ts:74 #: src/pages/crypto/CertificateKeyPairListPage.ts:74
#: src/pages/events/RuleListPage.ts:70 #: src/pages/events/RuleListPage.ts:70
#: src/pages/events/TransportListPage.ts:74 #: src/pages/events/TransportListPage.ts:74
@ -1014,18 +1014,18 @@ msgstr "Each provider has a different issuer, based on the application slug."
#: src/pages/policies/PolicyListPage.ts:90 #: src/pages/policies/PolicyListPage.ts:90
#: src/pages/property-mappings/PropertyMappingListPage.ts:79 #: src/pages/property-mappings/PropertyMappingListPage.ts:79
#: src/pages/providers/ProviderListPage.ts:86 #: src/pages/providers/ProviderListPage.ts:86
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:139 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:128
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:138 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:127
#: src/pages/providers/saml/SAMLProviderViewPage.ts:132 #: src/pages/providers/saml/SAMLProviderViewPage.ts:121
#: src/pages/sources/SourcesListPage.ts:82 #: src/pages/sources/SourcesListPage.ts:82
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:116 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:105
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:135 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:124
#: src/pages/sources/saml/SAMLSourceViewPage.ts:122 #: src/pages/sources/saml/SAMLSourceViewPage.ts:111
#: src/pages/stages/StageListPage.ts:98 #: src/pages/stages/StageListPage.ts:98
#: src/pages/stages/prompt/PromptListPage.ts:75 #: src/pages/stages/prompt/PromptListPage.ts:75
#: src/pages/user-settings/tokens/UserTokenList.ts:113 #: src/pages/user-settings/tokens/UserTokenList.ts:113
#: src/pages/users/UserListPage.ts:75 #: src/pages/users/UserListPage.ts:75
#: src/pages/users/UserViewPage.ts:148 #: src/pages/users/UserViewPage.ts:146
msgid "Edit" msgid "Edit"
msgstr "Edit" msgstr "Edit"
@ -1050,7 +1050,7 @@ msgstr "Edit Stage"
msgid "Edit User" msgid "Edit User"
msgstr "Edit User" msgstr "Edit User"
#: src/pages/LibraryPage.ts:113 #: src/pages/LibraryPage.ts:114
msgid "Either no applications are defined, or you don't have access to any." msgid "Either no applications are defined, or you don't have access to any."
msgstr "Either no applications are defined, or you don't have access to any." msgstr "Either no applications are defined, or you don't have access to any."
@ -1058,7 +1058,7 @@ msgstr "Either no applications are defined, or you don't have access to any."
#: src/pages/stages/identification/IdentificationStageForm.ts:82 #: src/pages/stages/identification/IdentificationStageForm.ts:82
#: src/pages/user-settings/UserDetailsPage.ts:71 #: src/pages/user-settings/UserDetailsPage.ts:71
#: src/pages/users/UserForm.ts:61 #: src/pages/users/UserForm.ts:61
#: src/pages/users/UserViewPage.ts:101 #: src/pages/users/UserViewPage.ts:99
msgid "Email" msgid "Email"
msgstr "Email" msgstr "Email"
@ -1129,11 +1129,11 @@ msgstr "Error when creating credential: {err}"
msgid "Error when validating assertion on server: {err}" msgid "Error when validating assertion on server: {err}"
msgstr "Error when validating assertion on server: {err}" msgstr "Error when validating assertion on server: {err}"
#: src/pages/user-settings/UserSettingsPage.ts:61 #: src/pages/user-settings/UserSettingsPage.ts:62
msgid "Error: unsupported source settings: {0}" msgid "Error: unsupported source settings: {0}"
msgstr "Error: unsupported source settings: {0}" msgstr "Error: unsupported source settings: {0}"
#: src/pages/user-settings/UserSettingsPage.ts:52 #: src/pages/user-settings/UserSettingsPage.ts:53
msgid "Error: unsupported stage settings: {0}" msgid "Error: unsupported stage settings: {0}"
msgstr "Error: unsupported stage settings: {0}" msgstr "Error: unsupported stage settings: {0}"
@ -1153,11 +1153,11 @@ msgstr "Evaluate policies during the Flow planning process. Disable this for inp
msgid "Event Log" msgid "Event Log"
msgstr "Event Log" msgstr "Event Log"
#: src/pages/events/EventInfoPage.ts:45 #: src/pages/events/EventInfoPage.ts:42
msgid "Event info" msgid "Event info"
msgstr "Event info" msgstr "Event info"
#: src/pages/events/EventInfoPage.ts:38 #: src/pages/events/EventInfoPage.ts:37
msgid "Event {0}" msgid "Event {0}"
msgstr "Event {0}" msgstr "Event {0}"
@ -1171,11 +1171,11 @@ msgid "Exception"
msgstr "Exception" msgstr "Exception"
#: src/pages/flows/FlowListPage.ts:98 #: src/pages/flows/FlowListPage.ts:98
#: src/pages/flows/FlowViewPage.ts:87 #: src/pages/flows/FlowViewPage.ts:83
msgid "Execute" msgid "Execute"
msgstr "Execute" msgstr "Execute"
#: src/pages/flows/FlowViewPage.ts:73 #: src/pages/flows/FlowViewPage.ts:69
msgid "Execute flow" msgid "Execute flow"
msgstr "Execute flow" msgstr "Execute flow"
@ -1218,7 +1218,7 @@ msgstr "Expiry"
msgid "Expiry date" msgid "Expiry date"
msgstr "Expiry date" msgstr "Expiry date"
#: src/pages/users/UserViewPage.ts:189 #: src/pages/users/UserViewPage.ts:187
msgid "Explicit Consent" msgid "Explicit Consent"
msgstr "Explicit Consent" msgstr "Explicit Consent"
@ -1245,7 +1245,7 @@ msgstr "Expression using Python."
msgid "External Applications which use authentik as Identity-Provider, utilizing protocols like OAuth2 and SAML." msgid "External Applications which use authentik as Identity-Provider, utilizing protocols like OAuth2 and SAML."
msgstr "External Applications which use authentik as Identity-Provider, utilizing protocols like OAuth2 and SAML." msgstr "External Applications which use authentik as Identity-Provider, utilizing protocols like OAuth2 and SAML."
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:101 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:90
msgid "External Host" msgid "External Host"
msgstr "External Host" msgstr "External Host"
@ -1311,7 +1311,7 @@ msgstr "Fields a user can identify themselves with."
msgid "Flow" msgid "Flow"
msgstr "Flow" msgstr "Flow"
#: src/pages/flows/FlowViewPage.ts:57 #: src/pages/flows/FlowViewPage.ts:53
msgid "Flow Overview" msgid "Flow Overview"
msgstr "Flow Overview" msgstr "Flow Overview"
@ -1543,7 +1543,7 @@ msgstr "Include User claims from scopes in the id_token, for applications that d
msgid "Include claims in id_token" msgid "Include claims in id_token"
msgstr "Include claims in id_token" msgstr "Include claims in id_token"
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:93 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:82
msgid "Internal Host" msgid "Internal Host"
msgstr "Internal Host" msgstr "Internal Host"
@ -1577,9 +1577,9 @@ msgid "Is superuser"
msgstr "Is superuser" msgstr "Is superuser"
#: src/pages/providers/saml/SAMLProviderForm.ts:88 #: src/pages/providers/saml/SAMLProviderForm.ts:88
#: src/pages/providers/saml/SAMLProviderViewPage.ts:111 #: src/pages/providers/saml/SAMLProviderViewPage.ts:100
#: src/pages/sources/saml/SAMLSourceForm.ts:93 #: src/pages/sources/saml/SAMLSourceForm.ts:93
#: src/pages/sources/saml/SAMLSourceViewPage.ts:101 #: src/pages/sources/saml/SAMLSourceViewPage.ts:90
msgid "Issuer" msgid "Issuer"
msgstr "Issuer" msgstr "Issuer"
@ -1603,10 +1603,6 @@ msgstr "Keypair which is used to sign outgoing requests. Leave empty to disable
msgid "Kubeconfig" msgid "Kubeconfig"
msgstr "Kubeconfig" msgstr "Kubeconfig"
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:44
msgid "LDAP Source {0}"
msgstr "LDAP Source {0}"
#: src/pages/admin-overview/cards/LDAPSyncStatusCardContainer.ts:24 #: src/pages/admin-overview/cards/LDAPSyncStatusCardContainer.ts:24
msgid "LDAP Sync status {0}" msgid "LDAP Sync status {0}"
msgstr "LDAP Sync status {0}" msgstr "LDAP Sync status {0}"
@ -1621,7 +1617,7 @@ msgid "Label shown next to/above the prompt."
msgstr "Label shown next to/above the prompt." msgstr "Label shown next to/above the prompt."
#: src/pages/users/UserListPage.ts:51 #: src/pages/users/UserListPage.ts:51
#: src/pages/users/UserViewPage.ts:109 #: src/pages/users/UserViewPage.ts:107
msgid "Last login" msgid "Last login"
msgstr "Last login" msgstr "Last login"
@ -1634,7 +1630,7 @@ msgid "Last seen: {0}"
msgstr "Last seen: {0}" msgstr "Last seen: {0}"
#: src/pages/admin-overview/cards/LDAPSyncStatusCard.ts:25 #: src/pages/admin-overview/cards/LDAPSyncStatusCard.ts:25
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:154 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:143
msgid "Last sync: {0}" msgid "Last sync: {0}"
msgstr "Last sync: {0}" msgstr "Last sync: {0}"
@ -1666,7 +1662,7 @@ msgstr "Library"
#: src/flows/stages/identification/IdentificationStage.ts:134 #: src/flows/stages/identification/IdentificationStage.ts:134
#: src/flows/stages/password/PasswordStage.ts:31 #: src/flows/stages/password/PasswordStage.ts:31
#: src/flows/stages/prompt/PromptStage.ts:126 #: src/flows/stages/prompt/PromptStage.ts:126
#: src/pages/applications/ApplicationViewPage.ts:55 #: src/pages/applications/ApplicationViewPage.ts:57
#: src/pages/user-settings/UserDetailsPage.ts:38 #: src/pages/user-settings/UserDetailsPage.ts:38
#: src/utils.ts:40 #: src/utils.ts:40
msgid "Loading" msgid "Loading"
@ -1674,7 +1670,6 @@ msgstr "Loading"
#: src/elements/Spinner.ts:29 #: src/elements/Spinner.ts:29
#: src/pages/applications/ApplicationForm.ts:106 #: src/pages/applications/ApplicationForm.ts:106
#: src/pages/applications/ApplicationViewPage.ts:49
#: src/pages/events/RuleForm.ts:74 #: src/pages/events/RuleForm.ts:74
#: src/pages/events/RuleForm.ts:90 #: src/pages/events/RuleForm.ts:90
#: src/pages/flows/StageBindingForm.ts:89 #: src/pages/flows/StageBindingForm.ts:89
@ -1746,12 +1741,12 @@ msgstr "Login to continue to {0}."
msgid "Logins" msgid "Logins"
msgstr "Logins" msgstr "Logins"
#: src/pages/admin-overview/AdminOverviewPage.ts:44 #: src/pages/admin-overview/AdminOverviewPage.ts:39
#: src/pages/applications/ApplicationViewPage.ts:71 #: src/pages/applications/ApplicationViewPage.ts:65
msgid "Logins over the last 24 hours" msgid "Logins over the last 24 hours"
msgstr "Logins over the last 24 hours" msgstr "Logins over the last 24 hours"
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:197 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:186
msgid "Logout URL" msgid "Logout URL"
msgstr "Logout URL" msgstr "Logout URL"
@ -1794,10 +1789,10 @@ msgstr "Members"
msgid "Messages" msgid "Messages"
msgstr "Messages" msgstr "Messages"
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:158 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:147
#: src/pages/providers/saml/SAMLProviderImportForm.ts:61 #: src/pages/providers/saml/SAMLProviderImportForm.ts:61
#: src/pages/providers/saml/SAMLProviderViewPage.ts:152 #: src/pages/providers/saml/SAMLProviderViewPage.ts:141
#: src/pages/sources/saml/SAMLSourceViewPage.ts:141 #: src/pages/sources/saml/SAMLSourceViewPage.ts:130
msgid "Metadata" msgid "Metadata"
msgstr "Metadata" msgstr "Metadata"
@ -1864,19 +1859,19 @@ msgstr "Monitor"
#: src/pages/property-mappings/PropertyMappingScopeForm.ts:52 #: src/pages/property-mappings/PropertyMappingScopeForm.ts:52
#: src/pages/providers/ProviderListPage.ts:52 #: src/pages/providers/ProviderListPage.ts:52
#: src/pages/providers/oauth2/OAuth2ProviderForm.ts:56 #: src/pages/providers/oauth2/OAuth2ProviderForm.ts:56
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:84 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:73
#: src/pages/providers/proxy/ProxyProviderForm.ts:74 #: src/pages/providers/proxy/ProxyProviderForm.ts:74
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:75 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:64
#: src/pages/providers/saml/SAMLProviderForm.ts:53 #: src/pages/providers/saml/SAMLProviderForm.ts:53
#: src/pages/providers/saml/SAMLProviderImportForm.ts:38 #: src/pages/providers/saml/SAMLProviderImportForm.ts:38
#: src/pages/providers/saml/SAMLProviderViewPage.ts:77 #: src/pages/providers/saml/SAMLProviderViewPage.ts:66
#: src/pages/sources/SourcesListPage.ts:51 #: src/pages/sources/SourcesListPage.ts:51
#: src/pages/sources/ldap/LDAPSourceForm.ts:54 #: src/pages/sources/ldap/LDAPSourceForm.ts:54
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:75 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:64
#: src/pages/sources/oauth/OAuthSourceForm.ts:98 #: src/pages/sources/oauth/OAuthSourceForm.ts:98
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:74 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:63
#: src/pages/sources/saml/SAMLSourceForm.ts:54 #: src/pages/sources/saml/SAMLSourceForm.ts:54
#: src/pages/sources/saml/SAMLSourceViewPage.ts:77 #: src/pages/sources/saml/SAMLSourceViewPage.ts:66
#: src/pages/stages/StageListPage.ts:65 #: src/pages/stages/StageListPage.ts:65
#: src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts:57 #: src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts:57
#: src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts:56 #: src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts:56
@ -1898,7 +1893,7 @@ msgstr "Monitor"
#: src/pages/user-settings/UserDetailsPage.ts:64 #: src/pages/user-settings/UserDetailsPage.ts:64
#: src/pages/users/UserForm.ts:54 #: src/pages/users/UserForm.ts:54
#: src/pages/users/UserListPage.ts:49 #: src/pages/users/UserListPage.ts:49
#: src/pages/users/UserViewPage.ts:93 #: src/pages/users/UserViewPage.ts:91
msgid "Name" msgid "Name"
msgstr "Name" msgstr "Name"
@ -1928,14 +1923,14 @@ msgstr "New version available!"
#: src/pages/outposts/ServiceConnectionListPage.ts:64 #: src/pages/outposts/ServiceConnectionListPage.ts:64
#: src/pages/policies/BoundPoliciesList.ts:118 #: src/pages/policies/BoundPoliciesList.ts:118
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:119 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:108
#: src/pages/tokens/TokenListPage.ts:56 #: src/pages/tokens/TokenListPage.ts:56
#: src/pages/user-settings/tokens/UserTokenList.ts:83 #: src/pages/user-settings/tokens/UserTokenList.ts:83
#: src/pages/users/UserListPage.ts:62 #: src/pages/users/UserListPage.ts:62
msgid "No" msgid "No"
msgstr "No" msgstr "No"
#: src/pages/LibraryPage.ts:111 #: src/pages/LibraryPage.ts:112
msgid "No Applications available." msgid "No Applications available."
msgstr "No Applications available." msgstr "No Applications available."
@ -2007,7 +2002,7 @@ msgstr "Not connected."
msgid "Not found" msgid "Not found"
msgstr "Not found" msgstr "Not found"
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:165 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:154
msgid "Not synced yet." msgid "Not synced yet."
msgstr "Not synced yet." msgstr "Not synced yet."
@ -2054,22 +2049,14 @@ msgstr "Notifications Transport"
msgid "Number" msgid "Number"
msgstr "Number" msgstr "Number"
#: src/pages/users/UserViewPage.ts:197 #: src/pages/users/UserViewPage.ts:195
msgid "OAuth Authorization Codes" msgid "OAuth Authorization Codes"
msgstr "OAuth Authorization Codes" msgstr "OAuth Authorization Codes"
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:46 #: src/pages/users/UserViewPage.ts:203
msgid "OAuth Provider {0}"
msgstr "OAuth Provider {0}"
#: src/pages/users/UserViewPage.ts:205
msgid "OAuth Refresh Codes" msgid "OAuth Refresh Codes"
msgstr "OAuth Refresh Codes" msgstr "OAuth Refresh Codes"
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:43
msgid "OAuth Source {0}"
msgstr "OAuth Source {0}"
#: src/pages/events/EventInfo.ts:147 #: src/pages/events/EventInfo.ts:147
#: src/pages/events/EventInfo.ts:166 #: src/pages/events/EventInfo.ts:166
msgid "Object" msgid "Object"
@ -2104,11 +2091,11 @@ msgstr "Only send notification once, for example when sending a webhook into a c
msgid "Open application" msgid "Open application"
msgstr "Open application" msgstr "Open application"
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:172 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:161
msgid "OpenID Configuration Issuer" msgid "OpenID Configuration Issuer"
msgstr "OpenID Configuration Issuer" msgstr "OpenID Configuration Issuer"
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:166 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:155
msgid "OpenID Configuration URL" msgid "OpenID Configuration URL"
msgstr "OpenID Configuration URL" msgstr "OpenID Configuration URL"
@ -2179,14 +2166,14 @@ msgid "Outposts are deployments of authentik components to support different env
msgstr "Outposts are deployments of authentik components to support different environments and protocols, like reverse proxies." msgstr "Outposts are deployments of authentik components to support different environments and protocols, like reverse proxies."
#: src/interfaces/AdminInterface.ts:17 #: src/interfaces/AdminInterface.ts:17
#: src/pages/applications/ApplicationViewPage.ts:68 #: src/pages/applications/ApplicationViewPage.ts:62
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:76 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:65
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:67 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:56
#: src/pages/providers/saml/SAMLProviderViewPage.ts:69 #: src/pages/providers/saml/SAMLProviderViewPage.ts:58
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:67 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:56
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:66 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:55
#: src/pages/sources/saml/SAMLSourceViewPage.ts:69 #: src/pages/sources/saml/SAMLSourceViewPage.ts:58
#: src/pages/users/UserViewPage.ts:75 #: src/pages/users/UserViewPage.ts:73
msgid "Overview" msgid "Overview"
msgstr "Overview" msgstr "Overview"
@ -2239,7 +2226,7 @@ msgid "Please enter your password"
msgstr "Please enter your password" msgstr "Please enter your password"
#: src/interfaces/AdminInterface.ts:26 #: src/interfaces/AdminInterface.ts:26
#: src/pages/admin-overview/AdminOverviewPage.ts:52 #: src/pages/admin-overview/AdminOverviewPage.ts:47
#: src/pages/flows/FlowListPage.ts:50 #: src/pages/flows/FlowListPage.ts:50
#: src/pages/policies/PolicyListPage.ts:38 #: src/pages/policies/PolicyListPage.ts:38
msgid "Policies" msgid "Policies"
@ -2259,10 +2246,10 @@ msgstr "Policy"
msgid "Policy / User / Group" msgid "Policy / User / Group"
msgstr "Policy / User / Group" msgstr "Policy / User / Group"
#: src/pages/applications/ApplicationViewPage.ts:133 #: src/pages/applications/ApplicationViewPage.ts:127
#: src/pages/flows/FlowViewPage.ts:105 #: src/pages/flows/FlowViewPage.ts:101
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:154 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:143
#: src/pages/sources/saml/SAMLSourceViewPage.ts:161 #: src/pages/sources/saml/SAMLSourceViewPage.ts:150
msgid "Policy Bindings" msgid "Policy Bindings"
msgstr "Policy Bindings" msgstr "Policy Bindings"
@ -2378,13 +2365,13 @@ msgstr "Provide support for protocols like SAML and OAuth to assigned applicatio
#: src/elements/oauth/UserRefreshList.ts:29 #: src/elements/oauth/UserRefreshList.ts:29
#: src/pages/applications/ApplicationForm.ts:100 #: src/pages/applications/ApplicationForm.ts:100
#: src/pages/applications/ApplicationListPage.ts:59 #: src/pages/applications/ApplicationListPage.ts:59
#: src/pages/applications/ApplicationViewPage.ts:85 #: src/pages/applications/ApplicationViewPage.ts:79
#: src/pages/providers/ProviderListPage.ts:34 #: src/pages/providers/ProviderListPage.ts:34
msgid "Provider" msgid "Provider"
msgstr "Provider" msgstr "Provider"
#: src/pages/applications/ApplicationListPage.ts:60 #: src/pages/applications/ApplicationListPage.ts:60
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:82 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:71
msgid "Provider Type" msgid "Provider Type"
msgstr "Provider Type" msgstr "Provider Type"
@ -2393,7 +2380,7 @@ msgid "Provider type"
msgstr "Provider type" msgstr "Provider type"
#: src/interfaces/AdminInterface.ts:20 #: src/interfaces/AdminInterface.ts:20
#: src/pages/admin-overview/AdminOverviewPage.ts:50 #: src/pages/admin-overview/AdminOverviewPage.ts:45
#: src/pages/outposts/OutpostForm.ts:82 #: src/pages/outposts/OutpostForm.ts:82
#: src/pages/outposts/OutpostListPage.ts:50 #: src/pages/outposts/OutpostListPage.ts:50
msgid "Providers" msgid "Providers"
@ -2403,10 +2390,6 @@ msgstr "Providers"
msgid "Proxy" msgid "Proxy"
msgstr "Proxy" msgstr "Proxy"
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:43
msgid "Proxy Provider {0}"
msgstr "Proxy Provider {0}"
#: src/pages/providers/oauth2/OAuth2ProviderForm.ts:101 #: src/pages/providers/oauth2/OAuth2ProviderForm.ts:101
msgid "Public" msgid "Public"
msgstr "Public" msgstr "Public"
@ -2472,7 +2455,7 @@ msgid "Redirect"
msgstr "Redirect" msgstr "Redirect"
#: src/pages/providers/oauth2/OAuth2ProviderForm.ts:119 #: src/pages/providers/oauth2/OAuth2ProviderForm.ts:119
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:118 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:107
msgid "Redirect URIs" msgid "Redirect URIs"
msgstr "Redirect URIs" msgstr "Redirect URIs"
@ -2496,8 +2479,8 @@ msgstr "Register device"
msgid "Regular expressions for which authentication is not required. Each new line is interpreted as a new Regular Expression." msgid "Regular expressions for which authentication is not required. Each new line is interpreted as a new Regular Expression."
msgstr "Regular expressions for which authentication is not required. Each new line is interpreted as a new Regular Expression." msgstr "Regular expressions for which authentication is not required. Each new line is interpreted as a new Regular Expression."
#: src/pages/applications/ApplicationViewPage.ts:79 #: src/pages/applications/ApplicationViewPage.ts:73
#: src/pages/flows/FlowViewPage.ts:68 #: src/pages/flows/FlowViewPage.ts:64
msgid "Related" msgid "Related"
msgstr "Related" msgstr "Related"
@ -2528,7 +2511,7 @@ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only." msgstr "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
#: src/pages/users/UserListPage.ts:132 #: src/pages/users/UserListPage.ts:132
#: src/pages/users/UserViewPage.ts:166 #: src/pages/users/UserViewPage.ts:164
msgid "Reset Password" msgid "Reset Password"
msgstr "Reset Password" msgstr "Reset Password"
@ -2541,7 +2524,7 @@ msgstr "Resources"
msgid "Result" msgid "Result"
msgstr "Result" msgstr "Result"
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:177 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:166
#: src/pages/system-tasks/SystemTaskListPage.ts:108 #: src/pages/system-tasks/SystemTaskListPage.ts:108
msgid "Retry Task" msgid "Retry Task"
msgstr "Retry Task" msgstr "Retry Task"
@ -2567,14 +2550,6 @@ msgstr "Return to device picker"
msgid "SAML Attribute Name" msgid "SAML Attribute Name"
msgstr "SAML Attribute Name" msgstr "SAML Attribute Name"
#: src/pages/providers/saml/SAMLProviderViewPage.ts:45
msgid "SAML Provider {0}"
msgstr "SAML Provider {0}"
#: src/pages/sources/saml/SAMLSourceViewPage.ts:46
msgid "SAML Source {0}"
msgstr "SAML Source {0}"
#: src/pages/providers/saml/SAMLProviderForm.ts:218 #: src/pages/providers/saml/SAMLProviderForm.ts:218
#: src/pages/sources/saml/SAMLSourceForm.ts:181 #: src/pages/sources/saml/SAMLSourceForm.ts:181
msgid "SHA1" msgid "SHA1"
@ -2596,7 +2571,7 @@ msgid "SHA512"
msgstr "SHA512" msgstr "SHA512"
#: src/pages/sources/saml/SAMLSourceForm.ts:87 #: src/pages/sources/saml/SAMLSourceForm.ts:87
#: src/pages/sources/saml/SAMLSourceViewPage.ts:93 #: src/pages/sources/saml/SAMLSourceViewPage.ts:82
msgid "SLO URL" msgid "SLO URL"
msgstr "SLO URL" msgstr "SLO URL"
@ -2617,7 +2592,7 @@ msgid "SMTP Username"
msgstr "SMTP Username" msgstr "SMTP Username"
#: src/pages/sources/saml/SAMLSourceForm.ts:80 #: src/pages/sources/saml/SAMLSourceForm.ts:80
#: src/pages/sources/saml/SAMLSourceViewPage.ts:85 #: src/pages/sources/saml/SAMLSourceViewPage.ts:74
msgid "SSO URL" msgid "SSO URL"
msgstr "SSO URL" msgstr "SSO URL"
@ -2707,7 +2682,7 @@ msgid "Separator: Static Separator Line"
msgstr "Separator: Static Separator Line" msgstr "Separator: Static Separator Line"
#: src/pages/sources/ldap/LDAPSourceForm.ts:104 #: src/pages/sources/ldap/LDAPSourceForm.ts:104
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:83 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:72
msgid "Server URI" msgid "Server URI"
msgstr "Server URI" msgstr "Server URI"
@ -2828,7 +2803,7 @@ msgstr "Sources of identities, which can either be synced into authentik's datab
msgid "Stage" msgid "Stage"
msgstr "Stage" msgstr "Stage"
#: src/pages/flows/FlowViewPage.ts:97 #: src/pages/flows/FlowViewPage.ts:93
msgid "Stage Bindings" msgid "Stage Bindings"
msgstr "Stage Bindings" msgstr "Stage Bindings"
@ -3059,7 +3034,7 @@ msgid "Successfully generated certificate-key pair."
msgstr "Successfully generated certificate-key pair." msgstr "Successfully generated certificate-key pair."
#: src/pages/users/UserListPage.ts:127 #: src/pages/users/UserListPage.ts:127
#: src/pages/users/UserViewPage.ts:161 #: src/pages/users/UserViewPage.ts:159
msgid "Successfully generated recovery link" msgid "Successfully generated recovery link"
msgstr "Successfully generated recovery link" msgstr "Successfully generated recovery link"
@ -3190,7 +3165,7 @@ msgstr "Successfully updated user."
msgid "Successfully updated {0} {1}" msgid "Successfully updated {0} {1}"
msgstr "Successfully updated {0} {1}" msgstr "Successfully updated {0} {1}"
#: src/pages/users/UserViewPage.ts:127 #: src/pages/users/UserViewPage.ts:125
msgid "Superuser" msgid "Superuser"
msgstr "Superuser" msgstr "Superuser"
@ -3202,7 +3177,7 @@ msgstr "Superuser privileges?"
msgid "Symbol charset" msgid "Symbol charset"
msgstr "Symbol charset" msgstr "Symbol charset"
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:135 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:124
msgid "Sync" msgid "Sync"
msgstr "Sync" msgstr "Sync"
@ -3214,7 +3189,7 @@ msgstr "Sync failed."
msgid "Sync groups" msgid "Sync groups"
msgstr "Sync groups" msgstr "Sync groups"
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:140 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:129
msgid "Sync status" msgid "Sync status"
msgstr "Sync status" msgstr "Sync status"
@ -3222,7 +3197,7 @@ msgstr "Sync status"
msgid "Sync users" msgid "Sync users"
msgstr "Sync users" msgstr "Sync users"
#: src/pages/admin-overview/AdminOverviewPage.ts:29 #: src/pages/admin-overview/AdminOverviewPage.ts:35
msgid "System Overview" msgid "System Overview"
msgstr "System Overview" msgstr "System Overview"
@ -3247,11 +3222,11 @@ msgstr "TOTP Authenticators"
msgid "Target" msgid "Target"
msgstr "Target" msgstr "Target"
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:151 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:140
msgid "Task finished with errors" msgid "Task finished with errors"
msgstr "Task finished with errors" msgstr "Task finished with errors"
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:148 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:137
msgid "Task finished with warnings" msgid "Task finished with warnings"
msgstr "Task finished with warnings" msgstr "Task finished with warnings"
@ -3299,16 +3274,16 @@ msgstr ""
msgid "These policies control when this stage will be applied to the flow." msgid "These policies control when this stage will be applied to the flow."
msgstr "These policies control when this stage will be applied to the flow." msgstr "These policies control when this stage will be applied to the flow."
#: src/pages/applications/ApplicationViewPage.ts:135 #: src/pages/applications/ApplicationViewPage.ts:129
msgid "These policies control which users can access this application." msgid "These policies control which users can access this application."
msgstr "These policies control which users can access this application." msgstr "These policies control which users can access this application."
#: src/pages/flows/FlowViewPage.ts:107 #: src/pages/flows/FlowViewPage.ts:103
msgid "These policies control which users can access this flow." msgid "These policies control which users can access this flow."
msgstr "These policies control which users can access this flow." msgstr "These policies control which users can access this flow."
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:156 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:145
#: src/pages/sources/saml/SAMLSourceViewPage.ts:163 #: src/pages/sources/saml/SAMLSourceViewPage.ts:152
msgid "These policies control which users can access this source." msgid "These policies control which users can access this source."
msgstr "These policies control which users can access this source." msgstr "These policies control which users can access this source."
@ -3351,8 +3326,8 @@ msgstr "Title"
msgid "Token" msgid "Token"
msgstr "Token" msgstr "Token"
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:185 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:174
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:114 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:103
msgid "Token URL" msgid "Token URL"
msgstr "Token URL" msgstr "Token URL"
@ -3371,7 +3346,7 @@ msgstr "Token validity"
#: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts:62 #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts:62
#: src/interfaces/AdminInterface.ts:32 #: src/interfaces/AdminInterface.ts:32
#: src/pages/tokens/TokenListPage.ts:26 #: src/pages/tokens/TokenListPage.ts:26
#: src/pages/user-settings/UserSettingsPage.ts:80 #: src/pages/user-settings/UserSettingsPage.ts:77
msgid "Tokens" msgid "Tokens"
msgstr "Tokens" msgstr "Tokens"
@ -3452,7 +3427,7 @@ msgid "Up-to-date!"
msgstr "Up-to-date!" msgstr "Up-to-date!"
#: src/pages/applications/ApplicationListPage.ts:82 #: src/pages/applications/ApplicationListPage.ts:82
#: src/pages/applications/ApplicationViewPage.ts:104 #: src/pages/applications/ApplicationViewPage.ts:98
#: src/pages/crypto/CertificateKeyPairListPage.ts:66 #: src/pages/crypto/CertificateKeyPairListPage.ts:66
#: src/pages/events/RuleListPage.ts:62 #: src/pages/events/RuleListPage.ts:62
#: src/pages/events/TransportListPage.ts:66 #: src/pages/events/TransportListPage.ts:66
@ -3469,13 +3444,13 @@ msgstr "Up-to-date!"
#: src/pages/policies/PolicyListPage.ts:77 #: src/pages/policies/PolicyListPage.ts:77
#: src/pages/property-mappings/PropertyMappingListPage.ts:66 #: src/pages/property-mappings/PropertyMappingListPage.ts:66
#: src/pages/providers/ProviderListPage.ts:73 #: src/pages/providers/ProviderListPage.ts:73
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:129 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:118
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:128 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:117
#: src/pages/providers/saml/SAMLProviderViewPage.ts:122 #: src/pages/providers/saml/SAMLProviderViewPage.ts:111
#: src/pages/sources/SourcesListPage.ts:69 #: src/pages/sources/SourcesListPage.ts:69
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:106 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:95
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:125 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:114
#: src/pages/sources/saml/SAMLSourceViewPage.ts:112 #: src/pages/sources/saml/SAMLSourceViewPage.ts:101
#: src/pages/stages/StageListPage.ts:85 #: src/pages/stages/StageListPage.ts:85
#: src/pages/stages/prompt/PromptListPage.ts:67 #: src/pages/stages/prompt/PromptListPage.ts:67
#: src/pages/user-settings/UserDetailsPage.ts:81 #: src/pages/user-settings/UserDetailsPage.ts:81
@ -3485,12 +3460,12 @@ msgstr "Up-to-date!"
#: src/pages/user-settings/tokens/UserTokenList.ts:105 #: src/pages/user-settings/tokens/UserTokenList.ts:105
#: src/pages/users/UserActiveForm.ts:66 #: src/pages/users/UserActiveForm.ts:66
#: src/pages/users/UserListPage.ts:67 #: src/pages/users/UserListPage.ts:67
#: src/pages/users/UserViewPage.ts:140 #: src/pages/users/UserViewPage.ts:138
msgid "Update" msgid "Update"
msgstr "Update" msgstr "Update"
#: src/pages/applications/ApplicationListPage.ts:85 #: src/pages/applications/ApplicationListPage.ts:85
#: src/pages/applications/ApplicationViewPage.ts:107 #: src/pages/applications/ApplicationViewPage.ts:101
msgid "Update Application" msgid "Update Application"
msgstr "Update Application" msgstr "Update Application"
@ -3511,7 +3486,7 @@ msgstr "Update Flow"
msgid "Update Group" msgid "Update Group"
msgstr "Update Group" msgstr "Update Group"
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:109 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:98
msgid "Update LDAP Source" msgid "Update LDAP Source"
msgstr "Update LDAP Source" msgstr "Update LDAP Source"
@ -3523,11 +3498,11 @@ msgstr "Update Notification Rule"
msgid "Update Notification Transport" msgid "Update Notification Transport"
msgstr "Update Notification Transport" msgstr "Update Notification Transport"
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:128 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:117
msgid "Update OAuth Source" msgid "Update OAuth Source"
msgstr "Update OAuth Source" msgstr "Update OAuth Source"
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:132 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:121
msgid "Update OAuth2 Provider" msgid "Update OAuth2 Provider"
msgstr "Update OAuth2 Provider" msgstr "Update OAuth2 Provider"
@ -3539,15 +3514,15 @@ msgstr "Update Outpost"
msgid "Update Prompt" msgid "Update Prompt"
msgstr "Update Prompt" msgstr "Update Prompt"
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:131 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:120
msgid "Update Proxy Provider" msgid "Update Proxy Provider"
msgstr "Update Proxy Provider" msgstr "Update Proxy Provider"
#: src/pages/providers/saml/SAMLProviderViewPage.ts:125 #: src/pages/providers/saml/SAMLProviderViewPage.ts:114
msgid "Update SAML Provider" msgid "Update SAML Provider"
msgstr "Update SAML Provider" msgstr "Update SAML Provider"
#: src/pages/sources/saml/SAMLSourceViewPage.ts:115 #: src/pages/sources/saml/SAMLSourceViewPage.ts:104
msgid "Update SAML Source" msgid "Update SAML Source"
msgstr "Update SAML Source" msgstr "Update SAML Source"
@ -3561,7 +3536,7 @@ msgstr "Update Token"
#: src/pages/policies/BoundPoliciesList.ts:102 #: src/pages/policies/BoundPoliciesList.ts:102
#: src/pages/users/UserListPage.ts:70 #: src/pages/users/UserListPage.ts:70
#: src/pages/users/UserViewPage.ts:143 #: src/pages/users/UserViewPage.ts:141
msgid "Update User" msgid "Update User"
msgstr "Update User" msgstr "Update User"
@ -3615,7 +3590,7 @@ msgstr "Use global settings"
msgid "User" msgid "User"
msgstr "User" msgstr "User"
#: src/pages/users/UserViewPage.ts:79 #: src/pages/users/UserViewPage.ts:77
msgid "User Info" msgid "User Info"
msgstr "User Info" msgstr "User Info"
@ -3623,11 +3598,11 @@ msgstr "User Info"
msgid "User Property Mappings" msgid "User Property Mappings"
msgstr "User Property Mappings" msgstr "User Property Mappings"
#: src/pages/user-settings/UserSettingsPage.ts:71 #: src/pages/user-settings/UserSettingsPage.ts:70
msgid "User Settings" msgid "User Settings"
msgstr "User Settings" msgstr "User Settings"
#: src/pages/user-settings/UserSettingsPage.ts:77 #: src/pages/user-settings/UserSettingsPage.ts:74
msgid "User details" msgid "User details"
msgstr "User details" msgstr "User details"
@ -3645,7 +3620,7 @@ msgid "User password writeback"
msgstr "User password writeback" msgstr "User password writeback"
#: src/pages/policies/BoundPoliciesList.ts:52 #: src/pages/policies/BoundPoliciesList.ts:52
#: src/pages/users/UserViewPage.ts:50 #: src/pages/users/UserViewPage.ts:62
msgid "User {0}" msgid "User {0}"
msgstr "User {0}" msgstr "User {0}"
@ -3666,14 +3641,14 @@ msgstr "User/Group Attribute used for the password part of the HTTP-Basic Header
msgid "User/Group Attribute used for the user part of the HTTP-Basic Header. If not set, the user's Email address is used." msgid "User/Group Attribute used for the user part of the HTTP-Basic Header. If not set, the user's Email address is used."
msgstr "User/Group Attribute used for the user part of the HTTP-Basic Header. If not set, the user's Email address is used." msgstr "User/Group Attribute used for the user part of the HTTP-Basic Header. If not set, the user's Email address is used."
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:191 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:180
msgid "Userinfo URL" msgid "Userinfo URL"
msgstr "Userinfo URL" msgstr "Userinfo URL"
#: src/pages/stages/identification/IdentificationStageForm.ts:79 #: src/pages/stages/identification/IdentificationStageForm.ts:79
#: src/pages/user-settings/UserDetailsPage.ts:57 #: src/pages/user-settings/UserDetailsPage.ts:57
#: src/pages/users/UserForm.ts:47 #: src/pages/users/UserForm.ts:47
#: src/pages/users/UserViewPage.ts:85 #: src/pages/users/UserViewPage.ts:83
msgid "Username" msgid "Username"
msgstr "Username" msgstr "Username"
@ -3682,7 +3657,7 @@ msgid "Username: Same as Text input, but checks for and prevents duplicate usern
msgstr "Username: Same as Text input, but checks for and prevents duplicate usernames." msgstr "Username: Same as Text input, but checks for and prevents duplicate usernames."
#: src/interfaces/AdminInterface.ts:32 #: src/interfaces/AdminInterface.ts:32
#: src/pages/admin-overview/AdminOverviewPage.ts:54 #: src/pages/admin-overview/AdminOverviewPage.ts:49
#: src/pages/users/UserListPage.ts:31 #: src/pages/users/UserListPage.ts:31
msgid "Users" msgid "Users"
msgstr "Users" msgstr "Users"
@ -3723,7 +3698,7 @@ msgstr "Verification Certificate"
msgid "Verify the user's email address by sending them a one-time-link. Can also be used for recovery to verify the user's authenticity." msgid "Verify the user's email address by sending them a one-time-link. Can also be used for recovery to verify the user's authenticity."
msgstr "Verify the user's email address by sending them a one-time-link. Can also be used for recovery to verify the user's authenticity." msgstr "Verify the user's email address by sending them a one-time-link. Can also be used for recovery to verify the user's authenticity."
#: src/pages/admin-overview/AdminOverviewPage.ts:56 #: src/pages/admin-overview/AdminOverviewPage.ts:51
msgid "Version" msgid "Version"
msgstr "Version" msgstr "Version"
@ -3822,7 +3797,7 @@ msgstr "Whoops!"
msgid "Windows" msgid "Windows"
msgstr "Windows" msgstr "Windows"
#: src/pages/admin-overview/AdminOverviewPage.ts:58 #: src/pages/admin-overview/AdminOverviewPage.ts:53
msgid "Workers" msgid "Workers"
msgstr "Workers" msgstr "Workers"
@ -3843,7 +3818,7 @@ msgstr "X509 Subject"
#: src/pages/outposts/ServiceConnectionListPage.ts:64 #: src/pages/outposts/ServiceConnectionListPage.ts:64
#: src/pages/policies/BoundPoliciesList.ts:118 #: src/pages/policies/BoundPoliciesList.ts:118
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:116 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:105
#: src/pages/tokens/TokenListPage.ts:56 #: src/pages/tokens/TokenListPage.ts:56
#: src/pages/user-settings/tokens/UserTokenList.ts:83 #: src/pages/user-settings/tokens/UserTokenList.ts:83
#: src/pages/users/UserListPage.ts:62 #: src/pages/users/UserListPage.ts:62
@ -3868,8 +3843,6 @@ msgstr "no tabs defined"
#: src/elements/Expand.ts:28 #: src/elements/Expand.ts:28
#: src/elements/Expand.ts:28 #: src/elements/Expand.ts:28
#: src/elements/Page.ts:11
#: src/elements/table/TablePage.ts:28
msgid "{0}" msgid "{0}"
msgstr "{0}" msgstr "{0}"
@ -3900,8 +3873,3 @@ msgstr "{0}, should be {1}"
#: src/elements/forms/ConfirmationForm.ts:45 #: src/elements/forms/ConfirmationForm.ts:45
msgid "{0}: {1}" msgid "{0}: {1}"
msgstr "{0}: {1}" msgstr "{0}: {1}"
#: src/elements/Page.ts:13
#: src/elements/table/TablePage.ts:30
msgid "{description}"
msgstr "{description}"

View File

@ -30,7 +30,7 @@ msgid "A policy used for testing. Always returns the same result as specified be
msgstr "" msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts:82 #: src/pages/providers/saml/SAMLProviderForm.ts:82
#: src/pages/providers/saml/SAMLProviderViewPage.ts:95 #: src/pages/providers/saml/SAMLProviderViewPage.ts:84
msgid "ACS URL" msgid "ACS URL"
msgstr "" msgstr ""
@ -60,7 +60,7 @@ msgstr ""
msgid "API request failed" msgid "API request failed"
msgstr "" msgstr ""
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:98 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:87
msgid "Access Key" msgid "Access Key"
msgstr "" msgstr ""
@ -75,7 +75,7 @@ msgid "Action"
msgstr "" msgstr ""
#: src/pages/users/UserListPage.ts:50 #: src/pages/users/UserListPage.ts:50
#: src/pages/users/UserViewPage.ts:117 #: src/pages/users/UserViewPage.ts:115
msgid "Active" msgid "Active"
msgstr "" msgstr ""
@ -176,13 +176,13 @@ msgid "Application's display Name."
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:20 #: src/interfaces/AdminInterface.ts:20
#: src/pages/LibraryPage.ts:92 #: src/pages/LibraryPage.ts:93
#: src/pages/LibraryPage.ts:131 #: src/pages/LibraryPage.ts:130
#: src/pages/applications/ApplicationListPage.ts:28 #: src/pages/applications/ApplicationListPage.ts:28
msgid "Applications" msgid "Applications"
msgstr "" msgstr ""
#: src/pages/admin-overview/AdminOverviewPage.ts:47 #: src/pages/admin-overview/AdminOverviewPage.ts:42
msgid "Apps with most usage" msgid "Apps with most usage"
msgstr "" msgstr ""
@ -227,9 +227,9 @@ msgid "Assertions is empty"
msgstr "" msgstr ""
#: src/pages/providers/ProviderListPage.ts:65 #: src/pages/providers/ProviderListPage.ts:65
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:92 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:81
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:83 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:72
#: src/pages/providers/saml/SAMLProviderViewPage.ts:85 #: src/pages/providers/saml/SAMLProviderViewPage.ts:74
msgid "Assigned to application" msgid "Assigned to application"
msgstr "" msgstr ""
@ -252,7 +252,7 @@ msgid "Attributes"
msgstr "" msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts:108 #: src/pages/providers/saml/SAMLProviderForm.ts:108
#: src/pages/providers/saml/SAMLProviderViewPage.ts:103 #: src/pages/providers/saml/SAMLProviderViewPage.ts:92
msgid "Audience" msgid "Audience"
msgstr "" msgstr ""
@ -279,7 +279,7 @@ msgid "Authorization Code"
msgstr "" msgstr ""
#: src/pages/sources/oauth/OAuthSourceForm.ts:65 #: src/pages/sources/oauth/OAuthSourceForm.ts:65
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:106 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:95
msgid "Authorization URL" msgid "Authorization URL"
msgstr "" msgstr ""
@ -290,7 +290,7 @@ msgstr ""
msgid "Authorization flow" msgid "Authorization flow"
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:179 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:168
msgid "Authorize URL" msgid "Authorize URL"
msgstr "" msgstr ""
@ -319,12 +319,12 @@ msgstr ""
msgid "Backup finished with warnings." msgid "Backup finished with warnings."
msgstr "" msgstr ""
#: src/pages/admin-overview/AdminOverviewPage.ts:64 #: src/pages/admin-overview/AdminOverviewPage.ts:59
msgid "Backup status" msgid "Backup status"
msgstr "" msgstr ""
#: src/pages/sources/ldap/LDAPSourceForm.ts:131 #: src/pages/sources/ldap/LDAPSourceForm.ts:131
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:91 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:80
msgid "Base DN" msgid "Base DN"
msgstr "" msgstr ""
@ -344,7 +344,7 @@ msgstr ""
msgid "Based on the username" msgid "Based on the username"
msgstr "" msgstr ""
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:109 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:98
msgid "Basic-Auth" msgid "Basic-Auth"
msgstr "" msgstr ""
@ -383,15 +383,15 @@ msgstr ""
msgid "CA which the endpoint's Certificate is verified against. Can be left empty for no validation." msgid "CA which the endpoint's Certificate is verified against. Can be left empty for no validation."
msgstr "" msgstr ""
#: src/pages/admin-overview/AdminOverviewPage.ts:62 #: src/pages/admin-overview/AdminOverviewPage.ts:57
msgid "Cached Flows" msgid "Cached Flows"
msgstr "" msgstr ""
#: src/pages/admin-overview/AdminOverviewPage.ts:60 #: src/pages/admin-overview/AdminOverviewPage.ts:55
msgid "Cached Policies" msgid "Cached Policies"
msgstr "" msgstr ""
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:90 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:79
msgid "Callback URL" msgid "Callback URL"
msgstr "" msgstr ""
@ -451,15 +451,15 @@ msgstr ""
msgid "Change your password" msgid "Change your password"
msgstr "" msgstr ""
#: src/pages/applications/ApplicationViewPage.ts:122 #: src/pages/applications/ApplicationViewPage.ts:116
#: src/pages/flows/FlowViewPage.ts:114 #: src/pages/flows/FlowViewPage.ts:110
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:147 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:136
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:146 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:135
#: src/pages/providers/saml/SAMLProviderViewPage.ts:140 #: src/pages/providers/saml/SAMLProviderViewPage.ts:129
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:124 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:113
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:143 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:132
#: src/pages/sources/saml/SAMLSourceViewPage.ts:130 #: src/pages/sources/saml/SAMLSourceViewPage.ts:119
#: src/pages/users/UserViewPage.ts:178 #: src/pages/users/UserViewPage.ts:176
msgid "Changelog" msgid "Changelog"
msgstr "" msgstr ""
@ -519,7 +519,7 @@ msgid "Click to copy token"
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderForm.ts:107 #: src/pages/providers/oauth2/OAuth2ProviderForm.ts:107
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:110 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:99
msgid "Client ID" msgid "Client ID"
msgstr "" msgstr ""
@ -534,7 +534,7 @@ msgid "Client Secret"
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderForm.ts:85 #: src/pages/providers/oauth2/OAuth2ProviderForm.ts:85
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:102 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:91
msgid "Client type" msgid "Client type"
msgstr "" msgstr ""
@ -582,7 +582,7 @@ msgstr ""
msgid "Configure how the issuer field of the ID Token should be filled." msgid "Configure how the issuer field of the ID Token should be filled."
msgstr "" msgstr ""
#: src/pages/user-settings/UserSettingsPage.ts:73 #: src/pages/user-settings/UserSettingsPage.ts:71
msgid "Configure settings relevant to your user profile." msgid "Configure settings relevant to your user profile."
msgstr "" msgstr ""
@ -980,8 +980,8 @@ msgstr ""
msgid "Docker URL" msgid "Docker URL"
msgstr "" msgstr ""
#: src/pages/providers/saml/SAMLProviderViewPage.ts:166 #: src/pages/providers/saml/SAMLProviderViewPage.ts:155
#: src/pages/sources/saml/SAMLSourceViewPage.ts:154 #: src/pages/sources/saml/SAMLSourceViewPage.ts:143
msgid "Download" msgid "Download"
msgstr "" msgstr ""
@ -994,8 +994,8 @@ msgid "Each provider has a different issuer, based on the application slug."
msgstr "" msgstr ""
#: src/pages/applications/ApplicationListPage.ts:90 #: src/pages/applications/ApplicationListPage.ts:90
#: src/pages/applications/ApplicationViewPage.ts:98 #: src/pages/applications/ApplicationViewPage.ts:92
#: src/pages/applications/ApplicationViewPage.ts:112 #: src/pages/applications/ApplicationViewPage.ts:106
#: src/pages/crypto/CertificateKeyPairListPage.ts:74 #: src/pages/crypto/CertificateKeyPairListPage.ts:74
#: src/pages/events/RuleListPage.ts:70 #: src/pages/events/RuleListPage.ts:70
#: src/pages/events/TransportListPage.ts:74 #: src/pages/events/TransportListPage.ts:74
@ -1006,18 +1006,18 @@ msgstr ""
#: src/pages/policies/PolicyListPage.ts:90 #: src/pages/policies/PolicyListPage.ts:90
#: src/pages/property-mappings/PropertyMappingListPage.ts:79 #: src/pages/property-mappings/PropertyMappingListPage.ts:79
#: src/pages/providers/ProviderListPage.ts:86 #: src/pages/providers/ProviderListPage.ts:86
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:139 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:128
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:138 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:127
#: src/pages/providers/saml/SAMLProviderViewPage.ts:132 #: src/pages/providers/saml/SAMLProviderViewPage.ts:121
#: src/pages/sources/SourcesListPage.ts:82 #: src/pages/sources/SourcesListPage.ts:82
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:116 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:105
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:135 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:124
#: src/pages/sources/saml/SAMLSourceViewPage.ts:122 #: src/pages/sources/saml/SAMLSourceViewPage.ts:111
#: src/pages/stages/StageListPage.ts:98 #: src/pages/stages/StageListPage.ts:98
#: src/pages/stages/prompt/PromptListPage.ts:75 #: src/pages/stages/prompt/PromptListPage.ts:75
#: src/pages/user-settings/tokens/UserTokenList.ts:113 #: src/pages/user-settings/tokens/UserTokenList.ts:113
#: src/pages/users/UserListPage.ts:75 #: src/pages/users/UserListPage.ts:75
#: src/pages/users/UserViewPage.ts:148 #: src/pages/users/UserViewPage.ts:146
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
@ -1042,7 +1042,7 @@ msgstr ""
msgid "Edit User" msgid "Edit User"
msgstr "" msgstr ""
#: src/pages/LibraryPage.ts:113 #: src/pages/LibraryPage.ts:114
msgid "Either no applications are defined, or you don't have access to any." msgid "Either no applications are defined, or you don't have access to any."
msgstr "" msgstr ""
@ -1050,7 +1050,7 @@ msgstr ""
#: src/pages/stages/identification/IdentificationStageForm.ts:82 #: src/pages/stages/identification/IdentificationStageForm.ts:82
#: src/pages/user-settings/UserDetailsPage.ts:71 #: src/pages/user-settings/UserDetailsPage.ts:71
#: src/pages/users/UserForm.ts:61 #: src/pages/users/UserForm.ts:61
#: src/pages/users/UserViewPage.ts:101 #: src/pages/users/UserViewPage.ts:99
msgid "Email" msgid "Email"
msgstr "" msgstr ""
@ -1121,11 +1121,11 @@ msgstr ""
msgid "Error when validating assertion on server: {err}" msgid "Error when validating assertion on server: {err}"
msgstr "" msgstr ""
#: src/pages/user-settings/UserSettingsPage.ts:61 #: src/pages/user-settings/UserSettingsPage.ts:62
msgid "Error: unsupported source settings: {0}" msgid "Error: unsupported source settings: {0}"
msgstr "" msgstr ""
#: src/pages/user-settings/UserSettingsPage.ts:52 #: src/pages/user-settings/UserSettingsPage.ts:53
msgid "Error: unsupported stage settings: {0}" msgid "Error: unsupported stage settings: {0}"
msgstr "" msgstr ""
@ -1145,11 +1145,11 @@ msgstr ""
msgid "Event Log" msgid "Event Log"
msgstr "" msgstr ""
#: src/pages/events/EventInfoPage.ts:45 #: src/pages/events/EventInfoPage.ts:42
msgid "Event info" msgid "Event info"
msgstr "" msgstr ""
#: src/pages/events/EventInfoPage.ts:38 #: src/pages/events/EventInfoPage.ts:37
msgid "Event {0}" msgid "Event {0}"
msgstr "" msgstr ""
@ -1163,11 +1163,11 @@ msgid "Exception"
msgstr "" msgstr ""
#: src/pages/flows/FlowListPage.ts:98 #: src/pages/flows/FlowListPage.ts:98
#: src/pages/flows/FlowViewPage.ts:87 #: src/pages/flows/FlowViewPage.ts:83
msgid "Execute" msgid "Execute"
msgstr "" msgstr ""
#: src/pages/flows/FlowViewPage.ts:73 #: src/pages/flows/FlowViewPage.ts:69
msgid "Execute flow" msgid "Execute flow"
msgstr "" msgstr ""
@ -1210,7 +1210,7 @@ msgstr ""
msgid "Expiry date" msgid "Expiry date"
msgstr "" msgstr ""
#: src/pages/users/UserViewPage.ts:189 #: src/pages/users/UserViewPage.ts:187
msgid "Explicit Consent" msgid "Explicit Consent"
msgstr "" msgstr ""
@ -1237,7 +1237,7 @@ msgstr ""
msgid "External Applications which use authentik as Identity-Provider, utilizing protocols like OAuth2 and SAML." msgid "External Applications which use authentik as Identity-Provider, utilizing protocols like OAuth2 and SAML."
msgstr "" msgstr ""
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:101 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:90
msgid "External Host" msgid "External Host"
msgstr "" msgstr ""
@ -1303,7 +1303,7 @@ msgstr ""
msgid "Flow" msgid "Flow"
msgstr "" msgstr ""
#: src/pages/flows/FlowViewPage.ts:57 #: src/pages/flows/FlowViewPage.ts:53
msgid "Flow Overview" msgid "Flow Overview"
msgstr "" msgstr ""
@ -1535,7 +1535,7 @@ msgstr ""
msgid "Include claims in id_token" msgid "Include claims in id_token"
msgstr "" msgstr ""
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:93 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:82
msgid "Internal Host" msgid "Internal Host"
msgstr "" msgstr ""
@ -1569,9 +1569,9 @@ msgid "Is superuser"
msgstr "" msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts:88 #: src/pages/providers/saml/SAMLProviderForm.ts:88
#: src/pages/providers/saml/SAMLProviderViewPage.ts:111 #: src/pages/providers/saml/SAMLProviderViewPage.ts:100
#: src/pages/sources/saml/SAMLSourceForm.ts:93 #: src/pages/sources/saml/SAMLSourceForm.ts:93
#: src/pages/sources/saml/SAMLSourceViewPage.ts:101 #: src/pages/sources/saml/SAMLSourceViewPage.ts:90
msgid "Issuer" msgid "Issuer"
msgstr "" msgstr ""
@ -1595,10 +1595,6 @@ msgstr ""
msgid "Kubeconfig" msgid "Kubeconfig"
msgstr "" msgstr ""
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:44
msgid "LDAP Source {0}"
msgstr ""
#: src/pages/admin-overview/cards/LDAPSyncStatusCardContainer.ts:24 #: src/pages/admin-overview/cards/LDAPSyncStatusCardContainer.ts:24
msgid "LDAP Sync status {0}" msgid "LDAP Sync status {0}"
msgstr "" msgstr ""
@ -1613,7 +1609,7 @@ msgid "Label shown next to/above the prompt."
msgstr "" msgstr ""
#: src/pages/users/UserListPage.ts:51 #: src/pages/users/UserListPage.ts:51
#: src/pages/users/UserViewPage.ts:109 #: src/pages/users/UserViewPage.ts:107
msgid "Last login" msgid "Last login"
msgstr "" msgstr ""
@ -1626,7 +1622,7 @@ msgid "Last seen: {0}"
msgstr "" msgstr ""
#: src/pages/admin-overview/cards/LDAPSyncStatusCard.ts:25 #: src/pages/admin-overview/cards/LDAPSyncStatusCard.ts:25
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:154 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:143
msgid "Last sync: {0}" msgid "Last sync: {0}"
msgstr "" msgstr ""
@ -1658,7 +1654,7 @@ msgstr ""
#: src/flows/stages/identification/IdentificationStage.ts:134 #: src/flows/stages/identification/IdentificationStage.ts:134
#: src/flows/stages/password/PasswordStage.ts:31 #: src/flows/stages/password/PasswordStage.ts:31
#: src/flows/stages/prompt/PromptStage.ts:126 #: src/flows/stages/prompt/PromptStage.ts:126
#: src/pages/applications/ApplicationViewPage.ts:55 #: src/pages/applications/ApplicationViewPage.ts:57
#: src/pages/user-settings/UserDetailsPage.ts:38 #: src/pages/user-settings/UserDetailsPage.ts:38
#: src/utils.ts:40 #: src/utils.ts:40
msgid "Loading" msgid "Loading"
@ -1666,7 +1662,6 @@ msgstr ""
#: src/elements/Spinner.ts:29 #: src/elements/Spinner.ts:29
#: src/pages/applications/ApplicationForm.ts:106 #: src/pages/applications/ApplicationForm.ts:106
#: src/pages/applications/ApplicationViewPage.ts:49
#: src/pages/events/RuleForm.ts:74 #: src/pages/events/RuleForm.ts:74
#: src/pages/events/RuleForm.ts:90 #: src/pages/events/RuleForm.ts:90
#: src/pages/flows/StageBindingForm.ts:89 #: src/pages/flows/StageBindingForm.ts:89
@ -1738,12 +1733,12 @@ msgstr ""
msgid "Logins" msgid "Logins"
msgstr "" msgstr ""
#: src/pages/admin-overview/AdminOverviewPage.ts:44 #: src/pages/admin-overview/AdminOverviewPage.ts:39
#: src/pages/applications/ApplicationViewPage.ts:71 #: src/pages/applications/ApplicationViewPage.ts:65
msgid "Logins over the last 24 hours" msgid "Logins over the last 24 hours"
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:197 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:186
msgid "Logout URL" msgid "Logout URL"
msgstr "" msgstr ""
@ -1786,10 +1781,10 @@ msgstr ""
msgid "Messages" msgid "Messages"
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:158 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:147
#: src/pages/providers/saml/SAMLProviderImportForm.ts:61 #: src/pages/providers/saml/SAMLProviderImportForm.ts:61
#: src/pages/providers/saml/SAMLProviderViewPage.ts:152 #: src/pages/providers/saml/SAMLProviderViewPage.ts:141
#: src/pages/sources/saml/SAMLSourceViewPage.ts:141 #: src/pages/sources/saml/SAMLSourceViewPage.ts:130
msgid "Metadata" msgid "Metadata"
msgstr "" msgstr ""
@ -1856,19 +1851,19 @@ msgstr ""
#: src/pages/property-mappings/PropertyMappingScopeForm.ts:52 #: src/pages/property-mappings/PropertyMappingScopeForm.ts:52
#: src/pages/providers/ProviderListPage.ts:52 #: src/pages/providers/ProviderListPage.ts:52
#: src/pages/providers/oauth2/OAuth2ProviderForm.ts:56 #: src/pages/providers/oauth2/OAuth2ProviderForm.ts:56
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:84 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:73
#: src/pages/providers/proxy/ProxyProviderForm.ts:74 #: src/pages/providers/proxy/ProxyProviderForm.ts:74
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:75 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:64
#: src/pages/providers/saml/SAMLProviderForm.ts:53 #: src/pages/providers/saml/SAMLProviderForm.ts:53
#: src/pages/providers/saml/SAMLProviderImportForm.ts:38 #: src/pages/providers/saml/SAMLProviderImportForm.ts:38
#: src/pages/providers/saml/SAMLProviderViewPage.ts:77 #: src/pages/providers/saml/SAMLProviderViewPage.ts:66
#: src/pages/sources/SourcesListPage.ts:51 #: src/pages/sources/SourcesListPage.ts:51
#: src/pages/sources/ldap/LDAPSourceForm.ts:54 #: src/pages/sources/ldap/LDAPSourceForm.ts:54
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:75 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:64
#: src/pages/sources/oauth/OAuthSourceForm.ts:98 #: src/pages/sources/oauth/OAuthSourceForm.ts:98
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:74 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:63
#: src/pages/sources/saml/SAMLSourceForm.ts:54 #: src/pages/sources/saml/SAMLSourceForm.ts:54
#: src/pages/sources/saml/SAMLSourceViewPage.ts:77 #: src/pages/sources/saml/SAMLSourceViewPage.ts:66
#: src/pages/stages/StageListPage.ts:65 #: src/pages/stages/StageListPage.ts:65
#: src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts:57 #: src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts:57
#: src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts:56 #: src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts:56
@ -1890,7 +1885,7 @@ msgstr ""
#: src/pages/user-settings/UserDetailsPage.ts:64 #: src/pages/user-settings/UserDetailsPage.ts:64
#: src/pages/users/UserForm.ts:54 #: src/pages/users/UserForm.ts:54
#: src/pages/users/UserListPage.ts:49 #: src/pages/users/UserListPage.ts:49
#: src/pages/users/UserViewPage.ts:93 #: src/pages/users/UserViewPage.ts:91
msgid "Name" msgid "Name"
msgstr "" msgstr ""
@ -1920,14 +1915,14 @@ msgstr ""
#: src/pages/outposts/ServiceConnectionListPage.ts:64 #: src/pages/outposts/ServiceConnectionListPage.ts:64
#: src/pages/policies/BoundPoliciesList.ts:118 #: src/pages/policies/BoundPoliciesList.ts:118
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:119 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:108
#: src/pages/tokens/TokenListPage.ts:56 #: src/pages/tokens/TokenListPage.ts:56
#: src/pages/user-settings/tokens/UserTokenList.ts:83 #: src/pages/user-settings/tokens/UserTokenList.ts:83
#: src/pages/users/UserListPage.ts:62 #: src/pages/users/UserListPage.ts:62
msgid "No" msgid "No"
msgstr "" msgstr ""
#: src/pages/LibraryPage.ts:111 #: src/pages/LibraryPage.ts:112
msgid "No Applications available." msgid "No Applications available."
msgstr "" msgstr ""
@ -1999,7 +1994,7 @@ msgstr ""
msgid "Not found" msgid "Not found"
msgstr "" msgstr ""
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:165 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:154
msgid "Not synced yet." msgid "Not synced yet."
msgstr "" msgstr ""
@ -2046,22 +2041,14 @@ msgstr ""
msgid "Number" msgid "Number"
msgstr "" msgstr ""
#: src/pages/users/UserViewPage.ts:197 #: src/pages/users/UserViewPage.ts:195
msgid "OAuth Authorization Codes" msgid "OAuth Authorization Codes"
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:46 #: src/pages/users/UserViewPage.ts:203
msgid "OAuth Provider {0}"
msgstr ""
#: src/pages/users/UserViewPage.ts:205
msgid "OAuth Refresh Codes" msgid "OAuth Refresh Codes"
msgstr "" msgstr ""
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:43
msgid "OAuth Source {0}"
msgstr ""
#: src/pages/events/EventInfo.ts:147 #: src/pages/events/EventInfo.ts:147
#: src/pages/events/EventInfo.ts:166 #: src/pages/events/EventInfo.ts:166
msgid "Object" msgid "Object"
@ -2096,11 +2083,11 @@ msgstr ""
msgid "Open application" msgid "Open application"
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:172 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:161
msgid "OpenID Configuration Issuer" msgid "OpenID Configuration Issuer"
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:166 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:155
msgid "OpenID Configuration URL" msgid "OpenID Configuration URL"
msgstr "" msgstr ""
@ -2171,14 +2158,14 @@ msgid "Outposts are deployments of authentik components to support different env
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:17 #: src/interfaces/AdminInterface.ts:17
#: src/pages/applications/ApplicationViewPage.ts:68 #: src/pages/applications/ApplicationViewPage.ts:62
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:76 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:65
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:67 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:56
#: src/pages/providers/saml/SAMLProviderViewPage.ts:69 #: src/pages/providers/saml/SAMLProviderViewPage.ts:58
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:67 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:56
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:66 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:55
#: src/pages/sources/saml/SAMLSourceViewPage.ts:69 #: src/pages/sources/saml/SAMLSourceViewPage.ts:58
#: src/pages/users/UserViewPage.ts:75 #: src/pages/users/UserViewPage.ts:73
msgid "Overview" msgid "Overview"
msgstr "" msgstr ""
@ -2231,7 +2218,7 @@ msgid "Please enter your password"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:26 #: src/interfaces/AdminInterface.ts:26
#: src/pages/admin-overview/AdminOverviewPage.ts:52 #: src/pages/admin-overview/AdminOverviewPage.ts:47
#: src/pages/flows/FlowListPage.ts:50 #: src/pages/flows/FlowListPage.ts:50
#: src/pages/policies/PolicyListPage.ts:38 #: src/pages/policies/PolicyListPage.ts:38
msgid "Policies" msgid "Policies"
@ -2251,10 +2238,10 @@ msgstr ""
msgid "Policy / User / Group" msgid "Policy / User / Group"
msgstr "" msgstr ""
#: src/pages/applications/ApplicationViewPage.ts:133 #: src/pages/applications/ApplicationViewPage.ts:127
#: src/pages/flows/FlowViewPage.ts:105 #: src/pages/flows/FlowViewPage.ts:101
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:154 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:143
#: src/pages/sources/saml/SAMLSourceViewPage.ts:161 #: src/pages/sources/saml/SAMLSourceViewPage.ts:150
msgid "Policy Bindings" msgid "Policy Bindings"
msgstr "" msgstr ""
@ -2370,13 +2357,13 @@ msgstr ""
#: src/elements/oauth/UserRefreshList.ts:29 #: src/elements/oauth/UserRefreshList.ts:29
#: src/pages/applications/ApplicationForm.ts:100 #: src/pages/applications/ApplicationForm.ts:100
#: src/pages/applications/ApplicationListPage.ts:59 #: src/pages/applications/ApplicationListPage.ts:59
#: src/pages/applications/ApplicationViewPage.ts:85 #: src/pages/applications/ApplicationViewPage.ts:79
#: src/pages/providers/ProviderListPage.ts:34 #: src/pages/providers/ProviderListPage.ts:34
msgid "Provider" msgid "Provider"
msgstr "" msgstr ""
#: src/pages/applications/ApplicationListPage.ts:60 #: src/pages/applications/ApplicationListPage.ts:60
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:82 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:71
msgid "Provider Type" msgid "Provider Type"
msgstr "" msgstr ""
@ -2385,7 +2372,7 @@ msgid "Provider type"
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:20 #: src/interfaces/AdminInterface.ts:20
#: src/pages/admin-overview/AdminOverviewPage.ts:50 #: src/pages/admin-overview/AdminOverviewPage.ts:45
#: src/pages/outposts/OutpostForm.ts:82 #: src/pages/outposts/OutpostForm.ts:82
#: src/pages/outposts/OutpostListPage.ts:50 #: src/pages/outposts/OutpostListPage.ts:50
msgid "Providers" msgid "Providers"
@ -2395,10 +2382,6 @@ msgstr ""
msgid "Proxy" msgid "Proxy"
msgstr "" msgstr ""
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:43
msgid "Proxy Provider {0}"
msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderForm.ts:101 #: src/pages/providers/oauth2/OAuth2ProviderForm.ts:101
msgid "Public" msgid "Public"
msgstr "" msgstr ""
@ -2464,7 +2447,7 @@ msgid "Redirect"
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderForm.ts:119 #: src/pages/providers/oauth2/OAuth2ProviderForm.ts:119
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:118 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:107
msgid "Redirect URIs" msgid "Redirect URIs"
msgstr "" msgstr ""
@ -2488,8 +2471,8 @@ msgstr ""
msgid "Regular expressions for which authentication is not required. Each new line is interpreted as a new Regular Expression." msgid "Regular expressions for which authentication is not required. Each new line is interpreted as a new Regular Expression."
msgstr "" msgstr ""
#: src/pages/applications/ApplicationViewPage.ts:79 #: src/pages/applications/ApplicationViewPage.ts:73
#: src/pages/flows/FlowViewPage.ts:68 #: src/pages/flows/FlowViewPage.ts:64
msgid "Related" msgid "Related"
msgstr "" msgstr ""
@ -2520,7 +2503,7 @@ msgid "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."
msgstr "" msgstr ""
#: src/pages/users/UserListPage.ts:132 #: src/pages/users/UserListPage.ts:132
#: src/pages/users/UserViewPage.ts:166 #: src/pages/users/UserViewPage.ts:164
msgid "Reset Password" msgid "Reset Password"
msgstr "" msgstr ""
@ -2533,7 +2516,7 @@ msgstr ""
msgid "Result" msgid "Result"
msgstr "" msgstr ""
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:177 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:166
#: src/pages/system-tasks/SystemTaskListPage.ts:108 #: src/pages/system-tasks/SystemTaskListPage.ts:108
msgid "Retry Task" msgid "Retry Task"
msgstr "" msgstr ""
@ -2559,14 +2542,6 @@ msgstr ""
msgid "SAML Attribute Name" msgid "SAML Attribute Name"
msgstr "" msgstr ""
#: src/pages/providers/saml/SAMLProviderViewPage.ts:45
msgid "SAML Provider {0}"
msgstr ""
#: src/pages/sources/saml/SAMLSourceViewPage.ts:46
msgid "SAML Source {0}"
msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts:218 #: src/pages/providers/saml/SAMLProviderForm.ts:218
#: src/pages/sources/saml/SAMLSourceForm.ts:181 #: src/pages/sources/saml/SAMLSourceForm.ts:181
msgid "SHA1" msgid "SHA1"
@ -2588,7 +2563,7 @@ msgid "SHA512"
msgstr "" msgstr ""
#: src/pages/sources/saml/SAMLSourceForm.ts:87 #: src/pages/sources/saml/SAMLSourceForm.ts:87
#: src/pages/sources/saml/SAMLSourceViewPage.ts:93 #: src/pages/sources/saml/SAMLSourceViewPage.ts:82
msgid "SLO URL" msgid "SLO URL"
msgstr "" msgstr ""
@ -2609,7 +2584,7 @@ msgid "SMTP Username"
msgstr "" msgstr ""
#: src/pages/sources/saml/SAMLSourceForm.ts:80 #: src/pages/sources/saml/SAMLSourceForm.ts:80
#: src/pages/sources/saml/SAMLSourceViewPage.ts:85 #: src/pages/sources/saml/SAMLSourceViewPage.ts:74
msgid "SSO URL" msgid "SSO URL"
msgstr "" msgstr ""
@ -2699,7 +2674,7 @@ msgid "Separator: Static Separator Line"
msgstr "" msgstr ""
#: src/pages/sources/ldap/LDAPSourceForm.ts:104 #: src/pages/sources/ldap/LDAPSourceForm.ts:104
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:83 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:72
msgid "Server URI" msgid "Server URI"
msgstr "" msgstr ""
@ -2820,7 +2795,7 @@ msgstr ""
msgid "Stage" msgid "Stage"
msgstr "" msgstr ""
#: src/pages/flows/FlowViewPage.ts:97 #: src/pages/flows/FlowViewPage.ts:93
msgid "Stage Bindings" msgid "Stage Bindings"
msgstr "" msgstr ""
@ -3051,7 +3026,7 @@ msgid "Successfully generated certificate-key pair."
msgstr "" msgstr ""
#: src/pages/users/UserListPage.ts:127 #: src/pages/users/UserListPage.ts:127
#: src/pages/users/UserViewPage.ts:161 #: src/pages/users/UserViewPage.ts:159
msgid "Successfully generated recovery link" msgid "Successfully generated recovery link"
msgstr "" msgstr ""
@ -3182,7 +3157,7 @@ msgstr ""
msgid "Successfully updated {0} {1}" msgid "Successfully updated {0} {1}"
msgstr "" msgstr ""
#: src/pages/users/UserViewPage.ts:127 #: src/pages/users/UserViewPage.ts:125
msgid "Superuser" msgid "Superuser"
msgstr "" msgstr ""
@ -3194,7 +3169,7 @@ msgstr ""
msgid "Symbol charset" msgid "Symbol charset"
msgstr "" msgstr ""
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:135 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:124
msgid "Sync" msgid "Sync"
msgstr "" msgstr ""
@ -3206,7 +3181,7 @@ msgstr ""
msgid "Sync groups" msgid "Sync groups"
msgstr "" msgstr ""
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:140 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:129
msgid "Sync status" msgid "Sync status"
msgstr "" msgstr ""
@ -3214,7 +3189,7 @@ msgstr ""
msgid "Sync users" msgid "Sync users"
msgstr "" msgstr ""
#: src/pages/admin-overview/AdminOverviewPage.ts:29 #: src/pages/admin-overview/AdminOverviewPage.ts:35
msgid "System Overview" msgid "System Overview"
msgstr "" msgstr ""
@ -3239,11 +3214,11 @@ msgstr ""
msgid "Target" msgid "Target"
msgstr "" msgstr ""
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:151 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:140
msgid "Task finished with errors" msgid "Task finished with errors"
msgstr "" msgstr ""
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:148 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:137
msgid "Task finished with warnings" msgid "Task finished with warnings"
msgstr "" msgstr ""
@ -3289,16 +3264,16 @@ msgstr ""
msgid "These policies control when this stage will be applied to the flow." msgid "These policies control when this stage will be applied to the flow."
msgstr "" msgstr ""
#: src/pages/applications/ApplicationViewPage.ts:135 #: src/pages/applications/ApplicationViewPage.ts:129
msgid "These policies control which users can access this application." msgid "These policies control which users can access this application."
msgstr "" msgstr ""
#: src/pages/flows/FlowViewPage.ts:107 #: src/pages/flows/FlowViewPage.ts:103
msgid "These policies control which users can access this flow." msgid "These policies control which users can access this flow."
msgstr "" msgstr ""
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:156 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:145
#: src/pages/sources/saml/SAMLSourceViewPage.ts:163 #: src/pages/sources/saml/SAMLSourceViewPage.ts:152
msgid "These policies control which users can access this source." msgid "These policies control which users can access this source."
msgstr "" msgstr ""
@ -3341,8 +3316,8 @@ msgstr ""
msgid "Token" msgid "Token"
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:185 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:174
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:114 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:103
msgid "Token URL" msgid "Token URL"
msgstr "" msgstr ""
@ -3361,7 +3336,7 @@ msgstr ""
#: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts:62 #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts:62
#: src/interfaces/AdminInterface.ts:32 #: src/interfaces/AdminInterface.ts:32
#: src/pages/tokens/TokenListPage.ts:26 #: src/pages/tokens/TokenListPage.ts:26
#: src/pages/user-settings/UserSettingsPage.ts:80 #: src/pages/user-settings/UserSettingsPage.ts:77
msgid "Tokens" msgid "Tokens"
msgstr "" msgstr ""
@ -3442,7 +3417,7 @@ msgid "Up-to-date!"
msgstr "" msgstr ""
#: src/pages/applications/ApplicationListPage.ts:82 #: src/pages/applications/ApplicationListPage.ts:82
#: src/pages/applications/ApplicationViewPage.ts:104 #: src/pages/applications/ApplicationViewPage.ts:98
#: src/pages/crypto/CertificateKeyPairListPage.ts:66 #: src/pages/crypto/CertificateKeyPairListPage.ts:66
#: src/pages/events/RuleListPage.ts:62 #: src/pages/events/RuleListPage.ts:62
#: src/pages/events/TransportListPage.ts:66 #: src/pages/events/TransportListPage.ts:66
@ -3459,13 +3434,13 @@ msgstr ""
#: src/pages/policies/PolicyListPage.ts:77 #: src/pages/policies/PolicyListPage.ts:77
#: src/pages/property-mappings/PropertyMappingListPage.ts:66 #: src/pages/property-mappings/PropertyMappingListPage.ts:66
#: src/pages/providers/ProviderListPage.ts:73 #: src/pages/providers/ProviderListPage.ts:73
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:129 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:118
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:128 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:117
#: src/pages/providers/saml/SAMLProviderViewPage.ts:122 #: src/pages/providers/saml/SAMLProviderViewPage.ts:111
#: src/pages/sources/SourcesListPage.ts:69 #: src/pages/sources/SourcesListPage.ts:69
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:106 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:95
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:125 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:114
#: src/pages/sources/saml/SAMLSourceViewPage.ts:112 #: src/pages/sources/saml/SAMLSourceViewPage.ts:101
#: src/pages/stages/StageListPage.ts:85 #: src/pages/stages/StageListPage.ts:85
#: src/pages/stages/prompt/PromptListPage.ts:67 #: src/pages/stages/prompt/PromptListPage.ts:67
#: src/pages/user-settings/UserDetailsPage.ts:81 #: src/pages/user-settings/UserDetailsPage.ts:81
@ -3475,12 +3450,12 @@ msgstr ""
#: src/pages/user-settings/tokens/UserTokenList.ts:105 #: src/pages/user-settings/tokens/UserTokenList.ts:105
#: src/pages/users/UserActiveForm.ts:66 #: src/pages/users/UserActiveForm.ts:66
#: src/pages/users/UserListPage.ts:67 #: src/pages/users/UserListPage.ts:67
#: src/pages/users/UserViewPage.ts:140 #: src/pages/users/UserViewPage.ts:138
msgid "Update" msgid "Update"
msgstr "" msgstr ""
#: src/pages/applications/ApplicationListPage.ts:85 #: src/pages/applications/ApplicationListPage.ts:85
#: src/pages/applications/ApplicationViewPage.ts:107 #: src/pages/applications/ApplicationViewPage.ts:101
msgid "Update Application" msgid "Update Application"
msgstr "" msgstr ""
@ -3501,7 +3476,7 @@ msgstr ""
msgid "Update Group" msgid "Update Group"
msgstr "" msgstr ""
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:109 #: src/pages/sources/ldap/LDAPSourceViewPage.ts:98
msgid "Update LDAP Source" msgid "Update LDAP Source"
msgstr "" msgstr ""
@ -3513,11 +3488,11 @@ msgstr ""
msgid "Update Notification Transport" msgid "Update Notification Transport"
msgstr "" msgstr ""
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:128 #: src/pages/sources/oauth/OAuthSourceViewPage.ts:117
msgid "Update OAuth Source" msgid "Update OAuth Source"
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:132 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:121
msgid "Update OAuth2 Provider" msgid "Update OAuth2 Provider"
msgstr "" msgstr ""
@ -3529,15 +3504,15 @@ msgstr ""
msgid "Update Prompt" msgid "Update Prompt"
msgstr "" msgstr ""
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:131 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:120
msgid "Update Proxy Provider" msgid "Update Proxy Provider"
msgstr "" msgstr ""
#: src/pages/providers/saml/SAMLProviderViewPage.ts:125 #: src/pages/providers/saml/SAMLProviderViewPage.ts:114
msgid "Update SAML Provider" msgid "Update SAML Provider"
msgstr "" msgstr ""
#: src/pages/sources/saml/SAMLSourceViewPage.ts:115 #: src/pages/sources/saml/SAMLSourceViewPage.ts:104
msgid "Update SAML Source" msgid "Update SAML Source"
msgstr "" msgstr ""
@ -3551,7 +3526,7 @@ msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:102 #: src/pages/policies/BoundPoliciesList.ts:102
#: src/pages/users/UserListPage.ts:70 #: src/pages/users/UserListPage.ts:70
#: src/pages/users/UserViewPage.ts:143 #: src/pages/users/UserViewPage.ts:141
msgid "Update User" msgid "Update User"
msgstr "" msgstr ""
@ -3605,7 +3580,7 @@ msgstr ""
msgid "User" msgid "User"
msgstr "" msgstr ""
#: src/pages/users/UserViewPage.ts:79 #: src/pages/users/UserViewPage.ts:77
msgid "User Info" msgid "User Info"
msgstr "" msgstr ""
@ -3613,11 +3588,11 @@ msgstr ""
msgid "User Property Mappings" msgid "User Property Mappings"
msgstr "" msgstr ""
#: src/pages/user-settings/UserSettingsPage.ts:71 #: src/pages/user-settings/UserSettingsPage.ts:70
msgid "User Settings" msgid "User Settings"
msgstr "" msgstr ""
#: src/pages/user-settings/UserSettingsPage.ts:77 #: src/pages/user-settings/UserSettingsPage.ts:74
msgid "User details" msgid "User details"
msgstr "" msgstr ""
@ -3635,7 +3610,7 @@ msgid "User password writeback"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:52 #: src/pages/policies/BoundPoliciesList.ts:52
#: src/pages/users/UserViewPage.ts:50 #: src/pages/users/UserViewPage.ts:62
msgid "User {0}" msgid "User {0}"
msgstr "" msgstr ""
@ -3656,14 +3631,14 @@ msgstr ""
msgid "User/Group Attribute used for the user part of the HTTP-Basic Header. If not set, the user's Email address is used." msgid "User/Group Attribute used for the user part of the HTTP-Basic Header. If not set, the user's Email address is used."
msgstr "" msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:191 #: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:180
msgid "Userinfo URL" msgid "Userinfo URL"
msgstr "" msgstr ""
#: src/pages/stages/identification/IdentificationStageForm.ts:79 #: src/pages/stages/identification/IdentificationStageForm.ts:79
#: src/pages/user-settings/UserDetailsPage.ts:57 #: src/pages/user-settings/UserDetailsPage.ts:57
#: src/pages/users/UserForm.ts:47 #: src/pages/users/UserForm.ts:47
#: src/pages/users/UserViewPage.ts:85 #: src/pages/users/UserViewPage.ts:83
msgid "Username" msgid "Username"
msgstr "" msgstr ""
@ -3672,7 +3647,7 @@ msgid "Username: Same as Text input, but checks for and prevents duplicate usern
msgstr "" msgstr ""
#: src/interfaces/AdminInterface.ts:32 #: src/interfaces/AdminInterface.ts:32
#: src/pages/admin-overview/AdminOverviewPage.ts:54 #: src/pages/admin-overview/AdminOverviewPage.ts:49
#: src/pages/users/UserListPage.ts:31 #: src/pages/users/UserListPage.ts:31
msgid "Users" msgid "Users"
msgstr "" msgstr ""
@ -3713,7 +3688,7 @@ msgstr ""
msgid "Verify the user's email address by sending them a one-time-link. Can also be used for recovery to verify the user's authenticity." msgid "Verify the user's email address by sending them a one-time-link. Can also be used for recovery to verify the user's authenticity."
msgstr "" msgstr ""
#: src/pages/admin-overview/AdminOverviewPage.ts:56 #: src/pages/admin-overview/AdminOverviewPage.ts:51
msgid "Version" msgid "Version"
msgstr "" msgstr ""
@ -3812,7 +3787,7 @@ msgstr ""
msgid "Windows" msgid "Windows"
msgstr "" msgstr ""
#: src/pages/admin-overview/AdminOverviewPage.ts:58 #: src/pages/admin-overview/AdminOverviewPage.ts:53
msgid "Workers" msgid "Workers"
msgstr "" msgstr ""
@ -3831,7 +3806,7 @@ msgstr ""
#: src/pages/outposts/ServiceConnectionListPage.ts:64 #: src/pages/outposts/ServiceConnectionListPage.ts:64
#: src/pages/policies/BoundPoliciesList.ts:118 #: src/pages/policies/BoundPoliciesList.ts:118
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:116 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:105
#: src/pages/tokens/TokenListPage.ts:56 #: src/pages/tokens/TokenListPage.ts:56
#: src/pages/user-settings/tokens/UserTokenList.ts:83 #: src/pages/user-settings/tokens/UserTokenList.ts:83
#: src/pages/users/UserListPage.ts:62 #: src/pages/users/UserListPage.ts:62
@ -3856,8 +3831,6 @@ msgstr ""
#: src/elements/Expand.ts:28 #: src/elements/Expand.ts:28
#: src/elements/Expand.ts:28 #: src/elements/Expand.ts:28
#: src/elements/Page.ts:11
#: src/elements/table/TablePage.ts:28
msgid "{0}" msgid "{0}"
msgstr "" msgstr ""
@ -3888,8 +3861,3 @@ msgstr ""
#: src/elements/forms/ConfirmationForm.ts:45 #: src/elements/forms/ConfirmationForm.ts:45
msgid "{0}: {1}" msgid "{0}: {1}"
msgstr "" msgstr ""
#: src/elements/Page.ts:13
#: src/elements/table/TablePage.ts:30
msgid "{description}"
msgstr ""

View File

@ -7,6 +7,7 @@ import { AKResponse } from "../api/Client";
import { DEFAULT_CONFIG } from "../api/Config"; import { DEFAULT_CONFIG } from "../api/Config";
import { me } from "../api/Users"; import { me } from "../api/Users";
import { loading, truncate } from "../utils"; import { loading, truncate } from "../utils";
import "../elements/PageHeader";
import PFBase from "@patternfly/patternfly/patternfly-base.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css";
import PFCard from "@patternfly/patternfly/components/Card/card.css"; import PFCard from "@patternfly/patternfly/components/Card/card.css";
import PFTitle from "@patternfly/patternfly/components/Title/title.css"; import PFTitle from "@patternfly/patternfly/components/Title/title.css";
@ -125,14 +126,10 @@ export class LibraryPage extends LitElement {
render(): TemplateResult { render(): TemplateResult {
return html`<main role="main" class="pf-c-page__main" tabindex="-1" id="main-content"> return html`<main role="main" class="pf-c-page__main" tabindex="-1" id="main-content">
<section class="pf-c-page__main-section pf-m-light"> <ak-page-header
<div class="pf-c-content"> icon="pf-icon pf-icon-applications"
<h1> header=${t`Applications`}>
<i class="pf-icon pf-icon-applications"></i> </ak-page-header>
${t`Applications`}
</h1>
</div>
</section>
<section class="pf-c-page__main-section"> <section class="pf-c-page__main-section">
${loading(this.apps, html`${(this.apps?.results.length || 0) > 0 ? ${loading(this.apps, html`${(this.apps?.results.length || 0) > 0 ?
this.renderApps() : this.renderApps() :

View File

@ -1,5 +1,5 @@
import { t } from "@lingui/macro"; import { t } from "@lingui/macro";
import { CSSResult, customElement, html, TemplateResult } from "lit-element"; import { CSSResult, customElement, html, LitElement, TemplateResult } from "lit-element";
import "../../elements/charts/AdminLoginsChart"; import "../../elements/charts/AdminLoginsChart";
import "../../elements/cards/AggregatePromiseCard"; import "../../elements/cards/AggregatePromiseCard";
@ -20,25 +20,21 @@ import PFPage from "@patternfly/patternfly/components/Page/page.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css";
import PFGallery from "@patternfly/patternfly/layouts/Gallery/gallery.css"; import PFGallery from "@patternfly/patternfly/layouts/Gallery/gallery.css";
import AKGlobal from "../../authentik.css"; import AKGlobal from "../../authentik.css";
import { Page } from "../../elements/Page"; import "../../elements/PageHeader";
@customElement("ak-admin-overview") @customElement("ak-admin-overview")
export class AdminOverviewPage extends Page { export class AdminOverviewPage extends LitElement {
pageTitle(): string {
return t`System Overview`;
}
pageDescription(): string | undefined {
return;
}
pageIcon(): string {
return "";
}
static get styles(): CSSResult[] { static get styles(): CSSResult[] {
return [PFGallery, PFPage, PFContent, AKGlobal]; return [PFGallery, PFPage, PFContent, AKGlobal];
} }
renderContent(): TemplateResult { render(): TemplateResult {
return html` return html`
<ak-page-header
icon=""
header=${t`System Overview`}>
</ak-page-header>
<section class="pf-c-page__main-section"> <section class="pf-c-page__main-section">
<div class="pf-l-gallery pf-m-gutter"> <div class="pf-l-gallery pf-m-gutter">
<ak-aggregate-card class="pf-l-gallery__item pf-m-4-col" icon="pf-icon pf-icon-server" header=${t`Logins over the last 24 hours`} style="grid-column-end: span 3;grid-row-end: span 2;"> <ak-aggregate-card class="pf-l-gallery__item pf-m-4-col" icon="pf-icon pf-icon-server" header=${t`Logins over the last 24 hours`} style="grid-column-end: span 3;grid-row-end: span 2;">

View File

@ -22,7 +22,7 @@ export class LDAPSyncStatusCard extends AdminStatusCard<Task> {
} }
renderValue(): TemplateResult { renderValue(): TemplateResult {
return html`${t`Last sync: ${this.value?.taskFinishTimestamp.toLocaleTimeString()}`}`; return html`${t`Last sync: ${this.value?.taskFinishTimestamp?.toLocaleTimeString()}`}`;
} }
getStatus(value: Task): Promise<AdminStatus> { getStatus(value: Task): Promise<AdminStatus> {

View File

@ -8,6 +8,7 @@ import "../../elements/EmptyState";
import "../../elements/events/ObjectChangelog"; import "../../elements/events/ObjectChangelog";
import "../policies/BoundPoliciesList"; import "../policies/BoundPoliciesList";
import "./ApplicationForm"; import "./ApplicationForm";
import "../../elements/PageHeader";
import { Application, CoreApi } from "authentik-api"; import { Application, CoreApi } from "authentik-api";
import { DEFAULT_CONFIG } from "../../api/Config"; import { DEFAULT_CONFIG } from "../../api/Config";
import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css";
@ -17,6 +18,7 @@ import PFCard from "@patternfly/patternfly/components/Card/card.css";
import AKGlobal from "../../authentik.css"; import AKGlobal from "../../authentik.css";
import PFBase from "@patternfly/patternfly/patternfly-base.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css";
import PFButton from "@patternfly/patternfly/components/Button/button.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css";
import { ifDefined } from "lit-html/directives/if-defined";
@customElement("ak-application-view") @customElement("ak-application-view")
export class ApplicationViewPage extends LitElement { export class ApplicationViewPage extends LitElement {
@ -47,28 +49,23 @@ export class ApplicationViewPage extends LitElement {
} }
render(): TemplateResult { render(): TemplateResult {
return html`<ak-page-header
icon=${this.application?.metaIcon || ""}
header=${this.application?.name}
description=${ifDefined(this.application?.metaPublisher)}
.iconImage=${true}>
</ak-page-header>
${this.renderApp()}`;
}
renderApp(): TemplateResult {
if (!this.application) { if (!this.application) {
return html`<section class="pf-c-page__main-section pf-m-light"> return html`<ak-empty-state
<div class="pf-c-content">
<h1>
${t`Loading...`}
</h1>
</div>
</section>
<ak-empty-state
?loading="${true}" ?loading="${true}"
header=${t`Loading`}> header=${t`Loading`}>
</ak-empty-state>`; </ak-empty-state>`;
} }
return html`<section class="pf-c-page__main-section pf-m-light"> return html`
<div class="pf-c-content">
<h1>
<img class="pf-icon" src="${this.application?.metaIcon || ""}" />
${this.application?.name}
</h1>
<p>${this.application?.metaPublisher}</p>
</div>
</section>
<ak-tabs> <ak-tabs>
<section slot="page-1" data-tab-title="${t`Overview`}" class="pf-c-page__main-section pf-m-no-padding-mobile"> <section slot="page-1" data-tab-title="${t`Overview`}" class="pf-c-page__main-section pf-m-no-padding-mobile">
<div class="pf-l-gallery pf-m-gutter"> <div class="pf-l-gallery pf-m-gutter">

View File

@ -9,6 +9,7 @@ import PFCard from "@patternfly/patternfly/components/Card/card.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css";
import AKGlobal from "../../authentik.css"; import AKGlobal from "../../authentik.css";
import "./EventInfo"; import "./EventInfo";
import "../../elements/PageHeader";
@customElement("ak-event-info-page") @customElement("ak-event-info-page")
export class EventInfoPage extends LitElement { export class EventInfoPage extends LitElement {
@ -34,14 +35,10 @@ export class EventInfoPage extends LitElement {
} }
render(): TemplateResult { render(): TemplateResult {
return html`<section class="pf-c-page__main-section pf-m-light"> return html`<ak-page-header
<div class="pf-c-content"> icon="pf-icon pf-icon-catalog"
<h1> header=${t`Event ${this.event?.pk || ""}`}>
<i class="pf-icon pf-icon-catalog"></i> </ak-page-header>
${t`Event ${this.event?.pk || ""}`}
</h1>
</div>
</section>
<section class="pf-c-page__main-section pf-m-no-padding-mobile"> <section class="pf-c-page__main-section pf-m-no-padding-mobile">
<div class="pf-c-card"> <div class="pf-c-card">
<div class="pf-c-card__title"> <div class="pf-c-card__title">

View File

@ -2,6 +2,7 @@ import { t } from "@lingui/macro";
import { css, CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; import { css, CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import "../../elements/Tabs"; import "../../elements/Tabs";
import "../../elements/PageHeader";
import "../../elements/events/ObjectChangelog"; import "../../elements/events/ObjectChangelog";
import "../../elements/buttons/SpinnerButton"; import "../../elements/buttons/SpinnerButton";
import "../policies/BoundPoliciesList"; import "../policies/BoundPoliciesList";
@ -49,15 +50,11 @@ export class FlowViewPage extends LitElement {
if (!this.flow) { if (!this.flow) {
return html``; return html``;
} }
return html`<section class="pf-c-page__main-section pf-m-light"> return html`<ak-page-header
<div class="pf-c-content"> icon="pf-icon pf-icon-process-automation"
<h1> header=${this.flow.name}
<i class="pf-icon pf-icon-process-automation"></i> description=${this.flow.title}>
${this.flow?.name} </ak-page-header>
</h1>
<p>${this.flow?.title}</p>
</div>
</section>
<ak-tabs> <ak-tabs>
<div slot="page-1" data-tab-title="${t`Flow Overview`}" class="pf-c-page__main-section pf-m-no-padding-mobile"> <div slot="page-1" data-tab-title="${t`Flow Overview`}" class="pf-c-page__main-section pf-m-no-padding-mobile">
<div class="pf-l-gallery pf-m-gutter"> <div class="pf-l-gallery pf-m-gutter">

View File

@ -2,6 +2,7 @@ import { css, CSSResult, customElement, html, LitElement, property, TemplateResu
import "../../elements/buttons/SpinnerButton"; import "../../elements/buttons/SpinnerButton";
import "../../elements/EmptyState"; import "../../elements/EmptyState";
import "../../elements/PageHeader";
import "./saml/SAMLProviderViewPage"; import "./saml/SAMLProviderViewPage";
import "./oauth2/OAuth2ProviderViewPage"; import "./oauth2/OAuth2ProviderViewPage";
@ -31,7 +32,7 @@ export class ProviderViewPage extends LitElement {
`]; `];
} }
render(): TemplateResult { renderProvider(): TemplateResult {
if (!this.provider) { if (!this.provider) {
return html`<ak-empty-state ?loading=${true} ?fullHeight=${true}></ak-empty-state>`; return html`<ak-empty-state ?loading=${true} ?fullHeight=${true}></ak-empty-state>`;
} }
@ -46,4 +47,13 @@ export class ProviderViewPage extends LitElement {
return html`<p>Invalid provider type ${this.provider?.component}</p>`; return html`<p>Invalid provider type ${this.provider?.component}</p>`;
} }
} }
render(): TemplateResult {
return html`<ak-page-header
icon="pf-icon pf-icon-integration"
header=${ifDefined(this.provider?.name)}
description=${ifDefined(this.provider?.verboseName)}>
</ak-page-header>
${this.renderProvider()}`;
}
} }

View File

@ -1,5 +1,5 @@
import { t } from "@lingui/macro"; import { t } from "@lingui/macro";
import { CSSResult, customElement, html, property, TemplateResult } from "lit-element"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import PFButton from "@patternfly/patternfly/components/Button/button.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css";
import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css";
@ -21,23 +21,13 @@ import "../../../elements/Tabs";
import "../../../elements/events/ObjectChangelog"; import "../../../elements/events/ObjectChangelog";
import "../RelatedApplicationButton"; import "../RelatedApplicationButton";
import "./OAuth2ProviderForm"; import "./OAuth2ProviderForm";
import { Page } from "../../../elements/Page";
import { convertToTitle } from "../../../utils"; import { convertToTitle } from "../../../utils";
import { OAuth2Provider, OAuth2ProviderSetupURLs, ProvidersApi } from "authentik-api"; import { OAuth2Provider, OAuth2ProviderSetupURLs, ProvidersApi } from "authentik-api";
import { DEFAULT_CONFIG } from "../../../api/Config"; import { DEFAULT_CONFIG } from "../../../api/Config";
import { EVENT_REFRESH } from "../../../constants"; import { EVENT_REFRESH } from "../../../constants";
@customElement("ak-provider-oauth2-view") @customElement("ak-provider-oauth2-view")
export class OAuth2ProviderViewPage extends Page { export class OAuth2ProviderViewPage extends LitElement {
pageTitle(): string {
return t`OAuth Provider ${this.provider?.name || ""}`;
}
pageDescription(): string | undefined {
return;
}
pageIcon(): string {
return "pf-icon pf-icon-integration";
}
@property({type: Number}) @property({type: Number})
set providerID(value: number) { set providerID(value: number) {
@ -72,7 +62,7 @@ export class OAuth2ProviderViewPage extends Page {
}); });
} }
renderContent(): TemplateResult { render(): TemplateResult {
if (!this.provider) { if (!this.provider) {
return html``; return html``;
} }

View File

@ -1,5 +1,5 @@
import { t } from "@lingui/macro"; import { t } from "@lingui/macro";
import { CSSResult, customElement, html, property, TemplateResult } from "lit-element"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import PFButton from "@patternfly/patternfly/components/Button/button.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css";
import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css";
@ -19,22 +19,12 @@ import "../../../elements/Tabs";
import "../../../elements/events/ObjectChangelog"; import "../../../elements/events/ObjectChangelog";
import "../RelatedApplicationButton"; import "../RelatedApplicationButton";
import "./ProxyProviderForm"; import "./ProxyProviderForm";
import { Page } from "../../../elements/Page";
import { ProvidersApi, ProxyProvider } from "authentik-api"; import { ProvidersApi, ProxyProvider } from "authentik-api";
import { DEFAULT_CONFIG } from "../../../api/Config"; import { DEFAULT_CONFIG } from "../../../api/Config";
import { EVENT_REFRESH } from "../../../constants"; import { EVENT_REFRESH } from "../../../constants";
@customElement("ak-provider-proxy-view") @customElement("ak-provider-proxy-view")
export class ProxyProviderViewPage extends Page { export class ProxyProviderViewPage extends LitElement {
pageTitle(): string {
return t`Proxy Provider ${this.provider?.name || ""}`;
}
pageDescription(): string | undefined {
return;
}
pageIcon(): string {
return "pf-icon pf-icon-integration";
}
@property() @property()
set args(value: { [key: string]: number }) { set args(value: { [key: string]: number }) {
@ -63,7 +53,7 @@ export class ProxyProviderViewPage extends Page {
}); });
} }
renderContent(): TemplateResult { render(): TemplateResult {
if (!this.provider) { if (!this.provider) {
return html``; return html``;
} }

View File

@ -1,5 +1,5 @@
import { t } from "@lingui/macro"; import { t } from "@lingui/macro";
import { CSSResult, customElement, html, property, TemplateResult } from "lit-element"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import { until } from "lit-html/directives/until"; import { until } from "lit-html/directives/until";
import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css";
@ -20,23 +20,13 @@ import "../../../elements/Tabs";
import "../../../elements/events/ObjectChangelog"; import "../../../elements/events/ObjectChangelog";
import "../RelatedApplicationButton"; import "../RelatedApplicationButton";
import "./SAMLProviderForm"; import "./SAMLProviderForm";
import { Page } from "../../../elements/Page";
import { ProvidersApi, SAMLProvider } from "authentik-api"; import { ProvidersApi, SAMLProvider } from "authentik-api";
import { DEFAULT_CONFIG } from "../../../api/Config"; import { DEFAULT_CONFIG } from "../../../api/Config";
import { EVENT_REFRESH } from "../../../constants"; import { EVENT_REFRESH } from "../../../constants";
import { ifDefined } from "lit-html/directives/if-defined"; import { ifDefined } from "lit-html/directives/if-defined";
@customElement("ak-provider-saml-view") @customElement("ak-provider-saml-view")
export class SAMLProviderViewPage extends Page { export class SAMLProviderViewPage extends LitElement {
pageTitle(): string {
return t`SAML Provider ${this.provider?.name || ""}`;
}
pageDescription(): string | undefined {
return;
}
pageIcon(): string {
return "pf-icon pf-icon-integration";
}
@property() @property()
set args(value: { [key: string]: number }) { set args(value: { [key: string]: number }) {
@ -65,7 +55,7 @@ export class SAMLProviderViewPage extends Page {
}); });
} }
renderContent(): TemplateResult { render(): TemplateResult {
if (!this.provider) { if (!this.provider) {
return html``; return html``;
} }

View File

@ -4,10 +4,12 @@ import { DEFAULT_CONFIG } from "../../api/Config";
import "../../elements/buttons/SpinnerButton"; import "../../elements/buttons/SpinnerButton";
import "../../elements/EmptyState"; import "../../elements/EmptyState";
import "../../elements/PageHeader";
import "./ldap/LDAPSourceViewPage"; import "./ldap/LDAPSourceViewPage";
import "./oauth/OAuthSourceViewPage"; import "./oauth/OAuthSourceViewPage";
import "./saml/SAMLSourceViewPage"; import "./saml/SAMLSourceViewPage";
import { ifDefined } from "lit-html/directives/if-defined";
@customElement("ak-source-view") @customElement("ak-source-view")
export class SourceViewPage extends LitElement { export class SourceViewPage extends LitElement {
@ -32,7 +34,7 @@ export class SourceViewPage extends LitElement {
`]; `];
} }
render(): TemplateResult { renderSource(): TemplateResult {
if (!this.source) { if (!this.source) {
return html`<ak-empty-state ?loading=${true} ?fullHeight=${true}></ak-empty-state>`; return html`<ak-empty-state ?loading=${true} ?fullHeight=${true}></ak-empty-state>`;
} }
@ -47,4 +49,13 @@ export class SourceViewPage extends LitElement {
return html`<p>Invalid source type ${this.source.component}</p>`; return html`<p>Invalid source type ${this.source.component}</p>`;
} }
} }
render(): TemplateResult {
return html`<ak-page-header
icon="pf-icon pf-icon-middleware"
header=${ifDefined(this.source?.name)}
description=${ifDefined(this.source?.verboseName)}>
</ak-page-header>
${this.renderSource()}`;
}
} }

View File

@ -1,5 +1,5 @@
import { t } from "@lingui/macro"; import { t } from "@lingui/macro";
import { CSSResult, customElement, html, property, TemplateResult } from "lit-element"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css";
@ -20,23 +20,13 @@ import "../../../elements/Tabs";
import "../../../elements/events/ObjectChangelog"; import "../../../elements/events/ObjectChangelog";
import "../../../elements/forms/ModalForm"; import "../../../elements/forms/ModalForm";
import "./LDAPSourceForm"; import "./LDAPSourceForm";
import { Page } from "../../../elements/Page";
import { until } from "lit-html/directives/until"; import { until } from "lit-html/directives/until";
import { LDAPSource, SourcesApi, TaskStatusEnum } from "authentik-api"; import { LDAPSource, SourcesApi, TaskStatusEnum } from "authentik-api";
import { DEFAULT_CONFIG } from "../../../api/Config"; import { DEFAULT_CONFIG } from "../../../api/Config";
import { EVENT_REFRESH } from "../../../constants"; import { EVENT_REFRESH } from "../../../constants";
@customElement("ak-source-ldap-view") @customElement("ak-source-ldap-view")
export class LDAPSourceViewPage extends Page { export class LDAPSourceViewPage extends LitElement {
pageTitle(): string {
return t`LDAP Source ${this.source?.name || ""}`;
}
pageDescription(): string | undefined {
return;
}
pageIcon(): string {
return "pf-icon pf-icon-middleware";
}
@property({ type: String }) @property({ type: String })
set sourceSlug(slug: string) { set sourceSlug(slug: string) {
@ -62,7 +52,7 @@ export class LDAPSourceViewPage extends Page {
}); });
} }
renderContent(): TemplateResult { render(): TemplateResult {
if (!this.source) { if (!this.source) {
return html``; return html``;
} }

View File

@ -1,5 +1,5 @@
import { t } from "@lingui/macro"; import { t } from "@lingui/macro";
import { CSSResult, customElement, html, property, TemplateResult } from "lit-element"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css";
@ -20,22 +20,12 @@ import "../../../elements/events/ObjectChangelog";
import "../../../elements/forms/ModalForm"; import "../../../elements/forms/ModalForm";
import "../../policies/BoundPoliciesList"; import "../../policies/BoundPoliciesList";
import "./OAuthSourceForm"; import "./OAuthSourceForm";
import { Page } from "../../../elements/Page";
import { OAuthSource, SourcesApi } from "authentik-api"; import { OAuthSource, SourcesApi } from "authentik-api";
import { DEFAULT_CONFIG } from "../../../api/Config"; import { DEFAULT_CONFIG } from "../../../api/Config";
import { EVENT_REFRESH } from "../../../constants"; import { EVENT_REFRESH } from "../../../constants";
@customElement("ak-source-oauth-view") @customElement("ak-source-oauth-view")
export class OAuthSourceViewPage extends Page { export class OAuthSourceViewPage extends LitElement {
pageTitle(): string {
return t`OAuth Source ${this.source?.name || ""}`;
}
pageDescription(): string | undefined {
return;
}
pageIcon(): string {
return "pf-icon pf-icon-middleware";
}
@property({ type: String }) @property({ type: String })
set sourceSlug(value: string) { set sourceSlug(value: string) {
@ -61,7 +51,7 @@ export class OAuthSourceViewPage extends Page {
}); });
} }
renderContent(): TemplateResult { render(): TemplateResult {
if (!this.source) { if (!this.source) {
return html``; return html``;
} }

View File

@ -1,5 +1,5 @@
import { t } from "@lingui/macro"; import { t } from "@lingui/macro";
import { CSSResult, customElement, html, property, TemplateResult } from "lit-element"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import { until } from "lit-html/directives/until"; import { until } from "lit-html/directives/until";
import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css";
@ -21,7 +21,6 @@ import "../../../elements/events/ObjectChangelog";
import "../../../elements/forms/ModalForm"; import "../../../elements/forms/ModalForm";
import "../../policies/BoundPoliciesList"; import "../../policies/BoundPoliciesList";
import "./SAMLSourceForm"; import "./SAMLSourceForm";
import { Page } from "../../../elements/Page";
import { SAMLSource, SourcesApi } from "authentik-api"; import { SAMLSource, SourcesApi } from "authentik-api";
import { DEFAULT_CONFIG } from "../../../api/Config"; import { DEFAULT_CONFIG } from "../../../api/Config";
import { AppURLManager } from "../../../api/legacy"; import { AppURLManager } from "../../../api/legacy";
@ -29,16 +28,7 @@ import { EVENT_REFRESH } from "../../../constants";
import { ifDefined } from "lit-html/directives/if-defined"; import { ifDefined } from "lit-html/directives/if-defined";
@customElement("ak-source-saml-view") @customElement("ak-source-saml-view")
export class SAMLSourceViewPage extends Page { export class SAMLSourceViewPage extends LitElement {
pageTitle(): string {
return t`SAML Source ${this.source?.name || ""}`;
}
pageDescription(): string | undefined {
return;
}
pageIcon(): string {
return "pf-icon pf-icon-integration";
}
@property({ type: String }) @property({ type: String })
set sourceSlug(slug: string) { set sourceSlug(slug: string) {
@ -64,7 +54,7 @@ export class SAMLSourceViewPage extends Page {
}); });
} }
renderContent(): TemplateResult { render(): TemplateResult {
if (!this.source) { if (!this.source) {
return html``; return html``;
} }

View File

@ -18,6 +18,7 @@ import { DEFAULT_CONFIG } from "../../api/Config";
import { until } from "lit-html/directives/until"; import { until } from "lit-html/directives/until";
import { ifDefined } from "lit-html/directives/if-defined"; import { ifDefined } from "lit-html/directives/if-defined";
import "../../elements/Tabs"; import "../../elements/Tabs";
import "../../elements/PageHeader";
import "./tokens/UserTokenList"; import "./tokens/UserTokenList";
import "./UserDetailsPage"; import "./UserDetailsPage";
import "./settings/UserSettingsAuthenticatorTOTP"; import "./settings/UserSettingsAuthenticatorTOTP";
@ -65,15 +66,11 @@ export class UserSettingsPage extends LitElement {
render(): TemplateResult { render(): TemplateResult {
return html`<div class="pf-c-page"> return html`<div class="pf-c-page">
<main role="main" class="pf-c-page__main" tabindex="-1"> <main role="main" class="pf-c-page__main" tabindex="-1">
<section class="pf-c-page__main-section pf-m-light"> <ak-page-header
<div class="pf-c-content"> icon="pf-icon pf-icon-user"
<h1> header=${t`User Settings`}
<i class="pf-icon pf-icon-user"></i> description=${t`Configure settings relevant to your user profile.`}>
${t`User Settings`} </ak-page-header>
</h1>
<p>${t`Configure settings relevant to your user profile.`}</p>
</div>
</section>
<ak-tabs ?vertical="${true}" style="height: 100%;"> <ak-tabs ?vertical="${true}" style="height: 100%;">
<section slot="page-1" data-tab-title="${t`User details`}" class="pf-c-page__main-section pf-m-no-padding-mobile"> <section slot="page-1" data-tab-title="${t`User details`}" class="pf-c-page__main-section pf-m-no-padding-mobile">
<ak-user-details></ak-user-details> <ak-user-details></ak-user-details>

View File

@ -1,5 +1,5 @@
import { t } from "@lingui/macro"; import { t } from "@lingui/macro";
import { CSSResult, customElement, html, property, TemplateResult } from "lit-element"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import PFPage from "@patternfly/patternfly/components/Page/page.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css";
import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css";
@ -24,7 +24,7 @@ import "../../elements/user/UserConsentList";
import "../../elements/oauth/UserCodeList"; import "../../elements/oauth/UserCodeList";
import "../../elements/oauth/UserRefreshList"; import "../../elements/oauth/UserRefreshList";
import "../../elements/charts/UserChart"; import "../../elements/charts/UserChart";
import { Page } from "../../elements/Page"; import "../../elements/PageHeader";
import { CoreApi, User } from "authentik-api"; import { CoreApi, User } from "authentik-api";
import { DEFAULT_CONFIG } from "../../api/Config"; import { DEFAULT_CONFIG } from "../../api/Config";
import { EVENT_REFRESH } from "../../constants"; import { EVENT_REFRESH } from "../../constants";
@ -33,16 +33,7 @@ import { MessageLevel } from "../../elements/messages/Message";
import { PFColor } from "../../elements/Label"; import { PFColor } from "../../elements/Label";
@customElement("ak-user-view") @customElement("ak-user-view")
export class UserViewPage extends Page { export class UserViewPage extends LitElement {
pageTitle(): string {
return t`User ${this.user?.username || ""}`;
}
pageDescription(): string | undefined {
return this.user?.name || "";
}
pageIcon(): string {
return "pf-icon pf-icon-user";
}
@property({ type: Number }) @property({ type: Number })
set userId(id: number) { set userId(id: number) {
@ -68,7 +59,16 @@ export class UserViewPage extends Page {
}); });
} }
renderContent(): TemplateResult { render(): TemplateResult {
return html`<ak-page-header
icon="pf-icon pf-icon-user"
header=${t`User ${this.user?.username || ""}`}
description=${this.user?.name || ""}>
</ak-page-header>
${this.renderBody()}`;
}
renderBody(): TemplateResult {
if (!this.user) { if (!this.user) {
return html``; return html``;
} }