30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
doctype html
|
|
html(lang='zh')
|
|
head
|
|
meta(charset='UTF-8')
|
|
meta(http-equiv='X-UA-Compatible' content='IE=edge')
|
|
meta(name='viewport' content='width=device-width, initial-scale=1.0')
|
|
link(rel='icon' href='/favicon.ico' type='image/x-icon')
|
|
link(rel='stylesheet' href='/style.css')
|
|
title 文件分享服务器
|
|
body
|
|
h1 文件分享服务器
|
|
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)
|
|
label(for='password_input') 密码
|
|
input(id='password_input' name='password' type='password' autocomplete='off')
|
|
button(id='share_button' type='submit') 分享
|
|
script(src='/client.js')
|