monofile/src/download.html
Jack W. 6220cd8b0f
refactor: ♻️ Use Vite instead of Rollup
Soon: Hono instead of Express
2023-10-24 17:18:36 -04:00

55 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<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">
<title>$FileId</title>
<!--metaTags-->
<meta name="og:site_name" content="$Uploader">
<meta name="title" content="$FileName">
<meta name="description" content="$FileSize file on monofile $Version, the Discord-based file sharing service">
<link
rel="stylesheet"
href="./style/downloads.scss"
>
<link
rel="stylesheet"
href="/auth/customCSS"
>
<link
rel="icon"
type="image/svg"
href="/static/assets/icons/file_icon.svg"
>
</head>
<body>
<div id="appContent">
<div id="uploadWindow">
<h1>
$FileName
</h1>
<p style="color:#999999">
<span class="number">$FileSize</span>&nbsp;&nbsp;&nbsp;&nbsp;uploaded by <span class="number">$Uploader</span>
</p>
<!--preview-->
<button style="position:relative;width:100%;top:10px;">
<a id="dlbtn" href="/file/$FileId" download="$FileName" style="position:absolute;left:0px;top:0px;height:100%;width:100%;"></a>
download
</button>
<div style="min-height:15px" />
</div>
</div>
</body>
</html>