-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·102 lines (91 loc) · 3.83 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="es">
<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">
<!-- CSS only -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="fonts/fonts.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
<!---->
<link href="images/favicon.png" rel="icon" type="image/png" />
<title>agoodshop | Laura Marquinez</title>
</head>
<body class="bg-dark">
<!--**HEADER**: title-->
<header class="border-bottom border-white">
<nav class="navbar navbar-expand-lg m-2 p-1">
<div class="container-fluid">
<h1 class="navbar-brand text-white">
agoodshop
</h1>
</div>
</nav>
</header>
<!--/HEADER-->
<!--**MAIN**-->
<main class="container-fluid">
<div class="row justify-content-around">
<!--**SECTION**: products table -->
<section class="col-lg-7">
<table class="table table-striped table-hover table-light my-5">
<thead class="border-bottom border-secondary">
<tr>
<th scope="col">
Producto
</th>
<th scope="col">
Cantidad
</th>
<th scope="col">
Unidad
</th>
<th scope="col">
Total
</th>
</tr>
</thead>
<tbody id="table_content">
<!-- items generated from JSON -->
</tbody>
</table>
</section>
<!--/SECTION-->
<!--**ASIDE**: shopping cart -->
<aside class="col-lg-3">
<div id="shopping-cart" class="flex-column bg-light my-5 p-4">
<h2 id="sc-total-product" class="fw-bold">
Total
</h2>
<div id="sc-products">
<!-- add products with their price -->
</div>
<div class="border-top border-secondary pt-4 d-flex align-items-center justify-content-between">
<h2 id="sc-total" class="text-uppercase">
Total
</h2>
<!-- calculate total -->
<p class="js-total">
0€
</p>
</div>
</div>
</aside>
<!--/ASIDE-->
</div>
</main>
<!--/MAIN-->
<!-- JavaScript FontAwesome -->
<script src="https://kit.fontawesome.com/e524af45b4.js" crossorigin="anonymous"></script>
<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2"
crossorigin="anonymous"></script>
<script src="scripts/carrito.js"></script>
<script src="scripts/producto.js"></script>
<script src="scripts/app.js"></script>
</body>
</html>