-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (73 loc) · 2.41 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
74
75
76
77
78
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#333" />
<title>Barcode To Text</title>
<link href="style.css" rel="stylesheet">
<script src="main.mjs" type="module"></script>
</head>
<body>
<form id="container">
<div id="data-input-container">
<input id="data-input" type="text" placeholder="Enter Text...">
<a id="repo-link" href="https://github.com/505e06b2/Barcode-to-Text" target="_blank">
<span>Github Repo</span>
</a>
</div>
<div id="barcode-container" title="Click to copy barcode">
<div id="barcode" class="theme-light font-serif"></div>
</div>
<div id="utilities-container">
<div id="settings-container">
<div class="settings-label">
<span>Symbology:</span>
</div>
<select id="symbology">
<option value="auto">Auto</option>
<option value="itf">ITF</option>
<option value="code128">Code 128</option>
</select>
<div class="settings-label">
<span>Font Size:</span>
</div>
<select id="font_size">
<option value="xxx-large">XXX Large</option>
<option value="xx-large">XX Large</option>
<option value="x-large">X Large</option>
<option value="larger">Larger</option>
<option value="large">Large</option>
<option value="medium">Medium</option>
<option value="smaller">Smaller</option>
<option value="small">Small</option>
</select>
<div class="settings-label">
<span>Font:</span>
</div>
<select id="font">
<option value="noto-sans">Noto Sans</option>
<option value="serif">Serif</option>
<option value="sans-serif">Sans-serif</option>
<option value="monospace">Monospace</option>
</select>
<div class="settings-label">
<span>Theme:</span>
</div>
<select id="theme">
<option value="light">Light</option>
<option value="dark">Dark</option>
<option value="lowcontrast">Low Contrast</option>
<option value="lowcontrast-dark">Low Contrast Dark</option>
</select>
</div>
<div id="log-container">
<div id="non-encoder-warnings">
<div id="problematic-theme" class="warning">⚠️ Some scanners are unable to detect barcodes with a foreground lighter than the background</div>
</div>
<div id="log"></div>
</div>
</div>
</form>
</body>
</html>