You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
785 B
Plaintext
41 lines
785 B
Plaintext
6 years ago
|
extends ../layout
|
||
|
|
||
|
block content
|
||
|
h2 From URL
|
||
|
form(method="post", action="/disk-images/add")
|
||
|
input(type="hidden", name="source", value="http")
|
||
|
|
||
|
.form-section
|
||
|
label Name
|
||
|
input(type="text", name="name")
|
||
|
|
||
|
.form-section
|
||
|
label Description
|
||
|
input(type="text", name="description")
|
||
|
|
||
|
.form-section
|
||
|
label URL
|
||
|
input(type="text", name="url")
|
||
|
|
||
|
.form-section
|
||
|
button(type="submit") Add
|
||
|
|
||
|
h2 From disk
|
||
|
form(method="post", action="/disk-images/add")
|
||
|
input(type="hidden", name="source", value="local")
|
||
|
|
||
|
.form-section
|
||
|
label Name
|
||
|
input(type="text", name="name")
|
||
|
|
||
|
.form-section
|
||
|
label Description
|
||
|
input(type="text", name="description")
|
||
|
|
||
|
.form-section
|
||
|
label Path to image
|
||
|
input(type="text", name="path")
|
||
|
|
||
|
.form-section
|
||
|
button(type="submit") Add
|