Nouveau test CSS

This commit is contained in:
Breizh 2021-05-10 21:34:58 +02:00
parent ad358dc528
commit b570604e5b
7 changed files with 21 additions and 16 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -20,8 +20,7 @@ body {
.duo p, .duo a { .duo p, .duo a {
flex: 1; flex: 1;
padding-left: 15px; padding: 15px;
padding-right: 15px;
white-space: nowrap; white-space: nowrap;
min-width: 10em; min-width: 10em;
border: 1px solid #393939; border: 1px solid #393939;