2022-08-26 15:45:07 +00:00
|
|
|
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')
|
2022-09-04 11:49:22 +00:00
|
|
|
link(rel='icon' href='/share/favicon.ico' type='image/x-icon')
|
|
|
|
link(rel='stylesheet' href='/share/style.css')
|
2022-08-26 15:45:07 +00:00
|
|
|
title 文件分享
|
|
|
|
body
|
|
|
|
h1 文件分享
|
|
|
|
p
|
2022-09-04 11:49:22 +00:00
|
|
|
a(href='upload') 我要上传
|
2022-08-26 15:45:07 +00:00
|
|
|
ul
|
|
|
|
if filesharing.length==0
|
|
|
|
li 暂无文件
|
|
|
|
else
|
|
|
|
for file in filesharing
|
|
|
|
li
|
2022-09-04 11:49:22 +00:00
|
|
|
a(href=`download/${file.id}`)= file.filename
|
2022-08-26 15:45:07 +00:00
|
|
|
if file.password
|
2022-08-27 02:33:20 +00:00
|
|
|
span ㊙️
|
|
|
|
span.small (#{moment(file.createdAt).fromNow()}, #{file.downloads} 次下载)
|