新建download.pug
This commit is contained in:
parent
9854bfeed6
commit
4006decb81
27
views/download.pug
Normal file
27
views/download.pug
Normal file
@ -0,0 +1,27 @@
|
||||
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 下载文件
|
||||
form(method='POST')
|
||||
label 文件
|
||||
label= file.filename
|
||||
label 大小
|
||||
label= file.size
|
||||
| 字节
|
||||
label 类型
|
||||
label= file.mimetype
|
||||
label 下载
|
||||
label= file.downloads
|
||||
| 次
|
||||
if file.password
|
||||
label(for='password_input') 密码
|
||||
input(id='password_input' name='password' type='password' autocomplete='off' required)
|
||||
button(id='download_button' type='submit') 下载
|
||||
script(src='/client.js')
|
Loading…
Reference in New Issue
Block a user