Déplacement du code QR

This commit is contained in:
Breizh 2021-05-09 15:40:08 +02:00
parent ae202ce756
commit c3a5acd52d
7 changed files with 18 additions and 6 deletions

View file

@ -16,10 +16,11 @@
<h3><a href="{{.UrlGet}}">Télécharger</a></h3> <h3><a href="{{.UrlGet}}">Télécharger</a></h3>
<h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3> <h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3>
<p><img src="data:image/png;base64,{{.QRCode}}"/></p>
<audio controls preload="metadata"> <audio controls preload="metadata">
<source src="{{.Url}}" type="{{.ContentType}}" /> <source src="{{.Url}}" type="{{.ContentType}}" />
</audio> </audio>
<img id="qr" src="data:image/png;base64,{{.QRCode}}"/>
</body> </body>
</html> </html>

View file

@ -16,6 +16,7 @@
<h3><a href="{{.UrlGet}}">Télécharger</a></h3> <h3><a href="{{.UrlGet}}">Télécharger</a></h3>
<h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3> <h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3>
<p><img src="data:image/png;base64,{{.QRCode}}"/></p>
<img id="qr" src="data:image/png;base64,{{.QRCode}}"/>
</body> </body>
</html> </html>

View file

@ -16,8 +16,9 @@
<h3><a href="{{.UrlGet}}">Télécharger</a></h3> <h3><a href="{{.UrlGet}}">Télécharger</a></h3>
<h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3> <h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3>
<p><img src="data:image/png;base64,{{.QRCode}}"/></p>
<img src="{{.Url}}" type="{{.ContentType}}" /> <img src="{{.Url}}" type="{{.ContentType}}" />
<img id="qr" src="data:image/png;base64,{{.QRCode}}"/>
</body> </body>
</html> </html>

View file

@ -16,10 +16,11 @@
<h3><a href="{{.UrlGet}}">Télécharger</a></h3> <h3><a href="{{.UrlGet}}">Télécharger</a></h3>
<h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3> <h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3>
<p><img src="data:image/png;base64,{{.QRCode}}"/></p>
<div class="markdown"> <div class="markdown">
{{.Content}} {{.Content}}
</div> </div>
<img id="qr" src="data:image/png;base64,{{.QRCode}}"/>
</body> </body>
</html> </html>

View file

@ -16,6 +16,7 @@
<h3><a href="{{.UrlGet}}">Télécharger</a></h3> <h3><a href="{{.UrlGet}}">Télécharger</a></h3>
<h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3> <h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3>
<p><img src="data:image/png;base64,{{.QRCode}}"/></p>
<img id="qr" src="data:image/png;base64,{{.QRCode}}"/>
</body> </body>
</html> </html>

View file

@ -16,10 +16,11 @@
<h3><a href="{{.UrlGet}}">Télécharger</a></h3> <h3><a href="{{.UrlGet}}">Télécharger</a></h3>
<h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3> <h3><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a></h3>
<p><img src="data:image/png;base64,{{.QRCode}}"/></p>
<video controls preload="metadata"> <video controls preload="metadata">
<source src="{{.Url}}" type="{{.ContentType}}" /> <source src="{{.Url}}" type="{{.ContentType}}" />
</video> </video>
<img id="qr" src="data:image/png;base64,{{.QRCode}}"/>
</body> </body>
</html> </html>

View file

@ -10,6 +10,12 @@ body {
word-wrap: break-word; word-wrap: break-word;
} }
#qr {
position: absolute;
top: 5px;
right:5px;
}
#links-container { #links-container {
text-align: left; text-align: left;
width: 800px; width: 800px;