Add basic functionality
This commit is contained in:
17
server/views/library.pug
Normal file
17
server/views/library.pug
Normal 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
|
||||
Reference in New Issue
Block a user