-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (58 loc) · 2.23 KB
/
index.html
File metadata and controls
70 lines (58 loc) · 2.23 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/modal.css">
<title>ABM productos</title>
</head>
<body class="scroll--auto">
<header>
<nav class="navbar--faqstyle bg--primary">
<div class="navbar__brand">
<h1 class="navbar__link mt--1">ABM productos</h1>
</div>
</nav>
</header>
<main class="m--2 bg--background">
<div class="grid--med--6">
<a href="/carrito.html" class="boton--e bg--primary e--2--terciary" id='newToCart'>
<span>
Ver carro
</span>
</a>
<a href="/producto.html" class="boton--e bg--primary e--2--terciary" id='newToCart'>
<span>
Agregar Producto
</span>
</a>
<div class="" id="dolar"></div>
</div>
<div class="conteiner-fluid card" id="productos"></div>
</main>
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close">×</span>
<form class="form" id='addToCart'>
<fieldset class="form__fieldset col--span--2">
<div class="form__grupo">
<label class="form__label" for="stock">Cantidad</label>
<input class="form__grupo__input" type="number" name="cant" id="cant">
</div>
<div class="form__submit">
<button class="form__submit__button" id='submitNewProduct'>Guardar</button>
</div>
</fieldset>
</form>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="./js/utils/producto.class.js"></script>
<script src="./js/utils/productList.class.js"></script>
<script src="./js/utils/inicial_state.js"></script>
<script src='./js/index.js'></script>
</body>
</html>