mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-26 18:38:38 -06:00
adding protocol
This commit is contained in:
parent
407ce83222
commit
3dc26b90ff
@ -54,7 +54,7 @@
|
|||||||
<br /><br /><div id="qrcode_{{ token.pk }}" style="width:100px; height:100px;"></div>
|
<br /><br /><div id="qrcode_{{ token.pk }}" style="width:100px; height:100px;"></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var qrcode = new QRCode(document.getElementById("qrcode_{{ token.pk }}"), {width : 100,height : 100});
|
var qrcode = new QRCode(document.getElementById("qrcode_{{ token.pk }}"), {width : 100,height : 100});
|
||||||
qrcode.makeCode(window.location.hostname+" | {{ token.key }}");
|
qrcode.makeCode(location.protocol+"//"+window.location.hostname+" | {{ token.key }}");
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user