doctype html
html
head(lang="en")
title Updown
link(rel='stylesheet', href='/updown.css', type='text/css')
body
div#message.table
div= message
div#f-upload.table
form#upload-form(method='post', enctype='multipart/form-data', action='/upload/')
label(for='up') Upload File
input#up(type='file', name='up')
button(type='submit') Submit
div#flist.table
div.tr#flist-heading
div.td
a(href='?sort=name') Uploaded File(s)
div.td
a(href='?sort=size') Size
each file in files
div.tr
div.td= file.name
div.td= file.size
div.td
a(href='/download/'+file.name alt="download file") 🠳
div.td
a(href='/delete/'+file.name alt="delete file") 🞬