web: add initial user view page with consent

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-20 16:37:31 +01:00
parent 077abdb602
commit 4525a43e63
6 changed files with 164 additions and 9 deletions

View File

@ -52,10 +52,10 @@ export class UserListPage extends TablePage<User> {
row(item: User): TemplateResult[] {
return [
html`<div>
html`<a href="#/identity/users/${item.pk}">
<div>${item.username}</div>
<small>${item.name}</small>
</div>`,
</a>`,
html`${item.isActive ? "Yes" : "No"}`,
html`${item.lastLogin?.toLocaleString()}`,
html`