-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.html
219 lines (181 loc) · 8.58 KB
/
cart.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!DOCTYPE html>
<!-- saved from url=(0049)https://getbootstrap.com/docs/4.3/examples/album/ -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<title>eMercado - Todo lo que busques está aquí</title>
<link rel="canonical" href="https://getbootstrap.com/docs/4.3/examples/album/">
<link href="https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,700,700i,900,900i" rel="stylesheet">
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
<link href="css/dropzone.css" rel="stylesheet">
</head>
<body>
<nav class="site-header sticky-top py-1 bg-dark">
<div class="container d-flex flex-column flex-md-row justify-content-between">
<a class="py-2 d-none d-md-inline-block" href="main.html">Inicio</a>
<a class="py-2 d-none d-md-inline-block" href="categories.html">Categorías</a>
<a class="py-2 d-none d-md-inline-block" href="products.html">Productos</a>
<a class="py-2 d-none d-md-inline-block" href="sell.html">Vender</a>
<a class="py-2 d-none d-md-inline-block" href="cart.html">Mi carrito</a>
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<a class="py-2 d-none d-md-inline-block" id="nombre"></a>
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="cart.html">Ver mi carrito</a>
<a class="dropdown-item" href="my-profile.html">Mi Perfil</a>
<a class="dropdown-item" href="index.html">Cerrar sesión</a>
</div>
</div>
</div>
</nav>
<main role="main">
<div class="container2">
<div class="d-block my-3">
<div>
<div class="producth4">
<h4>Productos</h4>
</div>
<table class="table table-hover">
<thead>
<tr>
<th>Imagen</th>
<th>Articulo</th>
<th>Moneda</th>
<th>Costo Unitario</th>
<th>Cantidad</th>
<th>Subtotal</th>
</tr>
</thead>
<tbody id="tablacarrito">
</tbody>
</table>
</div>
</div>
<div class="text-center p-4" id="seccionEnvios">
<h2><i class="fas fa-shipping-fast"></i>Opciones de envio</h2>
<hr>
<div class="row text-center sinSeleccionar"></div>
<input type="radio" id="envio1" name="envio" value="15"checked onchange=actualizar()>
<label for="envio1">
<h5>Rapido 1 a 3 dias (15%)</h5>
</label>
<div class="row text-center sinSeleccionar"></div>
<input type="radio" id="envio2" name="envio" value="7" onchange=actualizar()>
<label for="envio2">
<h5>Medio 4 a 9 dias (7%)</h5>
</label>
<div class="row text-center sinSeleccionar" ></div>
<input type="radio" id="envio3" name="envio" value="5" onchange=actualizar()>
<label for="envio3">
<h5>Lento 10 a 15 dias (5%)
</h5>
</label>
<br><br>
<br>
<h2><i class="fas fa-wallet"></i> Pago</h2>
<hr>
<p class="lead">Selecciona la forma de pago</p>
<input type="button" id="credito" name="pago" value="click aqui" data-toggle="modal" data-target="#tarjeta">
<label for="credito">
<div class="row text-center sinSeleccionar">
<h6></h6>
</div>
</label>
<hr>
<ul class="list-group mb-3">
<li class="list-group-item d-flex justify-content-between lh-condensed">
<div>
<h6 class="my-0">Precio</h6>
<small class="text-muted">Total de tus productos</small>
</div>
<span class="text-muted" id="costoProducto">-</span>
</li>
<li class="list-group-item d-flex justify-content-between lh-condensed">
<div>
<h6 class="my-0">Porcentaje</h6>
<small class="text-muted">Según el tipo de envio</small>
</div>
<span class="text-muted" id="comision">-</span>
</li>
<li class="list-group-item d-flex justify-content-between">
<h3>Total</h3>
<h3 id="costoTotal"><strong ></strong></h3>
</li>
</ul>
<br>
<button onclick=finish() style="background-color:#000; width: 100px; height: 70px;" class="btn btn-primary" data-dismiss="modal">Finalizar Compra</button>
</div>
</div>
<div class="modal fade" tabindex="-1" role="dialog" id="tarjeta">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Ingrese los datos de su tarjeta</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="container text-center">
<form>
<label for="ntarj" style="color: black;">N° de Tarjeta:</label>
<input type="number" size="18" style="margin: 8px;" id="ntarj" required>
<div>
<label for="cvv" style="color: black;" >CVV:</label>
<input type="number" size="3" style="margin: 8px;" id="cvv" required ><br></div>
<label for="venci" style="color: black;">Fecha de vencimiento:</label>
<input type="month" step="1" min="9-2020" style="margin: 8px;" id="venci" size="7" required><br>
<label for="nombre" style="color: black;">Nombre del Titular:</label>
<input type="text" size="20" id="nombre2" style="margin: 8px;" required style="color: #000">
<label for="ci" style="color: black;">Cedula de Identidad:</label>
<input type="number" size="10" id="ci" style="margin: 8px;" required><br>
<button style="background-color:#000;" class="btn btn-primary" data-dismiss="modal">Guardar</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="text-muted">
<div class="container">
<p>Este sitio forma parte de Desarrollo Web - JAP - 2020</p>
<p>Clickea <a target="_blank" href="Letra.pdf">aquí</a> para descargar la letra del obligatorio.</p>
</div>
</footer>
<div id="spinner-wrapper">
<div class="lds-ring">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<script src="js/jquery-3.4.1.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/dropzone.js"></script>
<script src="js/init.js"></script>
<script src="js/cart.js"></script>
<script src="js/login.js"></script>
</body>
</html>