32 lines
827 B
HTML
32 lines
827 B
HTML
<!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>
|
||
<div class="duo">
|
||
<span>{{.ContentType}}</span>
|
||
<span>{{.ContentLength | format "# ###,"}} octets</span>
|
||
</div>
|
||
|
||
<div class="duo">
|
||
<a href="{{.URLGet}}">Télécharger</a>
|
||
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
|
||
</div>
|
||
|
||
<p>
|
||
<video controls preload="metadata">
|
||
<source src="{{.URL}}" type="{{.ContentType}}" />
|
||
</video>
|
||
</p>
|
||
|
||
<p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p>
|
||
</body>
|
||
</html>
|