Update QR util, add to index

This commit is contained in:
Yarmo Mackenbach 2020-07-04 16:00:36 +02:00
parent b3ac08383e
commit 16ab2f640f
2 changed files with 2 additions and 0 deletions

View file

@ -11,6 +11,7 @@
<h2>Utilities</h2> <h2>Utilities</h2>
<p> <p>
<a class="bigBtn" href="/util/wkd">wkd</a> <a class="bigBtn" href="/util/wkd">wkd</a>
<a class="bigBtn" href="/util/qr">QR</a>
</p> </p>
<h2>Getting started</h2> <h2>Getting started</h2>
<p> <p>

View file

@ -3,6 +3,7 @@
<h1>QR Code</h1> <h1>QR Code</h1>
<div class="content"> <div class="content">
<form id="form-util-qr" method="post"> <form id="form-util-qr" method="post">
<p>This tool generates a QR code containing the fingerprint of your public key (<a href="https://github.com/open-keychain/open-keychain/wiki/QR-Codes">format</a>). This QR code can be scanned by apps like <a href="https://www.openkeychain.org/">OpenKeyChain</a>.</p>
<h3>Fingerprint</h3> <h3>Fingerprint</h3>
<input type="text" name="input" id="input" placeholder="Fingerprint" value="<?=$this->escape($input)?>"> <input type="text" name="input" id="input" placeholder="Fingerprint" value="<?=$this->escape($input)?>">
<div id="qrcode"></div> <div id="qrcode"></div>