Files
mantra.press/server/views/project-add-artifact.pug

22 lines
833 B
Plaintext
Raw Normal View History

2021-12-27 18:48:38 +02:00
extend templates/layout.pug
block content
.container
.center
h1 Add Artifact to Project
2021-12-27 18:48:38 +02:00
table
thead
tr
th Name
th Version
th
tbody
2022-01-07 00:28:07 +02:00
each artifact in artifacts
2021-12-27 18:48:38 +02:00
tr
td= artifact.name
td= artifact.artifactVersions[0].tag
2021-12-27 18:48:38 +02:00
td
form(action=`/projects/${project.id}/add-artifact`, method="post")
input(type="hidden", name="artifactVersionId", value=artifact.artifactVersions[0].id)
2021-12-27 18:48:38 +02:00
button.btn.black(type="submit") add to project