enterprise: revise (#6272)

* web/admin: fix small enterprise things

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* make website user branding consistent

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-07-17 23:07:24 +02:00 committed by GitHub
parent 2e63a7c7e9
commit d359dc5b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 37 deletions

View File

@ -131,38 +131,37 @@ export class EnterpriseLicenseListPage extends TablePage<License> {
class="pf-l-grid pf-m-gutter pf-m-all-6-col-on-sm pf-m-all-4-col-on-md pf-m-all-3-col-on-lg pf-m-all-3-col-on-xl" class="pf-l-grid pf-m-gutter pf-m-all-6-col-on-sm pf-m-all-4-col-on-md pf-m-all-3-col-on-lg pf-m-all-3-col-on-xl"
> >
<div class="pf-l-grid__item pf-c-card"> <div class="pf-l-grid__item pf-c-card">
<div class="pf-c-card__title">${msg("How to get a license")}</div> <div class="pf-c-card__title">${msg("Get a license")}</div>
<div class="pf-c-card__body"> <div class="pf-c-card__body">
${this.installID ${this.installID
? html` <a ? html` <a
target="_blank" target="_blank"
href=${`https://customers.goauthentik.io/from_authentik/purchase/?install_id=${this.installID}`} href=${`https://customers.goauthentik.io/from_authentik/purchase/?install_id=${this.installID}`}
class="pf-c-button pf-m-primary pf-m-block" class="pf-c-button pf-m-primary pf-m-block"
>${msg("Go to the customer portal")}</a >${msg("Go to Customer Portal")}</a
>` >`
: html`<ak-spinner></ak-spinner>`} : html`<ak-spinner></ak-spinner>`}
</div> </div>
</div> </div>
<div class="pf-l-grid__item pf-c-card">
<ak-aggregate-card <ak-aggregate-card
class="pf-l-grid__item"
icon="pf-icon pf-icon-user" icon="pf-icon pf-icon-user"
header=${msg("Forecasted default users")} header=${msg("Forecast default users")}
subtext=${msg("Estimated user count one year from now")} subtext=${msg("Estimated user count one year from now")}
> >
${this.forecast?.users} ~&nbsp;${this.forecast?.users}
</ak-aggregate-card> </ak-aggregate-card>
</div>
<div class="pf-l-grid__item pf-c-card">
<ak-aggregate-card <ak-aggregate-card
class="pf-l-grid__item"
icon="pf-icon pf-icon-user" icon="pf-icon pf-icon-user"
header=${msg("Forecasted external users")} header=${msg("Forecast external users")}
subtext=${msg("Estimated external user count one year from now")} subtext=${msg("Estimated external user count one year from now")}
> >
${this.forecast?.externalUsers} ~&nbsp;${this.forecast?.externalUsers}
</ak-aggregate-card> </ak-aggregate-card>
</div>
<div class="pf-l-grid__item pf-c-card">
<ak-aggregate-card <ak-aggregate-card
class="pf-l-grid__item"
icon="pf-icon pf-icon-user" icon="pf-icon pf-icon-user"
header=${msg("Expiry")} header=${msg("Expiry")}
subtext=${msg("Cumulative license expiry")} subtext=${msg("Cumulative license expiry")}
@ -172,7 +171,6 @@ export class EnterpriseLicenseListPage extends TablePage<License> {
: "-"} : "-"}
</ak-aggregate-card> </ak-aggregate-card>
</div> </div>
</div>
</section> </section>
`; `;
} }
@ -212,10 +210,10 @@ export class EnterpriseLicenseListPage extends TablePage<License> {
renderObjectCreate(): TemplateResult { renderObjectCreate(): TemplateResult {
return html` return html`
<ak-forms-modal> <ak-forms-modal>
<span slot="submit"> ${msg("Create")} </span> <span slot="submit"> ${msg("Install")} </span>
<span slot="header"> ${msg("Create License")} </span> <span slot="header"> ${msg("Install License")} </span>
<ak-enterprise-license-form slot="form"> </ak-enterprise-license-form> <ak-enterprise-license-form slot="form"> </ak-enterprise-license-form>
<button slot="trigger" class="pf-c-button pf-m-primary">${msg("Create")}</button> <button slot="trigger" class="pf-c-button pf-m-primary">${msg("Install")}</button>
</ak-forms-modal> </ak-forms-modal>
`; `;
} }

View File

@ -57,7 +57,7 @@ export default function pricingPage() {
</div> </div>
<div className="card__footer"> <div className="card__footer">
<h1> <h1>
$5 <small>/internal user/month</small> $5 <small>/default user/month</small>
</h1> </h1>
<h1> <h1>
$0.02{" "} $0.02{" "}
@ -129,8 +129,8 @@ export default function pricingPage() {
body="We only offer support as part of an enterprise license. You can get community support on GitHub and Discord for the open-source version." body="We only offer support as part of an enterprise license. You can get community support on GitHub and Discord for the open-source version."
/> />
<Card <Card
title="What's the difference between internal and external users?" title="What's the difference between default and external users?"
body="Internal users might be users such as company employees, which will get access to the full Enterprise feature set. External users might be external consultants or B2C customers. These users don't get access to enterprise features." body="Default users might be users such as company employees, which will get access to the full Enterprise feature set. External users might be external consultants or B2C customers. These users don't get access to enterprise features."
/> />
<Card <Card
title="Are you planning to add X to authentik?" title="Are you planning to add X to authentik?"