web: rework and expand tooltips (#6435)
* web: replace custom tooltip with pfe-tooltip Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add tooltips to all edit buttons Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add tooltips to remaining table actions Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add a bunch more tooltips Signed-off-by: Jens Langhammer <jens@goauthentik.io> * update locale Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
561e6956fe
commit
8079952d47
|
@ -21,6 +21,7 @@
|
||||||
"@lit-labs/context": "^0.3.3",
|
"@lit-labs/context": "^0.3.3",
|
||||||
"@lit-labs/task": "^2.1.2",
|
"@lit-labs/task": "^2.1.2",
|
||||||
"@lit/localize": "^0.11.4",
|
"@lit/localize": "^0.11.4",
|
||||||
|
"@patternfly/elements": "^2.3.2",
|
||||||
"@patternfly/patternfly": "^4.224.2",
|
"@patternfly/patternfly": "^4.224.2",
|
||||||
"@sentry/browser": "^7.60.1",
|
"@sentry/browser": "^7.60.1",
|
||||||
"@sentry/tracing": "^7.60.1",
|
"@sentry/tracing": "^7.60.1",
|
||||||
|
@ -2853,6 +2854,28 @@
|
||||||
"integrity": "sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ==",
|
"integrity": "sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/@floating-ui/core": {
|
||||||
|
"version": "1.4.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.4.1.tgz",
|
||||||
|
"integrity": "sha512-jk3WqquEJRlcyu7997NtR5PibI+y5bi+LS3hPmguVClypenMsCY3CBa3LAQnozRCtCrYWSEtAdiskpamuJRFOQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"@floating-ui/utils": "^0.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@floating-ui/dom": {
|
||||||
|
"version": "1.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.5.1.tgz",
|
||||||
|
"integrity": "sha512-KwvVcPSXg6mQygvA1TjbN/gh///36kKtllIF8SUm0qpFj8+rvYrpvlYdL1JoA71SHpDqgSSdGOSoQ0Mp3uY5aw==",
|
||||||
|
"dependencies": {
|
||||||
|
"@floating-ui/core": "^1.4.1",
|
||||||
|
"@floating-ui/utils": "^0.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@floating-ui/utils": {
|
||||||
|
"version": "0.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.1.1.tgz",
|
||||||
|
"integrity": "sha512-m0G6wlnhm/AX0H12IOWtK8gASEMffnX08RtKkCgTdHb9JpHKGloI7icFfLg9ZmQeavcvR0PKmzxClyuFPSjKWw=="
|
||||||
|
},
|
||||||
"node_modules/@formatjs/ecma402-abstract": {
|
"node_modules/@formatjs/ecma402-abstract": {
|
||||||
"version": "1.17.0",
|
"version": "1.17.0",
|
||||||
"resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.17.0.tgz",
|
"resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.17.0.tgz",
|
||||||
|
@ -3612,11 +3635,46 @@
|
||||||
"node": ">= 8"
|
"node": ">= 8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@patternfly/elements": {
|
||||||
|
"version": "2.3.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@patternfly/elements/-/elements-2.3.2.tgz",
|
||||||
|
"integrity": "sha512-cndt+xxlUKbWU8GxFlOXMNqNeJ792kXUnvcYZbUIA+TUbWD71yw0kdC+EOWql94B4jtzOmDyG7Eq33il3G6ZLQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"@patternfly/icons": "^1.0.2",
|
||||||
|
"@patternfly/pfe-core": "^2.4.0",
|
||||||
|
"lit": "2.6.1",
|
||||||
|
"tslib": "^2.4.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@patternfly/elements/node_modules/lit": {
|
||||||
|
"version": "2.6.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/lit/-/lit-2.6.1.tgz",
|
||||||
|
"integrity": "sha512-DT87LD64f8acR7uVp7kZfhLRrHkfC/N4BVzAtnw9Yg8087mbBJ//qedwdwX0kzDbxgPccWRW6mFwGbRQIxy0pw==",
|
||||||
|
"dependencies": {
|
||||||
|
"@lit/reactive-element": "^1.6.0",
|
||||||
|
"lit-element": "^3.2.0",
|
||||||
|
"lit-html": "^2.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@patternfly/icons": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@patternfly/icons/-/icons-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-/faOTZsKkTPxuCDcWZbunknjUhJIjjN0h+OicNiFWxTq/saLp366cLhdgNf8A46oeGR/21aQTYVXTqcQA1yvOg=="
|
||||||
|
},
|
||||||
"node_modules/@patternfly/patternfly": {
|
"node_modules/@patternfly/patternfly": {
|
||||||
"version": "4.224.2",
|
"version": "4.224.2",
|
||||||
"resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.224.2.tgz",
|
"resolved": "https://registry.npmjs.org/@patternfly/patternfly/-/patternfly-4.224.2.tgz",
|
||||||
"integrity": "sha512-HGNV26uyHSIECuhjPg/WGn0mXbAotcs6ODfhAOkfYjIgGylddgiwElxUe1rpEHV5mQJJ2rMn4OdeJIIpzRX61g=="
|
"integrity": "sha512-HGNV26uyHSIECuhjPg/WGn0mXbAotcs6ODfhAOkfYjIgGylddgiwElxUe1rpEHV5mQJJ2rMn4OdeJIIpzRX61g=="
|
||||||
},
|
},
|
||||||
|
"node_modules/@patternfly/pfe-core": {
|
||||||
|
"version": "2.4.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@patternfly/pfe-core/-/pfe-core-2.4.1.tgz",
|
||||||
|
"integrity": "sha512-ZqN4Zk2ysrnHp84hKvUr54xeSwtzqM3qRPpMzdd2fa58htYnPfhow4TQ8LH9vArLxPzEAB3Hrfql0VW1bk5PXw==",
|
||||||
|
"dependencies": {
|
||||||
|
"@floating-ui/dom": "^1.2.6",
|
||||||
|
"lit": "^2.7.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@pkgjs/parseargs": {
|
"node_modules/@pkgjs/parseargs": {
|
||||||
"version": "0.11.0",
|
"version": "0.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
"@lit-labs/context": "^0.3.3",
|
"@lit-labs/context": "^0.3.3",
|
||||||
"@lit-labs/task": "^2.1.2",
|
"@lit-labs/task": "^2.1.2",
|
||||||
"@lit/localize": "^0.11.4",
|
"@lit/localize": "^0.11.4",
|
||||||
|
"@patternfly/elements": "^2.3.2",
|
||||||
"@patternfly/patternfly": "^4.224.2",
|
"@patternfly/patternfly": "^4.224.2",
|
||||||
"@sentry/browser": "^7.60.1",
|
"@sentry/browser": "^7.60.1",
|
||||||
"@sentry/tracing": "^7.60.1",
|
"@sentry/tracing": "^7.60.1",
|
||||||
|
|
|
@ -10,6 +10,7 @@ import { ModelForm } from "@goauthentik/elements/forms/ModelForm";
|
||||||
import "@goauthentik/elements/forms/ProxyForm";
|
import "@goauthentik/elements/forms/ProxyForm";
|
||||||
import "@goauthentik/elements/forms/Radio";
|
import "@goauthentik/elements/forms/Radio";
|
||||||
import "@goauthentik/elements/forms/SearchSelect";
|
import "@goauthentik/elements/forms/SearchSelect";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -168,7 +169,9 @@ export class ApplicationForm extends ModelForm<Application, string> {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-control" type="button">
|
<button slot="trigger" class="pf-c-button pf-m-control" type="button">
|
||||||
|
<pf-tooltip position="top" content=${msg("Add provider")}>
|
||||||
<i class="fas fa-plus" aria-hidden="true"></i>
|
<i class="fas fa-plus" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-provider-select-table>
|
</ak-provider-select-table>
|
||||||
<div class="pf-c-form-control">
|
<div class="pf-c-form-control">
|
||||||
|
|
|
@ -13,6 +13,7 @@ import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
import "@goauthentik/user/LibraryApplication/AppIcon";
|
import "@goauthentik/user/LibraryApplication/AppIcon";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, css, html } from "lit";
|
import { CSSResult, TemplateResult, css, html } from "lit";
|
||||||
|
@ -144,12 +145,16 @@ export class ApplicationListPage extends TablePage<Application> {
|
||||||
<ak-application-form slot="form" .instancePk=${item.slug}>
|
<ak-application-form slot="form" .instancePk=${item.slug}>
|
||||||
</ak-application-form>
|
</ak-application-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
${item.launchUrl
|
${item.launchUrl
|
||||||
? html`<a href=${item.launchUrl} target="_blank" class="pf-c-button pf-m-plain">
|
? html`<a href=${item.launchUrl} target="_blank" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Open")}>
|
||||||
<i class="fas fa-share-square"></i>
|
<i class="fas fa-share-square"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</a>`
|
</a>`
|
||||||
: html``}`,
|
: html``}`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -10,6 +10,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, html } from "lit";
|
import { CSSResult, TemplateResult, html } from "lit";
|
||||||
|
@ -140,14 +141,17 @@ export class BlueprintListPage extends TablePage<BlueprintInstance> {
|
||||||
html`<ak-label color=${item.enabled ? PFColor.Green : PFColor.Red}>
|
html`<ak-label color=${item.enabled ? PFColor.Green : PFColor.Red}>
|
||||||
${item.enabled ? msg("Yes") : msg("No")}
|
${item.enabled ? msg("Yes") : msg("No")}
|
||||||
</ak-label>`,
|
</ak-label>`,
|
||||||
html` <ak-forms-modal>
|
html`<ak-forms-modal>
|
||||||
<span slot="submit"> ${msg("Update")} </span>
|
<span slot="submit"> ${msg("Update")} </span>
|
||||||
<span slot="header"> ${msg("Update Blueprint")} </span>
|
<span slot="header"> ${msg("Update Blueprint")} </span>
|
||||||
<ak-blueprint-form slot="form" .instancePk=${item.pk}> </ak-blueprint-form>
|
<ak-blueprint-form slot="form" .instancePk=${item.pk}> </ak-blueprint-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
</button> </ak-forms-modal
|
</pf-tooltip>
|
||||||
><ak-action-button
|
</button>
|
||||||
|
</ak-forms-modal>
|
||||||
|
<ak-action-button
|
||||||
class="pf-m-plain"
|
class="pf-m-plain"
|
||||||
.apiRequest=${() => {
|
.apiRequest=${() => {
|
||||||
return new ManagedApi(DEFAULT_CONFIG)
|
return new ManagedApi(DEFAULT_CONFIG)
|
||||||
|
@ -164,7 +168,9 @@ export class BlueprintListPage extends TablePage<BlueprintInstance> {
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<pf-tooltip position="top" content=${msg("Apply")}>
|
||||||
<i class="fas fa-play" aria-hidden="true"></i>
|
<i class="fas fa-play" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</ak-action-button>`,
|
</ak-action-button>`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, html } from "lit";
|
import { CSSResult, TemplateResult, html } from "lit";
|
||||||
|
@ -123,7 +124,9 @@ export class CertificateKeyPairListPage extends TablePage<CertificateKeyPair> {
|
||||||
<ak-crypto-certificate-form slot="form" .instancePk=${item.pk}>
|
<ak-crypto-certificate-form slot="form" .instancePk=${item.pk}>
|
||||||
</ak-crypto-certificate-form>
|
</ak-crypto-certificate-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -10,6 +10,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, css, html } from "lit";
|
import { CSSResult, TemplateResult, css, html } from "lit";
|
||||||
|
@ -227,7 +228,9 @@ export class EnterpriseLicenseListPage extends TablePage<License> {
|
||||||
<ak-enterprise-license-form slot="form" .instancePk=${item.licenseUuid}>
|
<ak-enterprise-license-form slot="form" .instancePk=${item.licenseUuid}>
|
||||||
</ak-enterprise-license-form>
|
</ak-enterprise-license-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -6,6 +6,7 @@ import { uiConfig } from "@goauthentik/common/ui/config";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -75,7 +76,9 @@ export class EventListPage extends TablePage<Event> {
|
||||||
<small>${EventGeo(item)}</small>`,
|
<small>${EventGeo(item)}</small>`,
|
||||||
html`<span>${item.tenant?.name || msg("-")}</span>`,
|
html`<span>${item.tenant?.name || msg("-")}</span>`,
|
||||||
html`<a href="#/events/log/${item.pk}">
|
html`<a href="#/events/log/${item.pk}">
|
||||||
|
<pf-tooltip position="top" content=${msg("Show details")}>
|
||||||
<i class="fas fa-share-square"></i>
|
<i class="fas fa-share-square"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</a>`,
|
</a>`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -91,7 +92,9 @@ export class RuleListPage extends TablePage<NotificationRule> {
|
||||||
<span slot="header"> ${msg("Update Notification Rule")} </span>
|
<span slot="header"> ${msg("Update Notification Rule")} </span>
|
||||||
<ak-event-rule-form slot="form" .instancePk=${item.pk}> </ak-event-rule-form>
|
<ak-event-rule-form slot="form" .instancePk=${item.pk}> </ak-event-rule-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -8,6 +8,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -84,7 +85,9 @@ export class TransportListPage extends TablePage<NotificationTransport> {
|
||||||
<ak-event-transport-form slot="form" .instancePk=${item.pk}>
|
<ak-event-transport-form slot="form" .instancePk=${item.pk}>
|
||||||
</ak-event-transport-form>
|
</ak-event-transport-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
<ak-action-button
|
<ak-action-button
|
||||||
|
@ -95,7 +98,9 @@ export class TransportListPage extends TablePage<NotificationTransport> {
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<pf-tooltip position="top" content=${msg("Test")}>
|
||||||
<i class="fas fa-vial" aria-hidden="true"></i>
|
<i class="fas fa-vial" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</ak-action-button>`,
|
</ak-action-button>`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -103,7 +104,9 @@ export class FlowListPage extends TablePage<Flow> {
|
||||||
<span slot="header"> ${msg("Update Flow")} </span>
|
<span slot="header"> ${msg("Update Flow")} </span>
|
||||||
<ak-flow-form slot="form" .instancePk=${item.slug}> </ak-flow-form>
|
<ak-flow-form slot="form" .instancePk=${item.slug}> </ak-flow-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
<button
|
<button
|
||||||
|
@ -115,10 +118,14 @@ export class FlowListPage extends TablePage<Flow> {
|
||||||
window.open(finalURL, "_blank");
|
window.open(finalURL, "_blank");
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<i class="fas fa-play"></i>
|
<pf-tooltip position="top" content=${msg("Execute")}>
|
||||||
|
<i class="fas fa-play" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
<a class="pf-c-button pf-m-plain" href=${item.exportUrl}>
|
<a class="pf-c-button pf-m-plain" href=${item.exportUrl}>
|
||||||
|
<pf-tooltip position="top" content=${msg("Export")}>
|
||||||
<i class="fas fa-download"></i>
|
<i class="fas fa-download"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</a>`,
|
</a>`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -88,7 +89,9 @@ export class GroupListPage extends TablePage<Group> {
|
||||||
<span slot="header"> ${msg("Update Group")} </span>
|
<span slot="header"> ${msg("Update Group")} </span>
|
||||||
<ak-group-form slot="form" .instancePk=${item.pk}> </ak-group-form>
|
<ak-group-form slot="form" .instancePk=${item.pk}> </ak-group-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -11,6 +11,7 @@ import "@goauthentik/elements/forms/HorizontalFormElement";
|
||||||
import "@goauthentik/elements/forms/ModalForm";
|
import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { Table, TableColumn } from "@goauthentik/elements/table/Table";
|
import { Table, TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -56,7 +57,9 @@ export class RelatedGroupAdd extends Form<{ groups: string[] }> {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-control" type="button">
|
<button slot="trigger" class="pf-c-button pf-m-control" type="button">
|
||||||
|
<pf-tooltip position="top" content=${msg("Add group")}>
|
||||||
<i class="fas fa-plus" aria-hidden="true"></i>
|
<i class="fas fa-plus" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-user-group-select-table>
|
</ak-user-group-select-table>
|
||||||
<div class="pf-c-form-control">
|
<div class="pf-c-form-control">
|
||||||
|
@ -150,7 +153,9 @@ export class RelatedGroupList extends Table<Group> {
|
||||||
<span slot="header"> ${msg("Update Group")} </span>
|
<span slot="header"> ${msg("Update Group")} </span>
|
||||||
<ak-group-form slot="form" .instancePk=${item.pk}> </ak-group-form>
|
<ak-group-form slot="form" .instancePk=${item.pk}> </ak-group-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -13,6 +13,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { CSSResult } from "lit";
|
import { CSSResult } from "lit";
|
||||||
|
@ -135,7 +136,9 @@ export class OutpostListPage extends TablePage<Outpost> {
|
||||||
>
|
>
|
||||||
</ak-outpost-form>
|
</ak-outpost-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
${item.managed !== "goauthentik.io/outposts/embedded"
|
${item.managed !== "goauthentik.io/outposts/embedded"
|
||||||
|
|
|
@ -12,6 +12,7 @@ import "@goauthentik/elements/forms/ProxyForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -99,7 +100,9 @@ export class OutpostServiceConnectionListPage extends TablePage<ServiceConnectio
|
||||||
>
|
>
|
||||||
</ak-proxy-form>
|
</ak-proxy-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -16,6 +16,7 @@ import "@goauthentik/elements/forms/ProxyForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -86,7 +87,9 @@ export class PolicyListPage extends TablePage<Policy> {
|
||||||
>
|
>
|
||||||
</ak-proxy-form>
|
</ak-proxy-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
<i class="fas fa-pencil-alt" aria-hidden="true"></i>
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
<ak-forms-modal .closeAfterSuccessfulSubmit=${false}>
|
<ak-forms-modal .closeAfterSuccessfulSubmit=${false}>
|
||||||
|
@ -94,7 +97,9 @@ export class PolicyListPage extends TablePage<Policy> {
|
||||||
<span slot="header"> ${msg("Test Policy")} </span>
|
<span slot="header"> ${msg("Test Policy")} </span>
|
||||||
<ak-policy-test-form slot="form" .policy=${item}> </ak-policy-test-form>
|
<ak-policy-test-form slot="form" .policy=${item}> </ak-policy-test-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Test")}>
|
||||||
<i class="fas fa-vial" aria-hidden="true"></i>
|
<i class="fas fa-vial" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -14,6 +14,7 @@ import { getURLParam, updateURLParams } from "@goauthentik/elements/router/Route
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -101,7 +102,9 @@ export class PropertyMappingListPage extends TablePage<PropertyMapping> {
|
||||||
>
|
>
|
||||||
</ak-proxy-form>
|
</ak-proxy-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
<ak-forms-modal .closeAfterSuccessfulSubmit=${false}>
|
<ak-forms-modal .closeAfterSuccessfulSubmit=${false}>
|
||||||
|
@ -110,7 +113,9 @@ export class PropertyMappingListPage extends TablePage<PropertyMapping> {
|
||||||
<ak-property-mapping-test-form slot="form" .mapping=${item}>
|
<ak-property-mapping-test-form slot="form" .mapping=${item}>
|
||||||
</ak-property-mapping-test-form>
|
</ak-property-mapping-test-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Test")}>
|
||||||
<i class="fas fa-vial" aria-hidden="true"></i>
|
<i class="fas fa-vial" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -14,6 +14,7 @@ import "@goauthentik/elements/forms/ProxyForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -118,7 +119,9 @@ export class ProviderListPage extends TablePage<Provider> {
|
||||||
>
|
>
|
||||||
</ak-proxy-form>
|
</ak-proxy-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -12,6 +12,7 @@ import "@goauthentik/elements/forms/ProxyForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -107,7 +108,9 @@ export class SourceListPage extends TablePage<Source> {
|
||||||
>
|
>
|
||||||
</ak-proxy-form>
|
</ak-proxy-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -27,6 +27,7 @@ import "@goauthentik/elements/forms/ProxyForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -108,7 +109,9 @@ export class StageListPage extends TablePage<Stage> {
|
||||||
>
|
>
|
||||||
</ak-stage-authenticator-duo-device-import-form>
|
</ak-stage-authenticator-duo-device-import-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
<i class="fas fa-file-import"></i>
|
<pf-tooltip position="top" content=${msg("Import devices")}>
|
||||||
|
<i class="fas fa-file-import" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`;
|
</ak-forms-modal>`;
|
||||||
default:
|
default:
|
||||||
|
@ -141,7 +144,9 @@ export class StageListPage extends TablePage<Stage> {
|
||||||
>
|
>
|
||||||
</ak-proxy-form>
|
</ak-proxy-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
${this.renderStageActions(item)}`,
|
${this.renderStageActions(item)}`,
|
||||||
|
|
|
@ -10,6 +10,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, html } from "lit";
|
import { CSSResult, TemplateResult, html } from "lit";
|
||||||
|
@ -127,7 +128,9 @@ export class InvitationListPage extends TablePage<Invitation> {
|
||||||
<span slot="header"> ${msg("Update Invitation")} </span>
|
<span slot="header"> ${msg("Update Invitation")} </span>
|
||||||
<ak-invitation-form slot="form" .instancePk=${item.pk}> </ak-invitation-form>
|
<ak-invitation-form slot="form" .instancePk=${item.pk}> </ak-invitation-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -8,6 +8,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -91,7 +92,9 @@ export class PromptListPage extends TablePage<Prompt> {
|
||||||
<span slot="header"> ${msg("Update Prompt")} </span>
|
<span slot="header"> ${msg("Update Prompt")} </span>
|
||||||
<ak-prompt-form slot="form" .instancePk=${item.pk}> </ak-prompt-form>
|
<ak-prompt-form slot="form" .instancePk=${item.pk}> </ak-prompt-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -6,6 +6,7 @@ import "@goauthentik/elements/buttons/SpinnerButton";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, html } from "lit";
|
import { CSSResult, TemplateResult, html } from "lit";
|
||||||
|
@ -133,7 +134,9 @@ export class SystemTaskListPage extends TablePage<Task> {
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<i class="fas fa-play" aria-hidden="true"></i>
|
<pf-tooltip position="top" content=${msg("Restart task")}>
|
||||||
|
<i class="fas fa-redo" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</ak-action-button>`,
|
</ak-action-button>`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -88,7 +89,9 @@ export class TenantListPage extends TablePage<Tenant> {
|
||||||
<span slot="header"> ${msg("Update Tenant")} </span>
|
<span slot="header"> ${msg("Update Tenant")} </span>
|
||||||
<ak-tenant-form slot="form" .instancePk=${item.tenantUuid}> </ak-tenant-form>
|
<ak-tenant-form slot="form" .instancePk=${item.tenantUuid}> </ak-tenant-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`,
|
</ak-forms-modal>`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -9,6 +9,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -128,7 +129,9 @@ export class TokenListPage extends TablePage<Token> {
|
||||||
<span slot="header"> ${msg("Update Token")} </span>
|
<span slot="header"> ${msg("Update Token")} </span>
|
||||||
<ak-token-form slot="form" .instancePk=${item.identifier}></ak-token-form>
|
<ak-token-form slot="form" .instancePk=${item.identifier}></ak-token-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>`
|
</ak-forms-modal>`
|
||||||
: html``}
|
: html``}
|
||||||
|
@ -136,7 +139,9 @@ export class TokenListPage extends TablePage<Token> {
|
||||||
class="pf-c-button pf-m-plain"
|
class="pf-c-button pf-m-plain"
|
||||||
identifier="${item.identifier}"
|
identifier="${item.identifier}"
|
||||||
>
|
>
|
||||||
|
<pf-tooltip position="top" content=${msg("Copy token")}>
|
||||||
<i class="fas fa-copy"></i>
|
<i class="fas fa-copy"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</ak-token-copy-button>
|
</ak-token-copy-button>
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -20,6 +20,7 @@ import { getURLParam, updateURLParams } from "@goauthentik/elements/router/Route
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { Table, TableColumn } from "@goauthentik/elements/table/Table";
|
import { Table, TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { UserOption } from "@goauthentik/elements/user/utils";
|
import { UserOption } from "@goauthentik/elements/user/utils";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, html } from "lit";
|
import { CSSResult, TemplateResult, html } from "lit";
|
||||||
|
@ -70,7 +71,9 @@ export class RelatedUserAdd extends Form<{ users: number[] }> {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-control" type="button">
|
<button slot="trigger" class="pf-c-button pf-m-control" type="button">
|
||||||
|
<pf-tooltip position="top" content=${msg("Add users")}>
|
||||||
<i class="fas fa-plus" aria-hidden="true"></i>
|
<i class="fas fa-plus" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-group-member-select-table>
|
</ak-group-member-select-table>
|
||||||
<div class="pf-c-form-control">
|
<div class="pf-c-form-control">
|
||||||
|
@ -187,7 +190,9 @@ export class RelatedUserList extends Table<User> {
|
||||||
<span slot="header"> ${msg("Update User")} </span>
|
<span slot="header"> ${msg("Update User")} </span>
|
||||||
<ak-user-form slot="form" .instancePk=${item.pk}> </ak-user-form>
|
<ak-user-form slot="form" .instancePk=${item.pk}> </ak-user-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
${rootInterface()?.config?.capabilities.includes(CapabilitiesEnum.CanImpersonate)
|
${rootInterface()?.config?.capabilities.includes(CapabilitiesEnum.CanImpersonate)
|
||||||
|
|
|
@ -20,6 +20,7 @@ import { getURLParam, updateURLParams } from "@goauthentik/elements/router/Route
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { TableColumn } from "@goauthentik/elements/table/Table";
|
import { TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
import { TablePage } from "@goauthentik/elements/table/TablePage";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg, str } from "@lit/localize";
|
import { msg, str } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, html } from "lit";
|
import { CSSResult, TemplateResult, html } from "lit";
|
||||||
|
@ -192,7 +193,9 @@ export class UserListPage extends TablePage<User> {
|
||||||
<span slot="header"> ${msg("Update User")} </span>
|
<span slot="header"> ${msg("Update User")} </span>
|
||||||
<ak-user-form slot="form" .instancePk=${item.pk}> </ak-user-form>
|
<ak-user-form slot="form" .instancePk=${item.pk}> </ak-user-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
${rootInterface()?.config?.capabilities.includes(CapabilitiesEnum.CanImpersonate)
|
${rootInterface()?.config?.capabilities.includes(CapabilitiesEnum.CanImpersonate)
|
||||||
|
|
|
@ -9,6 +9,7 @@ import {
|
||||||
import { currentInterface } from "@goauthentik/common/sentry";
|
import { currentInterface } from "@goauthentik/common/sentry";
|
||||||
import { me } from "@goauthentik/common/users";
|
import { me } from "@goauthentik/common/users";
|
||||||
import { AKElement, rootInterface } from "@goauthentik/elements/Base";
|
import { AKElement, rootInterface } from "@goauthentik/elements/Base";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, css, html } from "lit";
|
import { CSSResult, TemplateResult, css, html } from "lit";
|
||||||
|
@ -169,7 +170,9 @@ export class PageHeader extends AKElement {
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<pf-tooltip position="top" content=${msg("Open API drawer")}>
|
||||||
<i class="fas fa-code"></i>
|
<i class="fas fa-code"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="notification-trigger pf-c-button pf-m-plain ${this.hasNotifications
|
class="notification-trigger pf-c-button pf-m-plain ${this.hasNotifications
|
||||||
|
@ -184,7 +187,9 @@ export class PageHeader extends AKElement {
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<pf-tooltip position="top" content=${msg("Open Notification drawer")}>
|
||||||
<i class="fas fa-bell"></i>
|
<i class="fas fa-bell"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</div>`;
|
</div>`;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,55 +0,0 @@
|
||||||
import { AKElement } from "@goauthentik/elements/Base";
|
|
||||||
|
|
||||||
import { CSSResult, TemplateResult, css, html } from "lit";
|
|
||||||
import { customElement, state } from "lit/decorators.js";
|
|
||||||
|
|
||||||
import PFTooltip from "@patternfly/patternfly/components/Tooltip/tooltip.css";
|
|
||||||
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
|
||||||
|
|
||||||
@customElement("ak-tooltip")
|
|
||||||
export class Tooltip extends AKElement {
|
|
||||||
@state()
|
|
||||||
open = false;
|
|
||||||
|
|
||||||
static get styles(): CSSResult[] {
|
|
||||||
return [
|
|
||||||
PFBase,
|
|
||||||
PFTooltip,
|
|
||||||
css`
|
|
||||||
.pf-c-tooltip__content {
|
|
||||||
text-align: inherit;
|
|
||||||
}
|
|
||||||
.outer {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.pf-c-tooltip {
|
|
||||||
position: absolute;
|
|
||||||
z-index: 999;
|
|
||||||
}
|
|
||||||
`,
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
render(): TemplateResult {
|
|
||||||
return html`<slot
|
|
||||||
@mouseenter=${() => {
|
|
||||||
this.open = true;
|
|
||||||
}}
|
|
||||||
@mouseleave=${() => {
|
|
||||||
this.open = false;
|
|
||||||
}}
|
|
||||||
name="trigger"
|
|
||||||
></slot>
|
|
||||||
${this.open
|
|
||||||
? html`<div class="outer">
|
|
||||||
<div class="pf-c-tooltip" role="tooltip">
|
|
||||||
<div class="pf-c-tooltip__arrow"></div>
|
|
||||||
|
|
||||||
<div class="pf-c-tooltip__content">
|
|
||||||
<slot name="tooltip"></slot>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>`
|
|
||||||
: html``}`;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,5 +1,7 @@
|
||||||
import { AKElement } from "@goauthentik/elements/Base";
|
import { AKElement } from "@goauthentik/elements/Base";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
|
import { msg } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, html } from "lit";
|
import { CSSResult, TemplateResult, html } from "lit";
|
||||||
import { customElement, property } from "lit/decorators.js";
|
import { customElement, property } from "lit/decorators.js";
|
||||||
|
|
||||||
|
@ -38,7 +40,9 @@ export class Chip extends AKElement {
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<pf-tooltip position="top" content=${msg("Remove item")}>
|
||||||
<i class="fas fa-times" aria-hidden="true"></i>
|
<i class="fas fa-times" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>`
|
</button>`
|
||||||
: html``}
|
: html``}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -99,7 +99,9 @@ export class NotificationDrawer extends AKElement {
|
||||||
class="pf-c-dropdown__toggle pf-m-plain"
|
class="pf-c-dropdown__toggle pf-m-plain"
|
||||||
href="/if/admin/#/events/log/${item.event?.pk}"
|
href="/if/admin/#/events/log/${item.event?.pk}"
|
||||||
>
|
>
|
||||||
|
<pf-tooltip position="top" content=${msg("Show details")}>
|
||||||
<i class="fas fa-share-square"></i>
|
<i class="fas fa-share-square"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</a>
|
</a>
|
||||||
`}
|
`}
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { AKElement } from "@goauthentik/elements/Base";
|
import { AKElement } from "@goauthentik/elements/Base";
|
||||||
import "@goauthentik/elements/Tooltip";
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, html } from "lit";
|
import { CSSResult, TemplateResult, html } from "lit";
|
||||||
|
@ -19,15 +19,15 @@ export class TimeDeltaHelp extends AKElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
render(): TemplateResult {
|
render(): TemplateResult {
|
||||||
return html` <ak-tooltip>
|
return html`<div class="pf-c-form__helper-text">
|
||||||
<p class="pf-c-form__helper-text" slot="trigger">
|
<span>
|
||||||
${this.negative
|
${this.negative
|
||||||
? msg("(Format: hours=-1;minutes=-2;seconds=-3).")
|
? msg("(Format: hours=-1;minutes=-2;seconds=-3).")
|
||||||
: msg("(Format: hours=1;minutes=2;seconds=3).")}
|
: msg("(Format: hours=1;minutes=2;seconds=3).")}
|
||||||
|
</span>
|
||||||
|
<pf-tooltip position="top">
|
||||||
<i class="pf-icon fa fa-question-circle" aria-hidden="true"></i>
|
<i class="pf-icon fa fa-question-circle" aria-hidden="true"></i>
|
||||||
</p>
|
<div slot="content">
|
||||||
|
|
||||||
<div slot="tooltip">
|
|
||||||
${msg("The following keywords are supported:")}
|
${msg("The following keywords are supported:")}
|
||||||
<ul class="pf-c-list">
|
<ul class="pf-c-list">
|
||||||
<li><pre>microseconds</pre></li>
|
<li><pre>microseconds</pre></li>
|
||||||
|
@ -39,6 +39,7 @@ export class TimeDeltaHelp extends AKElement {
|
||||||
<li><pre>weeks</pre></li>
|
<li><pre>weeks</pre></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</ak-tooltip>`;
|
</pf-tooltip>
|
||||||
|
</div>`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -100,7 +100,7 @@ export class LibraryApplication extends AKElement {
|
||||||
class="pf-c-button pf-m-control pf-m-small pf-m-block"
|
class="pf-c-button pf-m-control pf-m-small pf-m-block"
|
||||||
href="/if/admin/#/core/applications/${this.application?.slug}"
|
href="/if/admin/#/core/applications/${this.application?.slug}"
|
||||||
>
|
>
|
||||||
<i class="fas fa-pencil-alt"></i> ${msg("Edit")}
|
<i class="fas fa-edit"></i> ${msg("Edit")}
|
||||||
</a>
|
</a>
|
||||||
`
|
`
|
||||||
: html``}
|
: html``}
|
||||||
|
|
|
@ -22,6 +22,7 @@ import "@goauthentik/elements/sidebar/Sidebar";
|
||||||
import { DefaultTenant } from "@goauthentik/elements/sidebar/SidebarBrand";
|
import { DefaultTenant } from "@goauthentik/elements/sidebar/SidebarBrand";
|
||||||
import "@goauthentik/elements/sidebar/SidebarItem";
|
import "@goauthentik/elements/sidebar/SidebarItem";
|
||||||
import { ROUTES } from "@goauthentik/user/Routes";
|
import { ROUTES } from "@goauthentik/user/Routes";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, css, html } from "lit";
|
import { CSSResult, TemplateResult, css, html } from "lit";
|
||||||
|
@ -210,8 +211,13 @@ export class UserInterface extends Interface {
|
||||||
apiDrawerOpen: this.apiDrawerOpen,
|
apiDrawerOpen: this.apiDrawerOpen,
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
|
>
|
||||||
|
<pf-tooltip
|
||||||
|
position="top"
|
||||||
|
content=${msg("Open API drawer")}
|
||||||
>
|
>
|
||||||
<i class="fas fa-code" aria-hidden="true"></i>
|
<i class="fas fa-code" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</div>`
|
</div>`
|
||||||
: html``}
|
: html``}
|
||||||
|
@ -237,8 +243,13 @@ export class UserInterface extends Interface {
|
||||||
.notificationsCount > 0
|
.notificationsCount > 0
|
||||||
? "pf-m-unread"
|
? "pf-m-unread"
|
||||||
: ""}"
|
: ""}"
|
||||||
|
>
|
||||||
|
<pf-tooltip
|
||||||
|
position="top"
|
||||||
|
content=${msg("Open Notification drawer")}
|
||||||
>
|
>
|
||||||
<i class="fas fa-bell" aria-hidden="true"></i>
|
<i class="fas fa-bell" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
<span class="pf-c-notification-badge__count"
|
<span class="pf-c-notification-badge__count"
|
||||||
>${this.notificationsCount}</span
|
>${this.notificationsCount}</span
|
||||||
>
|
>
|
||||||
|
@ -253,7 +264,9 @@ export class UserInterface extends Interface {
|
||||||
type="button"
|
type="button"
|
||||||
href="#/settings"
|
href="#/settings"
|
||||||
>
|
>
|
||||||
|
<pf-tooltip position="top" content=${msg("Settings")}>
|
||||||
<i class="fas fa-cog" aria-hidden="true"></i>
|
<i class="fas fa-cog" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</a>
|
</a>
|
||||||
</div>`
|
</div>`
|
||||||
: html``}
|
: html``}
|
||||||
|
@ -262,7 +275,9 @@ export class UserInterface extends Interface {
|
||||||
href="/flows/-/default/invalidation/"
|
href="/flows/-/default/invalidation/"
|
||||||
class="pf-c-button pf-m-plain"
|
class="pf-c-button pf-m-plain"
|
||||||
>
|
>
|
||||||
|
<pf-tooltip position="top" content=${msg("Sign out")}>
|
||||||
<i class="fas fa-sign-out-alt" aria-hidden="true"></i>
|
<i class="fas fa-sign-out-alt" aria-hidden="true"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
${this.me.user.isSuperuser
|
${this.me.user.isSuperuser
|
||||||
|
|
|
@ -6,6 +6,7 @@ import "@goauthentik/elements/forms/DeleteBulkForm";
|
||||||
import "@goauthentik/elements/forms/ModalForm";
|
import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse, Table, TableColumn } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse, Table, TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import "@goauthentik/user/user-settings/mfa/MFADeviceForm";
|
import "@goauthentik/user/user-settings/mfa/MFADeviceForm";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { TemplateResult, html } from "lit";
|
import { TemplateResult, html } from "lit";
|
||||||
|
@ -142,7 +143,9 @@ export class MFADevicesPage extends Table<Device> {
|
||||||
<ak-user-mfa-form slot="form" deviceType=${item.type} .instancePk=${item.pk}>
|
<ak-user-mfa-form slot="form" deviceType=${item.type} .instancePk=${item.pk}>
|
||||||
</ak-user-mfa-form>
|
</ak-user-mfa-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
`,
|
`,
|
||||||
|
|
|
@ -11,6 +11,7 @@ import "@goauthentik/elements/forms/ModalForm";
|
||||||
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
import { PaginatedResponse } from "@goauthentik/elements/table/Table";
|
||||||
import { Table, TableColumn } from "@goauthentik/elements/table/Table";
|
import { Table, TableColumn } from "@goauthentik/elements/table/Table";
|
||||||
import "@goauthentik/user/user-settings/tokens/UserTokenForm";
|
import "@goauthentik/user/user-settings/tokens/UserTokenForm";
|
||||||
|
import "@patternfly/elements/pf-tooltip/pf-tooltip.js";
|
||||||
|
|
||||||
import { msg } from "@lit/localize";
|
import { msg } from "@lit/localize";
|
||||||
import { CSSResult, TemplateResult, html } from "lit";
|
import { CSSResult, TemplateResult, html } from "lit";
|
||||||
|
@ -155,14 +156,18 @@ export class UserTokenList extends Table<Token> {
|
||||||
<ak-user-token-form slot="form" .instancePk=${item.identifier}>
|
<ak-user-token-form slot="form" .instancePk=${item.identifier}>
|
||||||
</ak-user-token-form>
|
</ak-user-token-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-plain">
|
<button slot="trigger" class="pf-c-button pf-m-plain">
|
||||||
|
<pf-tooltip position="top" content=${msg("Edit")}>
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
<ak-token-copy-button
|
<ak-token-copy-button
|
||||||
class="pf-c-button pf-m-plain"
|
class="pf-c-button pf-m-plain"
|
||||||
identifier="${item.identifier}"
|
identifier="${item.identifier}"
|
||||||
>
|
>
|
||||||
|
<pf-tooltip position="top" content=${msg("Copy token")}>
|
||||||
<i class="fas fa-copy"></i>
|
<i class="fas fa-copy"></i>
|
||||||
|
</pf-tooltip>
|
||||||
</ak-token-copy-button>
|
</ak-token-copy-button>
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
|
|
@ -5834,6 +5834,51 @@ Bindings to groups/users are checked against the user of the event.</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s8fa26f65aed77c96">
|
<trans-unit id="s8fa26f65aed77c96">
|
||||||
<source>More details</source>
|
<source>More details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s08df8d0a773a3ea0">
|
||||||
|
<source>Remove item</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s364c4f177a2f8322">
|
||||||
|
<source>Open API drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9ba989e69344ff29">
|
||||||
|
<source>Open Notification drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s14bf17e2a1a2c381">
|
||||||
|
<source>Restart task</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s19409e8712ddd369">
|
||||||
|
<source>Add provider</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s1f7698c061c208c9">
|
||||||
|
<source>Open</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="scc3487e74c5a3e89">
|
||||||
|
<source>Copy token</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s424f57afae0caac4">
|
||||||
|
<source>Add users</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sd9f67fbf3f86efcf">
|
||||||
|
<source>Add group</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s254a9a23dc1635df">
|
||||||
|
<source>Import devices</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sc4fdeccf14be5378">
|
||||||
|
<source>Execute</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s3b3c333481944862">
|
||||||
|
<source>Show details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sb8f855b49234b81b">
|
||||||
|
<source>Apply</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9d8b8aa2b404c2c8">
|
||||||
|
<source>Settings</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s7cfe12cd14df9950">
|
||||||
|
<source>Sign out</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
|
|
|
@ -6150,6 +6150,51 @@ Bindings to groups/users are checked against the user of the event.</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s8fa26f65aed77c96">
|
<trans-unit id="s8fa26f65aed77c96">
|
||||||
<source>More details</source>
|
<source>More details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s08df8d0a773a3ea0">
|
||||||
|
<source>Remove item</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s364c4f177a2f8322">
|
||||||
|
<source>Open API drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9ba989e69344ff29">
|
||||||
|
<source>Open Notification drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s14bf17e2a1a2c381">
|
||||||
|
<source>Restart task</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s19409e8712ddd369">
|
||||||
|
<source>Add provider</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s1f7698c061c208c9">
|
||||||
|
<source>Open</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="scc3487e74c5a3e89">
|
||||||
|
<source>Copy token</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s424f57afae0caac4">
|
||||||
|
<source>Add users</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sd9f67fbf3f86efcf">
|
||||||
|
<source>Add group</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s254a9a23dc1635df">
|
||||||
|
<source>Import devices</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sc4fdeccf14be5378">
|
||||||
|
<source>Execute</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s3b3c333481944862">
|
||||||
|
<source>Show details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sb8f855b49234b81b">
|
||||||
|
<source>Apply</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9d8b8aa2b404c2c8">
|
||||||
|
<source>Settings</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s7cfe12cd14df9950">
|
||||||
|
<source>Sign out</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
|
|
|
@ -5742,6 +5742,51 @@ Bindings to groups/users are checked against the user of the event.</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s8fa26f65aed77c96">
|
<trans-unit id="s8fa26f65aed77c96">
|
||||||
<source>More details</source>
|
<source>More details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s08df8d0a773a3ea0">
|
||||||
|
<source>Remove item</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s364c4f177a2f8322">
|
||||||
|
<source>Open API drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9ba989e69344ff29">
|
||||||
|
<source>Open Notification drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s14bf17e2a1a2c381">
|
||||||
|
<source>Restart task</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s19409e8712ddd369">
|
||||||
|
<source>Add provider</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s1f7698c061c208c9">
|
||||||
|
<source>Open</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="scc3487e74c5a3e89">
|
||||||
|
<source>Copy token</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s424f57afae0caac4">
|
||||||
|
<source>Add users</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sd9f67fbf3f86efcf">
|
||||||
|
<source>Add group</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s254a9a23dc1635df">
|
||||||
|
<source>Import devices</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sc4fdeccf14be5378">
|
||||||
|
<source>Execute</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s3b3c333481944862">
|
||||||
|
<source>Show details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sb8f855b49234b81b">
|
||||||
|
<source>Apply</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9d8b8aa2b404c2c8">
|
||||||
|
<source>Settings</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s7cfe12cd14df9950">
|
||||||
|
<source>Sign out</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
|
|
|
@ -5849,6 +5849,51 @@ Bindings to groups/users are checked against the user of the event.</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s8fa26f65aed77c96">
|
<trans-unit id="s8fa26f65aed77c96">
|
||||||
<source>More details</source>
|
<source>More details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s08df8d0a773a3ea0">
|
||||||
|
<source>Remove item</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s364c4f177a2f8322">
|
||||||
|
<source>Open API drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9ba989e69344ff29">
|
||||||
|
<source>Open Notification drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s14bf17e2a1a2c381">
|
||||||
|
<source>Restart task</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s19409e8712ddd369">
|
||||||
|
<source>Add provider</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s1f7698c061c208c9">
|
||||||
|
<source>Open</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="scc3487e74c5a3e89">
|
||||||
|
<source>Copy token</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s424f57afae0caac4">
|
||||||
|
<source>Add users</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sd9f67fbf3f86efcf">
|
||||||
|
<source>Add group</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s254a9a23dc1635df">
|
||||||
|
<source>Import devices</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sc4fdeccf14be5378">
|
||||||
|
<source>Execute</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s3b3c333481944862">
|
||||||
|
<source>Show details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sb8f855b49234b81b">
|
||||||
|
<source>Apply</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9d8b8aa2b404c2c8">
|
||||||
|
<source>Settings</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s7cfe12cd14df9950">
|
||||||
|
<source>Sign out</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
|
|
|
@ -5981,6 +5981,51 @@ Bindings to groups/users are checked against the user of the event.</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s8fa26f65aed77c96">
|
<trans-unit id="s8fa26f65aed77c96">
|
||||||
<source>More details</source>
|
<source>More details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s08df8d0a773a3ea0">
|
||||||
|
<source>Remove item</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s364c4f177a2f8322">
|
||||||
|
<source>Open API drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9ba989e69344ff29">
|
||||||
|
<source>Open Notification drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s14bf17e2a1a2c381">
|
||||||
|
<source>Restart task</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s19409e8712ddd369">
|
||||||
|
<source>Add provider</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s1f7698c061c208c9">
|
||||||
|
<source>Open</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="scc3487e74c5a3e89">
|
||||||
|
<source>Copy token</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s424f57afae0caac4">
|
||||||
|
<source>Add users</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sd9f67fbf3f86efcf">
|
||||||
|
<source>Add group</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s254a9a23dc1635df">
|
||||||
|
<source>Import devices</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sc4fdeccf14be5378">
|
||||||
|
<source>Execute</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s3b3c333481944862">
|
||||||
|
<source>Show details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sb8f855b49234b81b">
|
||||||
|
<source>Apply</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9d8b8aa2b404c2c8">
|
||||||
|
<source>Settings</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s7cfe12cd14df9950">
|
||||||
|
<source>Sign out</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
|
|
|
@ -6085,6 +6085,51 @@ Bindings to groups/users are checked against the user of the event.</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s8fa26f65aed77c96">
|
<trans-unit id="s8fa26f65aed77c96">
|
||||||
<source>More details</source>
|
<source>More details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s08df8d0a773a3ea0">
|
||||||
|
<source>Remove item</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s364c4f177a2f8322">
|
||||||
|
<source>Open API drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9ba989e69344ff29">
|
||||||
|
<source>Open Notification drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s14bf17e2a1a2c381">
|
||||||
|
<source>Restart task</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s19409e8712ddd369">
|
||||||
|
<source>Add provider</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s1f7698c061c208c9">
|
||||||
|
<source>Open</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="scc3487e74c5a3e89">
|
||||||
|
<source>Copy token</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s424f57afae0caac4">
|
||||||
|
<source>Add users</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sd9f67fbf3f86efcf">
|
||||||
|
<source>Add group</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s254a9a23dc1635df">
|
||||||
|
<source>Import devices</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sc4fdeccf14be5378">
|
||||||
|
<source>Execute</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s3b3c333481944862">
|
||||||
|
<source>Show details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sb8f855b49234b81b">
|
||||||
|
<source>Apply</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9d8b8aa2b404c2c8">
|
||||||
|
<source>Settings</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s7cfe12cd14df9950">
|
||||||
|
<source>Sign out</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
|
|
|
@ -5732,6 +5732,51 @@ Bindings to groups/users are checked against the user of the event.</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s8fa26f65aed77c96">
|
<trans-unit id="s8fa26f65aed77c96">
|
||||||
<source>More details</source>
|
<source>More details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s08df8d0a773a3ea0">
|
||||||
|
<source>Remove item</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s364c4f177a2f8322">
|
||||||
|
<source>Open API drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9ba989e69344ff29">
|
||||||
|
<source>Open Notification drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s14bf17e2a1a2c381">
|
||||||
|
<source>Restart task</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s19409e8712ddd369">
|
||||||
|
<source>Add provider</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s1f7698c061c208c9">
|
||||||
|
<source>Open</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="scc3487e74c5a3e89">
|
||||||
|
<source>Copy token</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s424f57afae0caac4">
|
||||||
|
<source>Add users</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sd9f67fbf3f86efcf">
|
||||||
|
<source>Add group</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s254a9a23dc1635df">
|
||||||
|
<source>Import devices</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sc4fdeccf14be5378">
|
||||||
|
<source>Execute</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s3b3c333481944862">
|
||||||
|
<source>Show details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sb8f855b49234b81b">
|
||||||
|
<source>Apply</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9d8b8aa2b404c2c8">
|
||||||
|
<source>Settings</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s7cfe12cd14df9950">
|
||||||
|
<source>Sign out</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<?xml version="1.0" ?><xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
|
<?xml version="1.0"?><xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
|
||||||
<file target-language="zh-Hans" source-language="en" original="lit-localize-inputs" datatype="plaintext">
|
<file target-language="zh-Hans" source-language="en" original="lit-localize-inputs" datatype="plaintext">
|
||||||
<body>
|
<body>
|
||||||
<trans-unit id="s4caed5b7a7e5d89b">
|
<trans-unit id="s4caed5b7a7e5d89b">
|
||||||
|
@ -618,9 +618,9 @@
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="saa0e2675da69651b">
|
<trans-unit id="saa0e2675da69651b">
|
||||||
<source>The URL "<x id="0" equiv-text="${this.url}"/>" was not found.</source>
|
<source>The URL "<x id="0" equiv-text="${this.url}"/>" was not found.</source>
|
||||||
<target>未找到 URL "
|
<target>未找到 URL "
|
||||||
<x id="0" equiv-text="${this.url}"/>"。</target>
|
<x id="0" equiv-text="${this.url}"/>"。</target>
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s58cd9c2fe836d9c6">
|
<trans-unit id="s58cd9c2fe836d9c6">
|
||||||
|
@ -1072,8 +1072,8 @@
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="sa8384c9c26731f83">
|
<trans-unit id="sa8384c9c26731f83">
|
||||||
<source>To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have.</source>
|
<source>To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have.</source>
|
||||||
<target>要允许任何重定向 URI,请将此值设置为 ".*"。请注意这可能带来的安全影响。</target>
|
<target>要允许任何重定向 URI,请将此值设置为 ".*"。请注意这可能带来的安全影响。</target>
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s55787f4dfcdce52b">
|
<trans-unit id="s55787f4dfcdce52b">
|
||||||
|
@ -1819,8 +1819,8 @@
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="sa90b7809586c35ce">
|
<trans-unit id="sa90b7809586c35ce">
|
||||||
<source>Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon "fa-test".</source>
|
<source>Either input a full URL, a relative path, or use 'fa://fa-test' to use the Font Awesome icon "fa-test".</source>
|
||||||
<target>输入完整 URL、相对路径,或者使用 'fa://fa-test' 来使用 Font Awesome 图标 "fa-test"。</target>
|
<target>输入完整 URL、相对路径,或者使用 'fa://fa-test' 来使用 Font Awesome 图标 "fa-test"。</target>
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s0410779cb47de312">
|
<trans-unit id="s0410779cb47de312">
|
||||||
|
@ -3248,8 +3248,8 @@ doesn't pass when either or both of the selected options are equal or above the
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s76768bebabb7d543">
|
<trans-unit id="s76768bebabb7d543">
|
||||||
<source>Field which contains members of a group. Note that if using the "memberUid" field, the value is assumed to contain a relative distinguished name. e.g. 'memberUid=some-user' instead of 'memberUid=cn=some-user,ou=groups,...'</source>
|
<source>Field which contains members of a group. Note that if using the "memberUid" field, the value is assumed to contain a relative distinguished name. e.g. 'memberUid=some-user' instead of 'memberUid=cn=some-user,ou=groups,...'</source>
|
||||||
<target>包含组成员的字段。请注意,如果使用 "memberUid" 字段,则假定该值包含相对可分辨名称。例如,'memberUid=some-user' 而不是 'memberUid=cn=some-user,ou=groups,...'</target>
|
<target>包含组成员的字段。请注意,如果使用 "memberUid" 字段,则假定该值包含相对可分辨名称。例如,'memberUid=some-user' 而不是 'memberUid=cn=some-user,ou=groups,...'</target>
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s026555347e589f0e">
|
<trans-unit id="s026555347e589f0e">
|
||||||
|
@ -4046,8 +4046,8 @@ doesn't pass when either or both of the selected options are equal or above the
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s7b1fba26d245cb1c">
|
<trans-unit id="s7b1fba26d245cb1c">
|
||||||
<source>When using an external logging solution for archiving, this can be set to "minutes=5".</source>
|
<source>When using an external logging solution for archiving, this can be set to "minutes=5".</source>
|
||||||
<target>使用外部日志记录解决方案进行存档时,可以将其设置为 "minutes=5"。</target>
|
<target>使用外部日志记录解决方案进行存档时,可以将其设置为 "minutes=5"。</target>
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s44536d20bb5c8257">
|
<trans-unit id="s44536d20bb5c8257">
|
||||||
|
@ -4056,8 +4056,8 @@ doesn't pass when either or both of the selected options are equal or above the
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s3bb51cabb02b997e">
|
<trans-unit id="s3bb51cabb02b997e">
|
||||||
<source>Format: "weeks=3;days=2;hours=3,seconds=2".</source>
|
<source>Format: "weeks=3;days=2;hours=3,seconds=2".</source>
|
||||||
<target>格式:"weeks=3;days=2;hours=3,seconds=2"。</target>
|
<target>格式:"weeks=3;days=2;hours=3,seconds=2"。</target>
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s04bfd02201db5ab8">
|
<trans-unit id="s04bfd02201db5ab8">
|
||||||
|
@ -4253,10 +4253,10 @@ doesn't pass when either or both of the selected options are equal or above the
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="sa95a538bfbb86111">
|
<trans-unit id="sa95a538bfbb86111">
|
||||||
<source>Are you sure you want to update <x id="0" equiv-text="${this.objectLabel}"/> "<x id="1" equiv-text="${this.obj?.name}"/>"?</source>
|
<source>Are you sure you want to update <x id="0" equiv-text="${this.objectLabel}"/> "<x id="1" equiv-text="${this.obj?.name}"/>"?</source>
|
||||||
<target>您确定要更新
|
<target>您确定要更新
|
||||||
<x id="0" equiv-text="${this.objectLabel}"/>"
|
<x id="0" equiv-text="${this.objectLabel}"/>"
|
||||||
<x id="1" equiv-text="${this.obj?.name}"/>" 吗?</target>
|
<x id="1" equiv-text="${this.obj?.name}"/>" 吗?</target>
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="sc92d7cfb6ee1fec6">
|
<trans-unit id="sc92d7cfb6ee1fec6">
|
||||||
|
@ -5372,7 +5372,7 @@ doesn't pass when either or both of the selected options are equal or above the
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="sdf1d8edef27236f0">
|
<trans-unit id="sdf1d8edef27236f0">
|
||||||
<source>A "roaming" authenticator, like a YubiKey</source>
|
<source>A "roaming" authenticator, like a YubiKey</source>
|
||||||
<target>像 YubiKey 这样的“漫游”身份验证器</target>
|
<target>像 YubiKey 这样的“漫游”身份验证器</target>
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
@ -5712,10 +5712,10 @@ doesn't pass when either or both of the selected options are equal or above the
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s2d5f69929bb7221d">
|
<trans-unit id="s2d5f69929bb7221d">
|
||||||
<source><x id="0" equiv-text="${prompt.name}"/> ("<x id="1" equiv-text="${prompt.fieldKey}"/>", of type <x id="2" equiv-text="${prompt.type}"/>)</source>
|
<source><x id="0" equiv-text="${prompt.name}"/> ("<x id="1" equiv-text="${prompt.fieldKey}"/>", of type <x id="2" equiv-text="${prompt.type}"/>)</source>
|
||||||
<target>
|
<target>
|
||||||
<x id="0" equiv-text="${prompt.name}"/>("
|
<x id="0" equiv-text="${prompt.name}"/>("
|
||||||
<x id="1" equiv-text="${prompt.fieldKey}"/>",类型为
|
<x id="1" equiv-text="${prompt.fieldKey}"/>",类型为
|
||||||
<x id="2" equiv-text="${prompt.type}"/>)</target>
|
<x id="2" equiv-text="${prompt.type}"/>)</target>
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
@ -5764,7 +5764,7 @@ doesn't pass when either or both of the selected options are equal or above the
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s1608b2f94fa0dbd4">
|
<trans-unit id="s1608b2f94fa0dbd4">
|
||||||
<source>If set to a duration above 0, the user will have the option to choose to "stay signed in", which will extend their session by the time specified here.</source>
|
<source>If set to a duration above 0, the user will have the option to choose to "stay signed in", which will extend their session by the time specified here.</source>
|
||||||
<target>如果设置时长大于 0,用户可以选择“保持登录”选项,这将使用户的会话延长此处设置的时间。</target>
|
<target>如果设置时长大于 0,用户可以选择“保持登录”选项,这将使用户的会话延长此处设置的时间。</target>
|
||||||
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
@ -7696,6 +7696,51 @@ Bindings to groups/users are checked against the user of the event.</source>
|
||||||
<trans-unit id="s8fa26f65aed77c96">
|
<trans-unit id="s8fa26f65aed77c96">
|
||||||
<source>More details</source>
|
<source>More details</source>
|
||||||
<target>显示更多</target>
|
<target>显示更多</target>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s08df8d0a773a3ea0">
|
||||||
|
<source>Remove item</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s364c4f177a2f8322">
|
||||||
|
<source>Open API drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9ba989e69344ff29">
|
||||||
|
<source>Open Notification drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s14bf17e2a1a2c381">
|
||||||
|
<source>Restart task</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s19409e8712ddd369">
|
||||||
|
<source>Add provider</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s1f7698c061c208c9">
|
||||||
|
<source>Open</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="scc3487e74c5a3e89">
|
||||||
|
<source>Copy token</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s424f57afae0caac4">
|
||||||
|
<source>Add users</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sd9f67fbf3f86efcf">
|
||||||
|
<source>Add group</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s254a9a23dc1635df">
|
||||||
|
<source>Import devices</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sc4fdeccf14be5378">
|
||||||
|
<source>Execute</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s3b3c333481944862">
|
||||||
|
<source>Show details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sb8f855b49234b81b">
|
||||||
|
<source>Apply</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9d8b8aa2b404c2c8">
|
||||||
|
<source>Settings</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s7cfe12cd14df9950">
|
||||||
|
<source>Sign out</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
|
|
|
@ -5787,6 +5787,51 @@ Bindings to groups/users are checked against the user of the event.</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s8fa26f65aed77c96">
|
<trans-unit id="s8fa26f65aed77c96">
|
||||||
<source>More details</source>
|
<source>More details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s08df8d0a773a3ea0">
|
||||||
|
<source>Remove item</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s364c4f177a2f8322">
|
||||||
|
<source>Open API drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9ba989e69344ff29">
|
||||||
|
<source>Open Notification drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s14bf17e2a1a2c381">
|
||||||
|
<source>Restart task</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s19409e8712ddd369">
|
||||||
|
<source>Add provider</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s1f7698c061c208c9">
|
||||||
|
<source>Open</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="scc3487e74c5a3e89">
|
||||||
|
<source>Copy token</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s424f57afae0caac4">
|
||||||
|
<source>Add users</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sd9f67fbf3f86efcf">
|
||||||
|
<source>Add group</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s254a9a23dc1635df">
|
||||||
|
<source>Import devices</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sc4fdeccf14be5378">
|
||||||
|
<source>Execute</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s3b3c333481944862">
|
||||||
|
<source>Show details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sb8f855b49234b81b">
|
||||||
|
<source>Apply</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9d8b8aa2b404c2c8">
|
||||||
|
<source>Settings</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s7cfe12cd14df9950">
|
||||||
|
<source>Sign out</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
|
|
|
@ -5786,6 +5786,51 @@ Bindings to groups/users are checked against the user of the event.</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="s8fa26f65aed77c96">
|
<trans-unit id="s8fa26f65aed77c96">
|
||||||
<source>More details</source>
|
<source>More details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s08df8d0a773a3ea0">
|
||||||
|
<source>Remove item</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s364c4f177a2f8322">
|
||||||
|
<source>Open API drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9ba989e69344ff29">
|
||||||
|
<source>Open Notification drawer</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s14bf17e2a1a2c381">
|
||||||
|
<source>Restart task</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s19409e8712ddd369">
|
||||||
|
<source>Add provider</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s1f7698c061c208c9">
|
||||||
|
<source>Open</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="scc3487e74c5a3e89">
|
||||||
|
<source>Copy token</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s424f57afae0caac4">
|
||||||
|
<source>Add users</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sd9f67fbf3f86efcf">
|
||||||
|
<source>Add group</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s254a9a23dc1635df">
|
||||||
|
<source>Import devices</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sc4fdeccf14be5378">
|
||||||
|
<source>Execute</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s3b3c333481944862">
|
||||||
|
<source>Show details</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="sb8f855b49234b81b">
|
||||||
|
<source>Apply</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s9d8b8aa2b404c2c8">
|
||||||
|
<source>Settings</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="s7cfe12cd14df9950">
|
||||||
|
<source>Sign out</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
|
|
Reference in New Issue