Correction de la page de téléchargement générique

This commit is contained in:
Breizh 2022-11-26 23:44:09 +01:00
parent 47c863c0d5
commit c9506f527b

View file

@ -11,12 +11,9 @@
<h1><a href="{{.WebAddress}}">{{.Hostname}}</a></h1> <h1><a href="{{.WebAddress}}">{{.Hostname}}</a></h1>
<h2><code>{{.Filename}}</code></h2> <h2><code>{{.Filename}}</code></h2>
<div class="duo"> <div class="header">
<span>{{.ContentType}}</span> <span>{{.ContentType}}</span>
<span>{{.ContentLength | format "####,"}}octets</span> <span>{{.ContentLength | format "####,"}}octets</span>
</div>
<div class="duo">
<a href="{{.URLGet}}">Télécharger</a> <a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a> <a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div> </div>