-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex-with-img.html
394 lines (384 loc) · 16.2 KB
/
index-with-img.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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
<!-- Página agregar producto a la lista - Lista de productos con imágenes - Completa-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1">
<title>AdminLTE 3 | Blank Page</title>
<!-- Google Font: Source Sans Pro -->
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
<!-- Font Awesome -->
<link rel="stylesheet"
href="../assets/admin-lte/plugins/fontawesome-free/css/all.min.css">
<!-- Theme style -->
<link rel="stylesheet"
href="../assets/admin-lte/dist/css/adminlte.min.css">
<link rel="stylesheet"
href="../assets/custom.css">
</head>
<body class="layout-top-nav layout-footer-fixed hold-transition">
<!-- Site wrapper -->
<div class="wrapper">
<!-- Navbar -->
<nav
class="main-header fixed-bottom navbar-white navbar-light border-top border-bottom-0">
<div class="container">
<ul class="navbar-nav d-flex flex-row justify-content-around">
<li class="nav-item">
<a href="../index.html"
class="btn">
<i class="fas fa-home"></i>
<span class="d-block">Inicio</span>
</a>
</li>
<li class="nav-item">
<button type="button"
data-target="#actions-modal"
data-toggle="modal"
class="btn">
<i class="fas fa-bars"></i>
<span class="d-block">Acciones</span>
</button>
</li>
<li class="nav-item">
<a href="../login/index.html"
class="btn">
<i class="fas fa-user"></i>
<span class="d-block">Iniciar sesión</span>
</a>
</li>
</ul>
</div>
</nav>
<!-- /.navbar -->
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container">
<div class="alert alert-default-secondary alert-dismissible fade show"
role="alert">
<strong>GitHub:</strong> <a href="https://github.com/despensa-app"
target="_blank"
class="text-primary">https://github.com/despensa-app</a>
<button type="button"
class="close"
data-dismiss="alert"
aria-label="Close">
<i class="fas fa-times"></i>
</button>
</div>
<div class="d-flex justify-content-between">
<div>
<h1>Seleccionar productos</h1>
</div>
<div>
<a class="btn btn-success"
href="../shopping-list/index.html">
<i class="fas fa-save w-25px"></i>
Terminar
</a>
</div>
</div>
</div><!-- /.container-fluid -->
</section>
<!-- Main content -->
<section class="content">
<div class="container">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="fas fa-search"></i>
</span>
</div>
<input type="text"
class="form-control"
placeholder="Nombre del producto">
</div>
<div class="d-flex justify-content-end mb-3">
<div>
<button class="btn btn-default"
type="button">
<i class="fas fa-bars text-lg"></i>
</button>
<button class="btn btn-default text-primary border-primary"
type="button">
<i class="fas fa-th-large text-lg"></i>
</button>
</div>
</div>
<div class="row">
<div class="col-6 col-sm-4 col-lg-3">
<div class="card">
<img src="https://placehold.co/1080x1080/00ccaa/FFF?text=5bcbe1e7e436244ecafa3faa18fb5c82.webp"
alt="image-product"
class="img-fluid rounded-top">
<div class="btn-group"
role="group">
<button type="button"
class="btn btn-success rounded-0 border-0">
<i class="fas fa-cart-arrow-down"></i>
</button>
<div class="btn-group">
<button type="button"
class="btn btn-default dropdown-toggle rounded-0 border-0"
data-toggle="dropdown"
aria-expanded="false">
</button>
<div class="dropdown-menu dropdown-menu-right">
<button class="dropdown-item"
type="button">
<i class="fas fa-cart-arrow-down w-25px"></i>
+2
</button>
<button class="dropdown-item"
type="button">
<i class="fas fa-cart-arrow-down w-25px"></i>
+3
</button>
<button class="dropdown-item"
type="button">
<i class="fas fa-cart-arrow-down w-25px"></i>
+4
</button>
<button class="dropdown-item"
data-toggle="modal"
data-target="#exampleModal"
type="button">
<i class="fas fa-cart-plus w-25px"></i>
Más
</button>
</div>
</div>
</div>
<div class="card-footer border-top p-0">
<button class="text-truncate btn py-3 btn-block"
data-toggle="modal"
data-target="#exampleModal">
Producto numero 1 Producto numero 1 Producto numero 1 Producto numero 1 Producto numero 1 Producto
numero 1
</button>
</div>
</div>
</div>
<div class="col-6 col-sm-4 col-lg-3">
<div class="card">
<img src="https://placehold.co/1080x1080/00ccaa/FFF?text=5bcbe1e7e436244ecafa3faa18fb5c82.webp"
alt="image-product"
class="img-fluid rounded-top">
<div class="btn-group"
role="group">
<button type="button"
class="btn btn-success rounded-0 border-0">
<i class="fas fa-cart-arrow-down"></i>
</button>
<div class="btn-group">
<button type="button"
class="btn btn-default dropdown-toggle rounded-0 border-0"
data-toggle="dropdown"
aria-expanded="false">
</button>
<div class="dropdown-menu dropdown-menu-right">
<button class="dropdown-item"
type="button">
<i class="fas fa-cart-arrow-down w-25px"></i>
+2
</button>
<button class="dropdown-item"
type="button">
<i class="fas fa-cart-arrow-down w-25px"></i>
+3
</button>
<button class="dropdown-item"
type="button">
<i class="fas fa-cart-arrow-down w-25px"></i>
+4
</button>
<button class="dropdown-item"
data-toggle="modal"
data-target="#exampleModal"
type="button">
<i class="fas fa-cart-plus w-25px"></i>
Más
</button>
</div>
</div>
</div>
<div class="card-footer border-top p-0">
<button class="text-truncate btn py-3 btn-block"
data-toggle="modal"
data-target="#exampleModal">
Producto numero 1 Producto numero 1 Producto numero 1 Producto numero 1 Producto numero 1 Producto
numero 1
</button>
</div>
</div>
</div>
</div>
<button type="button"
class="btn btn-default btn-block">
Mostrar más
</button>
</div>
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<div class="modal fade"
id="exampleModal"
tabindex="-1"
aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"
id="exampleModalLabel">Producto numero 1</h5>
<button type="button"
class="close"
data-dismiss="modal"
aria-label="Close">
<i class="fas fa-times"></i>
</button>
</div>
<div class="modal-body p-0">
<form class="p-3">
<div class="d-flex">
<div class="mr-1">
<label for="units">Unidades</label>
<input type="number"
class="form-control"
name="units"
id="units"
value="1">
</div>
<div class="flex-grow-1">
<!-- NOTA: al pulsar se mostrara una página igual a add-product-shopping-list.html, donde se seleccionara el tipo de unidad. TODO: aun por ver -->
<label for="unit_type_name">Tipo de unidades</label>
<input type="text"
class="form-control"
name="unit_type_name"
id="unit_type_name"
value="lata"
disabled>
</div>
</div>
<button type="submit"
class="btn btn-success btn-block mt-3">
<i class="fas fa-plus"></i>
Agregar
</button>
</form>
<img src="https://placehold.co/1080x1080/00ccaa/FFF?text=5bcbe1e7e436244ecafa3faa18fb5c82.webp"
alt="image-product"
class="img-fluid img-rounded">
</div>
</div>
</div>
</div>
<!-- actions-modal -->
<div class="modal fade"
id="actions-modal"
tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Acciones</h5>
<button type="button"
class="close"
data-dismiss="modal"
aria-label="Close">
<i class="fas fa-times"></i>
</button>
</div>
<div class="modal-body p-0">
<ul class="nav nav-tabs"
role="tablist">
<li class="nav-item"
role="presentation">
<a class="nav-link active rounded-0 border-top-0 border-left-0"
id="filter-action-modal-tab"
data-toggle="tab"
href="#filter-action-modal"
role="tab"
aria-controls="filter-action-modal"
aria-selected="true">
<i class="fas fa-filter"></i>
Filtrar
</a>
</li>
<li class="nav-item"
role="presentation">
<a class="nav-link border-top-0 rounded-0"
id="sort-action-modal-tab"
data-toggle="tab"
href="#sort-action-modal"
role="tab"
aria-controls="sort-action-modal"
aria-selected="false">
<i class="fas fa-sort"></i>
Ordenar
</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane fade show active"
id="filter-action-modal"
role="tabpanel"
aria-labelledby="filter-action-modal-tab">
<div class="list-group list-group-flush rounded-bottom">
<button type="button"
class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
<i class="fas fa-dollar-sign w-25px"></i>
<span class="flex-grow-1">Precio</span>
<i class="fas fa-angle-right"></i>
</button>
<button type="button"
class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
<i class="fas fa-tags w-25px"></i>
<span class="flex-grow-1">Categoría</span>
<i class="fas fa-angle-right"></i>
</button>
<button type="button"
class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
<i class="fas fa-star w-25px"></i>
<span class="flex-grow-1">Favoritos</span>
<i class="fas fa-angle-right"></i>
</button>
</div>
</div>
<div class="tab-pane fade"
id="sort-action-modal"
role="tabpanel"
aria-labelledby="sort-action-modal-tab">
<div class="list-group list-group-flush rounded-bottom">
<button type="button"
class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
Título
<i class="fas fa-long-arrow-alt-down"></i>
</button>
<button type="button"
class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
Precio
<i class="fas fa-long-arrow-alt-down"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /.actions-modal -->
</div>
<!-- ./wrapper -->
<!-- jQuery -->
<script src="../assets/admin-lte/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="../assets/admin-lte/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="../assets/admin-lte/dist/js/adminlte.min.js"></script>
</body>
</html>