添加上传结果信息section

This commit is contained in:
赵鑫 2022-08-26 15:23:34 +08:00
parent a503d3c9f8
commit c818880fb5

View File

@ -9,8 +9,17 @@ html(lang='zh')
title 文件分享服务器 title 文件分享服务器
body body
h1 文件分享服务器 h1 文件分享服务器
if uploaded if file
p= uploaded section
h2 上传成功
ul
li id #{file.id}
li md5 #{file.md5}
li size #{file.size} bytes
li encoding #{file.encoding}
li mimetype #{file.mimetype}
li filename #{file.filename}
li password '#{file.password}'
form(method='POST' action='/upload' enctype='multipart/form-data') form(method='POST' action='/upload' enctype='multipart/form-data')
label(for='file_input') 文件 label(for='file_input') 文件
input(id='file_input' name='file' type='file' required) input(id='file_input' name='file' type='file' required)