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,47 +131,45 @@ 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
icon="pf-icon pf-icon-user" class="pf-l-grid__item"
header=${msg("Forecasted default users")} icon="pf-icon pf-icon-user"
subtext=${msg("Estimated user count one year from now")} header=${msg("Forecast default users")}
> subtext=${msg("Estimated user count one year from now")}
${this.forecast?.users} >
</ak-aggregate-card> ~&nbsp;${this.forecast?.users}
</div> </ak-aggregate-card>
<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> <ak-aggregate-card
<div class="pf-l-grid__item pf-c-card"> class="pf-l-grid__item"
<ak-aggregate-card 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")} >
> ${this.summary?.hasLicense
${this.summary?.hasLicense ? this.summary.latestValid.toLocaleString()
? this.summary.latestValid.toLocaleString() : "-"}
: "-"} </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?"