-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
67 lines (65 loc) · 3.61 KB
/
index2.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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zxing Barcode</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/custom2.css">
</head>
<body>
<main class="wrapper" style="padding-top:2em">
<div class="container" >
<div class="col-12 no-gutters">
<div class="row">
<div class="col-12">
<label class="title"><strong>Multi-Lector de Codigos de Barras</strong> </label>
</div>
</div>
<div class="row">
<div class="col-12">
<input type="text" id="result" placeholder="Resultado" class="form-control" readonly>
</div>
<div class="col-12 pt-2">
<button type="button" class="btn btn-success w-100" id="btn-scannear">ESCANER</button>
</div>
</div>
<div id="cam-fullscreen" class="overlay text-light">
<div class="row">
<div class="col-12 parent h-100">
<div class="embed-responsive embed-responsive-1by1 ">
<video id="video" class="embed-responsive-item h-100" style="border: 1px solid gray; background-color: black;" allowfullscreen></video>
</div>
<a href="javascript:void(0)" class="closebtn text-danger" id="btn-close" title="Cerrar">×</a>
<div id="controles" class="row controles justify-content-around">
<a href="javascript:void(0)" class="ml-2" title="Iniciar" id="startButton">▶</a>
<a href="javascript:void(0)" title="Resetear" id="resetButton">🔚</a>
<a href="javascript:void(0)" title="Linterna" id="torchButton">🔦</a>
<a href="javascript:void(0)" title="Alejar" id="zooOutButton">➖</a>
<a href="javascript:void(0)" title="Acercar" id="zooInButton">➕</a>
<div id="sourceSelectPanel" style="display:none" class="col-6">
<select id="sourceSelect" class="custom-select " >
</select>
</div>
</div>
</div>
</div>
<div class="row pl-2">
<div class="col-sm-4">
<small>* Si tiene varias camaras en su disposito seleccione la <strong>Fuente de Video</strong> a utilizar.</small>
</div>
<div class="col-sm-4">
<small>* Presione el boton <strong>INICIAR</strong> para iniciar con el video.</small>
</div>
<div class="col-sm-4">
<small>* Presione <strong>RESETEAR</strong> para volver al estado inicial.</small>
</div>
</div>
</div>
</div>
</div>
</main>
<script src="js/zxing.min.js"></script>
<script src="js/custom2.js"></script>
</body>
</html>