{{ .Url* }} renamed to {{ .URL* }}

This commit is contained in:
Breizh 2022-09-24 20:57:37 +02:00
parent 2d6005da58
commit 3056eb74f7
6 changed files with 15 additions and 15 deletions

View file

@ -17,13 +17,13 @@
</div>
<div class="duo">
<a href="{{.UrlGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a>
<a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div>
<p>
<audio controls preload="metadata">
<source src="{{.Url}}" type="{{.ContentType}}" />
<source src="{{.URL}}" type="{{.ContentType}}" />
</audio>
</p>

View file

@ -17,8 +17,8 @@
</div>
<div class="duo">
<a href="{{.UrlGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a>
<a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div>
<p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p>

View file

@ -17,11 +17,11 @@
</div>
<div class="duo">
<a href="{{.UrlGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a>
<a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div>
<p><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}"><img src="{{.Url}}" type="{{.ContentType}}" /></a></p>
<p><a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}"><img src="{{.URL}}" type="{{.ContentType}}" /></a></p>
<p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p>
</body>

View file

@ -17,8 +17,8 @@
</div>
<div class="duo">
<a href="{{.UrlGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a>
<a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div>
<p>

View file

@ -17,8 +17,8 @@
</div>
<div class="duo">
<a href="{{.UrlGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a>
<a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div>
<p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p>

View file

@ -17,13 +17,13 @@
</div>
<div class="duo">
<a href="{{.UrlGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a>
<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}}" />
<source src="{{.URL}}" type="{{.ContentType}}" />
</video>
</p>