import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; import { customElement, property } from "lit/decorators.js"; import { ifDefined } from "lit/directives/if-defined.js"; import { Outpost, OutpostTypeEnum } from "@goauthentik/api"; import { ModalButton } from "../../elements/buttons/ModalButton"; import "../../elements/buttons/TokenCopyButton"; @customElement("ak-outpost-deployment-modal") export class OutpostDeploymentModal extends ModalButton { @property({ attribute: false }) outpost?: Outpost; renderModalInner(): 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.`}

${this.outpost?.type == OutpostTypeEnum.Proxy ? html`

${t`If your authentik_host setting does not match the URL you want to login with, add this setting.`}

` : html``}
`; } }