View entity objects

This commit is contained in:
2022-01-13 19:39:25 +02:00
parent 35fd113be0
commit 4128ee879f
11 changed files with 437 additions and 9 deletions

11
server/views/entities.pug Normal file
View File

@@ -0,0 +1,11 @@
extend templates/layout.pug
block content
.container
.center
h1 Entities
each entity in entities
p.flow-text
i.material-icons= entity.type == 'individual' ? 'person' : 'group'
a(href=`/entities/${entity.name}`)= ` ${entity.name}`