Replace entry with artifact and add entity

This commit is contained in:
2022-01-05 03:04:43 +02:00
parent e22f85a1aa
commit 7be5200094
28 changed files with 560 additions and 523 deletions

20
server/views/artifact.pug Normal file
View File

@@ -0,0 +1,20 @@
extend templates/layout.pug
block content
.container
.center
h1= artifact.name
.divider
.row
a.btn.black(href=`/library/${artifact.id}/version/add`) add version
if artifact.artifactVersions.length == 0
p.flow-text No available versions
else
.row
each artifactVersion in artifact.artifactVersions
.col.s12
a(href=`/library/${artifactVersion.artifactId}/v/${artifactVersion.id}`)
.card-panel
p.flow-text= artifactVersion.tag