-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (60 loc) · 2.9 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
<!DOCTYPE html>
<html>
<header>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="index.css">
<script type="text/javascript" src="./utils/linearBarcode.js"></script>
<script type="text/javascript" src="./utils/qrcode.js"></script>
</header>
<body>
<div class="p-2 d-inline-block page">
<div>
<div> <textarea class="form-control" id="barcode-input" placeholder="Enter your barcode here, You can add multiple lines"
autofocus></textarea> </div>
</div>
<div class="mt-2"> <button id="barcode-submit" class="btn btn-info">Submit</button> </div>
<div class="detail mt-2">
<p type="text" class="barcode-hint" id="element-input-pasted" style="font-size: 1.1em;"
placeholder="Paste your image from clipboard!">Paste your image here
(clipboard)!</p>
</div>
<div class="detail">
<div class="d-inline d-collapse hide">
<div class="d-flex justify-content-between">
<div>
<img src="./static/double-right.svg" class="hdl-button hide" alt="My Happy SVG" /> <img
src="./static/double-down.svg" class="hdl-button show" alt="My Happy SVG" />
</div>
<div>
<span>Custom Selector</span>
</div>
</div> <textarea class="form-control input show" id="element-input" value="body"
placeholder="To use in query selector"></textarea>
</div>
</div>
<div class="detail">
<div class="d-inline d-collapse hide">
<div class="d-flex justify-content-between">
<div>
<img src="./static/double-right.svg" class="hdl-button-timeout hide" alt="My Happy SVG" /> <img
src="./static/double-down.svg" class="hdl-button-timeout show" alt="My Happy SVG" />
</div>
<div>
<span>Custom Timeout</span>
</div>
</div> <input type="text" class="form-control input show" id="element-input-timeout" value="70"
placeholder="Delay scan (ms)"></input>
</div>
</div>
<div class="d-flex flex-column">
<p> <b>Ctrl + Enter to quick Submit</b></p>
<p class="d-flex justify-content-end"><span> Powered by <a href="https://longbui.net"
target="_blank">Long Bui</a> </span></p>
</div>
</div>
</body>
<script src="./utils/loadLinearCode.js"></script>
<script src="./utils/loadQRCode.js"></script>
<script src="index.js"></script>
</html>