pytron-web/views/upload.pug

23 lines
997 B
Plaintext

extends base
block content
section.section
.container
.columns.is-centered
.column.is-narrow.is-desktop
form(action="upload-target", method="POST", encType="multipart/form-data")
.field
label.label Name
input.input(type="text", name="name", placeholder="Name of your AI")
.field
.file.has-name
label.file-label
input.file-input(type="file", name="archive")
span.file-cta
span.file-icon
i.fas.fa-upload
span.file-label Choose a file…
span.file-name
.control
button.button.is-link Submit