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

22 lines
833 B
Plaintext

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