2020-04-26 18:55:21 +02:00
|
|
|
extend layout
|
|
|
|
block content
|
|
|
|
h1 Image Node
|
2020-04-27 20:58:31 +02:00
|
|
|
if invalidType
|
|
|
|
h2.fail Invalid image type !
|
2020-04-26 18:55:21 +02:00
|
|
|
form(method="POST", action="/upload", enctype="multipart/form-data")
|
2020-04-26 21:25:55 +02:00
|
|
|
input.file_button(type="file", name="image", accept="image/*")
|
2020-04-26 18:55:21 +02:00
|
|
|
button(type="submit") Upload
|
2020-04-29 09:31:34 +02:00
|
|
|
div.buttons
|
|
|
|
a.button(href="/list") Image List
|
|
|
|
p Actually #{count} images uploaded !
|
2020-04-26 15:22:43 +02:00
|
|
|
|