transfersh/download.video.html

33 lines
827 B
HTML
Raw Normal View History

2021-05-08 15:23:46 +02:00
<!DOCTYPE html>
<html lang=fr>
<head>
<meta charset="utf-8" />
<title>{{.Filename}} - {{.Hostname}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="/styles/default.css">
</head>
<body>
<h1><a href="{{.WebAddress}}">{{.Hostname}}</a></h1>
<h2><code>{{.Filename}}</code></h2>
2021-05-10 21:23:37 +02:00
<div class="duo">
<span>{{.ContentType}}</span>
<span>{{.ContentLength | format "####,"}}octets</span>
2021-05-10 21:23:37 +02:00
</div>
2021-05-08 15:23:46 +02:00
2021-05-10 21:23:37 +02:00
<div class="duo">
2022-09-24 20:57:37 +02:00
<a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
2021-05-10 21:23:37 +02:00
</div>
2021-05-08 15:23:46 +02:00
2021-05-10 21:34:58 +02:00
<p>
2021-05-08 15:23:46 +02:00
<video controls preload="metadata">
2022-09-24 20:57:37 +02:00
<source src="{{.URL}}" type="{{.ContentType}}" />
2021-05-08 15:23:46 +02:00
</video>
2021-05-10 21:34:58 +02:00
</p>
2021-05-09 15:40:08 +02:00
2021-05-09 21:43:46 +02:00
<p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p>
2021-05-08 15:23:46 +02:00
</body>
</html>