Files
mantra.press/server/views/library.pug

17 lines
552 B
Plaintext
Raw Normal View History

2021-12-19 18:17:51 +02:00
extend templates/layout.pug
block content
.container
.center
h1 Library
a.btn.black(href="/library/add") add artifact
2022-01-07 00:28:07 +02:00
if artifacts.length == 0
2021-12-19 18:17:51 +02:00
p.flow-text No Literature currently on the system
else
.row
2022-01-07 00:28:07 +02:00
each artifact in artifacts
2021-12-19 18:17:51 +02:00
.col.s12
a(href=`/library/${artifact.id}`)
2021-12-19 18:17:51 +02:00
.card-panel
p.flow-text= artifact.name