-
Notifications
You must be signed in to change notification settings - Fork 5
/
importIdentity.html
30 lines (30 loc) · 1.09 KB
/
importIdentity.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>SQRL</title>
<link rel="stylesheet" href="style.css"/>
<script src="bn.js" defer></script>
<script src="jsQR.js" defer></script>
<script src="jQueryLight.js" defer></script>
<script src="utils.js" defer></script>
<script src="importIdentity.js" defer></script>
</head>
<body>
<main>
<h1><img src="icons/256.png"/>SQRL</h1>
<div>
<form id="import">
<label><span>Choose .sqrl file</span><input type="file" name="identityfile" accept=".sqrl,.sqrc"/></label><br/>
or<br/>
<label><span>Scan QR code</span><button type="button" name="qrscan">Scan 📷</button></label><br/>
<div id="qrscan"><button id="cancelqrscan" type="button">Cancel</button><canvas id="qrcanvas"></canvas></div>
<br/>
<label><span>Textual Identity</span><textarea name="identity" spellcheck="false" readonly></textarea></label><br/>
<label><span></span><button title="Closes this tab.
After that, click the blue SQRL icon in the top right of the browser window to continue importing this identity.">Continue import</button></label><br/>
</form>
</div>
</main>
</body>
</html>