-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathqr.html
72 lines (63 loc) · 3.4 KB
/
qr.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
<!DOCTYPE html>
<html lang="en">
<title>Whoop QR Code Generator</title>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="utf-8">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-green.css">
<link rel="preload" href="https://fonts.cdnfonts.com/s/83153/DePixelKlein.woff" as="font" type="font/woff2" crossorigin>
<link href="https://fonts.cdnfonts.com/css/depixel" rel="stylesheet">
<link rel="preload" href="https://fonts.cdnfonts.com/s/7354/LARGN___.woff" as="font" type="font/woff2" crossorigin>
<link href="https://fonts.cdnfonts.com/css/large-9" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrious/4.0.2/qrious.min.js"></script>
<body class="w3-dark-gray"
style="background-image: url('qr_img/art.jpg'); background-repeat: repeat-y; background-size: cover;">
<div class="w3-container w3-center w3-theme-d2">
<h1 class="w3-hide-small">Whoop QR Code Generator</h1>
<a href="https://github.com/lmnn/droneQR" id="github-link">
<img src="qr_img/whoop.png" alt="" class="w3-image w3-opacity-max w3-padding-16" style="width: 3rem; height: auto;">
</a>
</div>
<div class="w3-container w3-padding-16 w3-auto" style="max-width: 40rem;">
<form id="qrForm">
<div>
<label class="w3-text-white" for="nameInput"><b>Enter Name:</b></label>
<input class="w3-input" type="text" id="nameInput" autofocus maxlength="16" autocomplete="off"
spellcheck="false">
</div>
<div class="w3-row">
<div class="w3-quarter w3-center">
<label for="bfInput"><img src="qr_img/betaflight.svg" alt="Betaflight" class="w3-image w3-padding-16 w3-margin-top"
style="width: 3rem; height: auto;"></label>
<input class="w3-radio" id="bfInput" type="radio" name="firmware" value="Betaflight" checked>
</div>
<div class="w3-quarter w3-center">
<label for="qsInput"><img src="qr_img/quicksilver.svg" alt="Quicksilver" class="w3-image w3-padding-16 w3-margin-top"
style="width: 3rem; height: auto;"></label>
<input class="w3-radio" id="qsInput" type="radio" name="firmware" value="Quicksilver">
</div>
<div class="w3-quarter w3-center w3-container w3-margin-top">
<label class="w3-label w3-text-white" for="fontSelection">Select font</label>
<b><select class="w3-select w3-text-theme" id="fontSelection">
<option value="24px DePixel">Pixel</option>
<option value="24px large9">Large</option>
<option value="28px system-ui">System UI</option>
<option value="32px Verdana">Verdana</option>
</select></b>
</div>
<div class="w3-quarter w3-container w3-center w3-margin-top">
<label class="w3-label w3-text-white w3-center " for="hideName">Hide Name</label>
<input class="w3-check" type="checkbox" id="hideName">
</div>
</div>
<div>
<button type="submit" class="w3-btn w3-input w3-theme-d2 w3-large w3-margin-top w3-border-0">
Generate QR</button>
</div>
</form>
<div id="qrcode" class="w3-image w3-btn w3-margin-top w3-bar" style="display: none;">
<script src="qr.js"></script>
</div>
<p id="downloadText" class="w3-opacity w3-center" style="display: none;">Click QR to download</p>
</div>
</body>
</html>