Add basic functionality

This commit is contained in:
2021-12-19 18:17:51 +02:00
parent 87c6ad9e6d
commit f259651ec9
18 changed files with 631 additions and 36 deletions

17
server/views/library.pug Normal file
View File

@@ -0,0 +1,17 @@
extend templates/layout.pug
block content
.container
.center
h1 Library
a.btn.black(href="/library/add") add entry
if entries.length == 0
p.flow-text No Literature currently on the system
else
.row
each entry in entries
.col.s12
a(href=`/library/${entry.id}`)
.card-panel
p.flow-text= entry.name