web/admin: add custom rendering for inbuilt sources

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-04-09 16:21:17 +02:00
parent 5dd29d45d8
commit 34b8a97ae9
7 changed files with 69 additions and 66 deletions

View File

@ -230,10 +230,6 @@ export abstract class Table<T> extends LitElement {
return html``;
}
renderRowsAbove(): TemplateResult {
return html``;
}
firstUpdated(): void {
this.fetch();
}
@ -269,7 +265,6 @@ export abstract class Table<T> extends LitElement {
${this.columns().map((col) => col.render(this))}
</tr>
</thead>
${this.renderRowsAbove()}
${(this.isLoading || !this.data) ? this.renderLoading() : this.renderRows()}
</table>
<div class="pf-c-pagination pf-m-bottom">