-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (66 loc) · 3.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Inventario</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body class="container p-4 col-md">
<div class="input-group flex-nowrap col-md-3">
<span class="input-group-text" id="addon-wrapping-sizing-default">Nombre</span>
<input type="text" class="form-control" id="nombre" aria-label="Username" aria-describedby="addon-wrapping">
</div>
<div class="input-group flex-nowrap">
<span class="input-group-text" id="addon-wrapping-sizing-default">Cantidad</span>
<input type="text" class="form-control" id="cantidad" aria-describedby="addon-wrapping">
</div>
<div class="input-group flex-nowrap">
<span class="input-group-text" id="addon-wrapping-sizing-default">Precio</span>
<input type="text" class="form-control" id="precio" aria-describedby="addon-wrapping">
</div>
<br>
<div class="d-grid gap-2 d-md-flex justify-content-md-end ">
<button class="btn btn-outline-primary me-md-2" type="button" onclick="AgregarDatos()" id="boton" value="Agregar"">Agregar</button>
<button class="btn btn-outline-primary" type="button" id="EliminarT" value="Eleminar">Eliminar Todo</button>
</div>
<br>
<div class="input-group flex-nowrap">
<span class="input-group-text" id="addon-wrapping-sizing-default">Buscar</span>
<input type="text" class="form-control" id="buscar" aria-describedby="addon-wrapping">
<button class="btn btn-outline-primary" type="button" onclick="BuscarDatos()" id="bbuscar" value="Buscar">Buscar</button>
</div>
<br>
<section class="row">
<div class="col-md-6">
<table class="table table-dark table-striped">
<thead>
<tr>
<th>Producto</th>
<th>Cantidad</th>
<th>Precio</th>
<th>Opc</th>
</tr>
</thead>
<tbody id="tabla"></tbody>
</table>
</div>
<div class="col-md-6">
<table class="table table-dark table-striped">
<thead>
<tr>
<th>Producto</th>
<th>Cantidad</th>
<th>Precio</th>
<th>Opc</th>
</tr>
</thead>
<tbody id="tablab"></tbody>
</table>
</div>
</section>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="js.js"></script>
</body>
</html>