web/admin: improve empty state

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

# Conflicts:
#	web/src/elements/table/TablePage.ts
#	web/src/pages/applications/ApplicationListPage.ts
This commit is contained in:
Jens Langhammer
2022-04-18 17:11:44 +02:00
parent 8691a79204
commit 263bcae050
31 changed files with 67 additions and 45 deletions

View File

@ -159,7 +159,7 @@ export class ApplicationListPage extends TablePage<Application> {
];
}
renderToolbar(): TemplateResult {
renderObjectCreate(): TemplateResult {
return html`
<ak-forms-modal .open=${getURLParam("createForm", false)}>
<span slot="submit"> ${t`Create`} </span>
@ -167,7 +167,6 @@ export class ApplicationListPage extends TablePage<Application> {
<ak-application-form slot="form"> </ak-application-form>
<button slot="trigger" class="pf-c-button pf-m-primary">${t`Create`}</button>
</ak-forms-modal>
${super.renderToolbar()}
`;
}
}