import { Outpost } from "authentik-api"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; import { t } from "@lingui/macro"; import PFTitle from "@patternfly/patternfly/components/Title/title.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; import PFModalBox from "@patternfly/patternfly/components/ModalBox/modal-box.css"; import PFForm from "@patternfly/patternfly/components/Form/form.css"; import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css"; import AKGlobal from "../../authentik.css"; import { ifDefined } from "lit-html/directives/if-defined"; import "../../elements/buttons/TokenCopyButton"; @customElement("ak-outpost-deployment-modal") export class OutpostDeploymentModal extends LitElement { @property({attribute: false}) outpost?: Outpost; static get styles(): CSSResult[] { return [PFBase, PFTitle, PFButton, PFModalBox, PFForm, PFFormControl, AKGlobal]; } render(): TemplateResult { return html`

${t`Outpost Deployment Info`}

${t`View deployment documentation`}

${t`Click to copy token`}

${t`If your authentik Instance is using a self-signed certificate, set this value.`}

`; } }