-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcurrent-products.html
226 lines (212 loc) · 13.6 KB
/
current-products.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
<!DOCTYPE html>
<html data-theme="light" 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 href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/daisyui@2.42.1/dist/full.css" rel="stylesheet" type="text/css" />
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2/dist/tailwind.min.css" rel="stylesheet" type="text/css" />
<!-- Notifications Notiflix -->
<link rel="stylesheet" href="./js/utils/notiflix-3.2.5.min.css" />
<script src="./js/utils/notiflix-3.2.5.min.js"></script>
<title>Productos | Lista</title>
</head>
<body style="background-color:#fefefe;">
<div class="drawer">
<input id="my-drawer" type="checkbox" class="drawer-toggle" />
<div class="drawer-content">
<div class="navbar bg-base-100 shadow-md">
<div class="flex-none">
<label for="my-drawer" class="btn btn-square btn-ghost">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
class="inline-block w-5 h-5 stroke-current">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</label>
</div>
<div class="flex-1">
<a class="normal-case text-xl">Menú</a>
</div>
<div class="flex-none">
<div class="tooltip tooltip-left" data-tip="cerrar sesión">
<button class="btn btn-square btn-ghost" id="btnLogout">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor" class="inline-block w-5 h-5 stroke-current">>
<path stroke-linecap="round" stroke-linejoin="round"
d="M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15M12 9l-3 3m0 0l3 3m-3-3h12.75" />
</svg>
</button>
</div>
</div>
</div>
<main>
<div class="container px-3 mx-auto grid">
<!-- Contenedor | Coloca tu contenido aquí -->
<div class="pt-5">
<div class="mb-6 flex justify-center items-center w-full">
<svg class="mr-4 drop-shadow-sm" style="width:32px;height:32px;color: #25AC5B"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path
d="M2.25 2.25a.75.75 0 000 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 00-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 000-1.5H5.378A2.25 2.25 0 017.5 15h11.218a.75.75 0 00.674-.421 60.358 60.358 0 002.96-7.228.75.75 0 00-.525-.965A60.864 60.864 0 005.68 4.509l-.232-.867A1.875 1.875 0 003.636 2.25H2.25zM3.75 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zM16.5 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0z" />
</svg>
<h1 class="font-bold text-2xl drop-shadow-sm" style="color: #25AC5B">Productos disponibles
</h1>
</div>
</div>
<div class="card shadow-xl bg-white w-full py-10">
<div class="grid md:flex md:justify-center ml-5 mr-5">
<input type="text" placeholder="Nombre del producto..."
class="input input-bordered text-black w-full" id="searchValue" />
<button class="btn bg-[#25AC5B] border-none w-auto mx-2 mt-4 md:mt-0" id="searchBtn"
style="background-color: #25ac5b; color: white">
<svg class="stroke-1 h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none"
viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round"
d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" />
</svg>
Buscar producto
</button>
<button class="btn bg-[#25AC5B] border-none w-auto mx-2 mt-4 md:mt-0" id="clearBtn"
style="background-color: #25ac5b; color: white">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
stroke-width="1.5" stroke="currentColor" class="w-6 h-6 mr-2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M12 9.75L14.25 12m0 0l2.25 2.25M14.25 12l2.25-2.25M14.25 12L12 14.25m-2.58 4.92l-6.375-6.375a1.125 1.125 0 010-1.59L9.42 4.83c.211-.211.498-.33.796-.33H19.5a2.25 2.25 0 012.25 2.25v10.5a2.25 2.25 0 01-2.25 2.25h-9.284c-.298 0-.585-.119-.796-.33z" />
</svg>
Limpiar
</button>
</div>
</div>
<div class="grid justify-items-center" id="noContent">
</div>
<div class="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-3" id="product-generator">
<div class="card w-auto bg-white shadow-xl p-4 m-5 mx-15 h-min">
<div class="animate-pulse flex card-body">
<div class="flex-1 space-y-3 py-1">
<div class="h-9 bg-slate-400 rounded"></div>
<div class="h-4 bg-slate-400 rounded col-span-2"></div>
<div class="space-y-3">
<div class="grid grid-cols-1 gap-4">
<div class=" btn btn-disabled h-6 bg-slate-400 rounded"></div>
</div>
</div>
</div>
</div>
</div>
<div class="card w-auto bg-white shadow-xl p-4 m-5 mx-15 h-min">
<div class="animate-pulse flex card-body">
<div class="flex-1 space-y-3 py-1">
<div class="h-9 bg-slate-400 rounded"></div>
<div class="h-4 bg-slate-400 rounded col-span-2"></div>
<div class="space-y-3">
<div class="grid grid-cols-1 gap-4">
<div class=" btn btn-disabled h-6 bg-slate-400 rounded"></div>
</div>
</div>
</div>
</div>
</div>
<div class="card w-auto bg-white shadow-xl p-4 m-5 mx-15 h-min">
<div class="animate-pulse flex card-body">
<div class="flex-1 space-y-3 py-1">
<div class="h-9 bg-slate-400 rounded"></div>
<div class="h-4 bg-slate-400 rounded col-span-2"></div>
<div class="space-y-3">
<div class="grid grid-cols-1 gap-4">
<div class=" btn btn-disabled h-6 bg-slate-400 rounded"></div>
</div>
</div>
</div>
</div>
</div>
<div class="card w-auto bg-white shadow-xl p-4 m-5 mx-15 h-min">
<div class="animate-pulse flex card-body">
<div class="flex-1 space-y-3 py-1">
<div class="h-9 bg-slate-400 rounded"></div>
<div class="h-4 bg-slate-400 rounded col-span-2"></div>
<div class="space-y-3">
<div class="grid grid-cols-1 gap-4">
<div class=" btn btn-disabled h-6 bg-slate-400 rounded"></div>
</div>
</div>
</div>
</div>
</div>
<div class="card w-auto bg-white shadow-xl p-4 m-5 mx-15 h-min">
<div class="animate-pulse flex card-body">
<div class="flex-1 space-y-3 py-1">
<div class="h-9 bg-slate-400 rounded"></div>
<div class="h-4 bg-slate-400 rounded col-span-2"></div>
<div class="space-y-3">
<div class="grid grid-cols-1 gap-4">
<div class=" btn btn-disabled h-6 bg-slate-400 rounded"></div>
</div>
</div>
</div>
</div>
</div>
<div class="card w-auto bg-white shadow-xl p-4 m-5 mx-15 h-min">
<div class="animate-pulse flex card-body">
<div class="flex-1 space-y-3 py-1">
<div class="h-9 bg-slate-400 rounded"></div>
<div class="h-4 bg-slate-400 rounded col-span-2"></div>
<div class="space-y-3">
<div class="grid grid-cols-1 gap-4">
<div class=" btn btn-disabled h-6 bg-slate-400 rounded"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
<div class="drawer-side">
<label for="my-drawer" class="drawer-overlay"></label>
<aside class="z-20 w-64 bg-white">
<div class="text-gray-500 dark:text-gray-400">
<a class="flex justify-center text-lg font-bold text-gray-800 dark:text-gray-200" href="#">
<img class="" height="120px" width="120px" src="./images/Logo.png" />
</a>
<div class="divider"></div>
<ul class="mt-6">
<li class="relative px-6 py-3">
<a class="inline-flex items-center w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800"
href="completed-visits.html">
<svg class="w-5 h-5" aria-hidden="true" fill="none" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor">
<path
d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122">
</path>
</svg>
<span class="ml-4">Visitas</span>
</a>
</li>
</ul>
<ul>
<li class="relative px-6 py-3">
<span class="absolute inset-y-0 left-0 w-1 bg-[#25AC5B] rounded-tr-lg rounded-br-lg"
aria-hidden="true"></span>
<a class="inline-flex items-center w-full text-sm font-semibold text-black transition-colors duration-150 hover:text-gray-400 hover:bg-transparent"
href="products.html">
<svg class="w-5 h-5" aria-hidden="true" fill="none" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor">
<path d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"></path>
<path d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path>
</svg>
<span class="ml-4">Productos</span>
</a>
</li>
</ul>
</div>
</aside>
</div>
</div>
<script src="./js/utils/network.js"></script>
<script src="./js/modules/ProductModule.js" type="module"></script>
<script src="./js/modules/LogoutModule.js" type="module"></script>
</body>
</html>