lazy load qr code (if browser supports it)

This commit is contained in:
Christoph Haas 2022-10-29 10:06:58 +02:00
parent fe3247bdc1
commit 0d5b895174

View File

@ -239,7 +239,7 @@
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
{{if eq $.Device.Type "server"}} {{if eq $.Device.Type "server"}}
<img class="list-image-large" src="/user/qrcode?pkey={{$p.PublicKey}}"/> <img class="list-image-large" loading="lazy" alt="Configuration QR Code" src="/user/qrcode?pkey={{$p.PublicKey}}"/>
{{end}} {{end}}
</div> </div>
<div class="col-md-3"> <div class="col-md-3">