-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
73 lines (37 loc) · 1.45 KB
/
index.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Oxen Suite QR Generator</title>
<script type="text/javascript" src="libraries/node_modules/qr-code-styling/lib/qr-code-styling.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header id="header"><h1>Oxen Suite QR Generator</h1></header>
<section id="sessionContent" class="content">
<div>
<form id="qrForm" onsubmit="return false;">
<div class="inputContainer">
<label for="dataInput">Session Address</label>
<input type="text" onchange="session.update();" name="dataInput" id="dataInput" placeholder="https://getsession.org" class="textField" required />
</div>
</form>
<button class="formButton" onclick="session.download();">Download</button>
</div>
<div id="canvas"></div>
</section>
<section id="oxenContent" class="content">
<div>
<form id="oxenQrForm" onsubmit="return false;">
<div class="inputContainer">
<label for="oxenDataInput">Oxen Wallet Address</label>
<input type="text" onchange="oxen.update();" name="dataInput" id="oxenDataInput" placeholder="https://oxen.io" class="textField" required />
</div>
</form>
<button class="formButton" onclick="oxen.download();">Download</button>
</div>
<div id="oxenCanvas"></div>
</section>
<script type="text/javascript" src="qr.js"></script>
</body>
</html>