-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
106 lines (92 loc) · 3.75 KB
/
index.html
File metadata and controls
106 lines (92 loc) · 3.75 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>QR Code</title>
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.5.1/css/all.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<a href="../..">
<nav>
⇐
</nav>
</a>
<header class="header">
<h1><i class="fas fa-qrcode"></i> QR Code Generator</h1>
<p>Generate shareable QR codes</p>
</header>
<section class="container">
<div class="editor">
<div>
<h4 class="editor-head-first">Primary Options</h4>
<div class="editor-container">
<label for="user-input">Text</label>
<textarea name="user-input" id="user-input">text</textarea>
<label>Image</label>
<div class="img-control">
<input type="file" name="image" id="user-image" accept="image/*">
<button class="btn end" id="remove-image">Remove Image</button>
</div>
<label for="width">Width:</label>
<div class="size-control">
<input type="number" name="width" id="width" value="300">
<label for="height">Height:</label>
<input type="number" name="height" id="height" value="300">
</div>
</div>
</div>
<div>
<h4 class="editor-head" data-target="dot-option">Dots Options</h4>
<div class="editor-container" id="dot-option">
<label for="user-input">Dot Style</label>
<select name="dot-style" id="dot-style">
<option value="square" selected>Square</option>
<option value="rounded">Rounded</option>
<option value="classy">Classy</option>
<option value="dots">pointillism</option>
<option value="classy-rounded">Classy & Rounded</option>
<option value="extra-rounded">Extra Rounded</option>
</select>
<label for="dot-color">Dot color</label>
<input type="color" value="#000000" id="dot-color">
<!-- <label>Color Variant</label>
<div class="img-control">
<input type="file" name="image" id="user-image" accept="image/*">
<button class="btn end" id="remove-image">Remove Image</button>
</div>
<label for="width">Width:</label>
<div class="size-control">
<input type="number" name="width" id="width" value="300">
<label for="height">Height:</label>
<input type="number" name="height" id="height" value="300">
</div> -->
</div>
</div>
</div>
<div class="qrcode-container">
<div id="canvas">
</div>
<div>
<button class="btn" id="downloadBtn">Download</button>
<select name="downloadFormat" id="downloadFormat" class="btn">
<option value="png" selected>PNG</option>
<option value="jpg">JPG</option>
<option value="svg">SVG</option>
<option value="webp">WEBP</option>
</select>
</div>
</div>
</section>
<!-- *Sidebar section -->
<button class="bookmarkFolder"><i class="fa-solid fa-folder-bookmark"></i></button>
<section class="sidebar hidden">
<h3>BookMarks</h3>
<aside id="bookmarkList">
</aside>
</section>
<script type="text/javascript" src="https://unpkg.com/qr-code-styling@1.5.0/lib/qr-code-styling.js"></script>
<script src="script.js"></script>
</body>
</html>