core: show all applications a user can access in admin interface (#8343)

* core: show all applications a user can access in admin interface

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

* minor adjustments

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

* add relative time

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

* use relative time in most places

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

* improve admin dashboard scaling

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

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2024-01-30 01:56:33 +01:00
committed by GitHub
parent 0052e60643
commit 07ed5e1cd9
22 changed files with 245 additions and 49 deletions

View File

@ -30,7 +30,7 @@ export class BrandListPage extends TablePage<Brand> {
return msg("Configure visual settings and defaults for different domains.");
}
pageIcon(): string {
return "pf-icon pf-icon-brand";
return "pf-icon pf-icon-tenant";
}
checkbox = true;
@ -51,6 +51,7 @@ export class BrandListPage extends TablePage<Brand> {
columns(): TableColumn[] {
return [
new TableColumn(msg("Domain"), "domain"),
new TableColumn(msg("Brand name"), "branding_title"),
new TableColumn(msg("Default?"), "default"),
new TableColumn(msg("Actions")),
];
@ -84,6 +85,7 @@ export class BrandListPage extends TablePage<Brand> {
row(item: Brand): TemplateResult[] {
return [
html`${item.domain}`,
html`${item.brandingTitle}`,
html`<ak-status-label ?good=${item._default}></ak-status-label>`,
html`<ak-forms-modal>
<span slot="submit"> ${msg("Update")} </span>