From c818880fb52ef74017c02226159bc321831010fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=91=AB?= <7176466@qq.com> Date: Fri, 26 Aug 2022 15:23:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8A=E4=BC=A0=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E4=BF=A1=E6=81=AFsection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/index.pug | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/views/index.pug b/views/index.pug index 713c703..1695d5a 100644 --- a/views/index.pug +++ b/views/index.pug @@ -9,8 +9,17 @@ html(lang='zh') title 文件分享服务器 body h1 文件分享服务器 - if uploaded - p= uploaded + if file + 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') label(for='file_input') 文件 input(id='file_input' name='file' type='file' required)