forked from penpot/penpot-plugin-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (35 loc) · 1.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Penpot plugin example</title>
</head>
<body>
<form class="sections-wrapper">
<section class="generate">
<label for="qrContent" class="body-s">Content</label>
<input type="text" id="qrContent" name="qrContent" placeholder="Enter content for QR code"
aria-label="QR code content" value="https://ap.cx/" class="input qrcode-input">
<div class="preview-container">
<div id="app" class="svg-preview"></div>
</div>
<button type="button" id="generateBtn" aria-label="Generate QR Code" data-appearance="primary">Generate QR
Code</button>
<div class="body-s btn-note">v 1.0.3 made with 💥 by <a href="https://ap.cx/" target="_blank" rel="noopener noreferrer">Thierry C.</a></div>
</section>
<section class="extra-options">
<div class="select-container">
<label for="correctionLevel" class="body-s">Select Correction Level</label>
<select id="correctionLevel" name="correctionLevel" class="select">
<option value="L">Low (7%)</option>
<option value="M" selected>Medium (15%)</option>
<option value="Q">Quartile (25%)</option>
<option value="H">High (30%)</option>
</select>
</div>
</section>
</form>
<script type="module" src="/src/main.ts"></script>
</body>
</html>