ecoradio commited on
Commit
c2360dc
·
verified ·
1 Parent(s): a56724c

CREARE INVETARIO NEGOZIO - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +574 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Angelo
3
- emoji: 👀
4
  colorFrom: yellow
5
- colorTo: yellow
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: angelo
3
+ emoji: 🐳
4
  colorFrom: yellow
5
+ colorTo: purple
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,574 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Shop Inventory System</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .sidebar {
11
+ transition: all 0.3s ease;
12
+ }
13
+ .sidebar.collapsed {
14
+ width: 70px;
15
+ }
16
+ .sidebar.collapsed .sidebar-text {
17
+ display: none;
18
+ }
19
+ .sidebar.collapsed .logo-text {
20
+ display: none;
21
+ }
22
+ .sidebar.collapsed .menu-item {
23
+ justify-content: center;
24
+ }
25
+ .main-content {
26
+ transition: all 0.3s ease;
27
+ }
28
+ .main-content.expanded {
29
+ margin-left: 70px;
30
+ }
31
+ @media (max-width: 768px) {
32
+ .sidebar {
33
+ position: fixed;
34
+ z-index: 1000;
35
+ left: -250px;
36
+ }
37
+ .sidebar.open {
38
+ left: 0;
39
+ }
40
+ .main-content {
41
+ margin-left: 0 !important;
42
+ }
43
+ .mobile-menu-btn {
44
+ display: block !important;
45
+ }
46
+ }
47
+ </style>
48
+ </head>
49
+ <body class="bg-gray-100">
50
+ <div class="flex h-screen overflow-hidden">
51
+ <!-- Sidebar -->
52
+ <div class="sidebar bg-indigo-800 text-white w-64 flex-shrink-0 flex flex-col">
53
+ <div class="p-4 flex items-center border-b border-indigo-700">
54
+ <i class="fas fa-boxes text-2xl mr-3"></i>
55
+ <span class="logo-text text-xl font-bold">ShopStock</span>
56
+ <button id="toggleSidebar" class="ml-auto md:hidden">
57
+ <i class="fas fa-times"></i>
58
+ </button>
59
+ </div>
60
+ <div class="p-4">
61
+ <div class="mb-6">
62
+ <div class="text-xs uppercase text-indigo-400 mb-2 sidebar-text">Main</div>
63
+ <a href="#" class="menu-item flex items-center py-2 px-3 rounded-lg bg-indigo-700 text-white mb-1">
64
+ <i class="fas fa-tachometer-alt mr-3"></i>
65
+ <span class="sidebar-text">Dashboard</span>
66
+ </a>
67
+ <a href="#" class="menu-item flex items-center py-2 px-3 rounded-lg hover:bg-indigo-700 text-white mb-1">
68
+ <i class="fas fa-box-open mr-3"></i>
69
+ <span class="sidebar-text">Inventory</span>
70
+ </a>
71
+ <a href="#" class="menu-item flex items-center py-2 px-3 rounded-lg hover:bg-indigo-700 text-white mb-1">
72
+ <i class="fas fa-tags mr-3"></i>
73
+ <span class="sidebar-text">Categories</span>
74
+ </a>
75
+ </div>
76
+ <div class="mb-6">
77
+ <div class="text-xs uppercase text-indigo-400 mb-2 sidebar-text">Operations</div>
78
+ <a href="#" class="menu-item flex items-center py-2 px-3 rounded-lg hover:bg-indigo-700 text-white mb-1">
79
+ <i class="fas fa-cart-plus mr-3"></i>
80
+ <span class="sidebar-text">Purchases</span>
81
+ </a>
82
+ <a href="#" class="menu-item flex items-center py-2 px-3 rounded-lg hover:bg-indigo-700 text-white mb-1">
83
+ <i class="fas fa-cash-register mr-3"></i>
84
+ <span class="sidebar-text">Sales</span>
85
+ </a>
86
+ <a href="#" class="menu-item flex items-center py-2 px-3 rounded-lg hover:bg-indigo-700 text-white mb-1">
87
+ <i class="fas fa-exchange-alt mr-3"></i>
88
+ <span class="sidebar-text">Transfers</span>
89
+ </a>
90
+ </div>
91
+ <div>
92
+ <div class="text-xs uppercase text-indigo-400 mb-2 sidebar-text">Reports</div>
93
+ <a href="#" class="menu-item flex items-center py-2 px-3 rounded-lg hover:bg-indigo-700 text-white mb-1">
94
+ <i class="fas fa-chart-line mr-3"></i>
95
+ <span class="sidebar-text">Stock Report</span>
96
+ </a>
97
+ <a href="#" class="menu-item flex items-center py-2 px-3 rounded-lg hover:bg-indigo-700 text-white mb-1">
98
+ <i class="fas fa-chart-pie mr-3"></i>
99
+ <span class="sidebar-text">Sales Report</span>
100
+ </a>
101
+ </div>
102
+ </div>
103
+ <div class="mt-auto p-4 border-t border-indigo-700">
104
+ <a href="#" class="menu-item flex items-center py-2 px-3 rounded-lg hover:bg-indigo-700 text-white">
105
+ <i class="fas fa-cog mr-3"></i>
106
+ <span class="sidebar-text">Settings</span>
107
+ </a>
108
+ </div>
109
+ </div>
110
+
111
+ <!-- Main Content -->
112
+ <div class="main-content flex-1 flex flex-col overflow-hidden">
113
+ <!-- Top Navigation -->
114
+ <header class="bg-white shadow-sm">
115
+ <div class="flex items-center justify-between p-4">
116
+ <div class="flex items-center">
117
+ <button id="mobileMenuBtn" class="mobile-menu-btn mr-4 text-gray-600 hidden">
118
+ <i class="fas fa-bars text-xl"></i>
119
+ </button>
120
+ <h1 class="text-xl font-semibold text-gray-800">Inventory Management</h1>
121
+ </div>
122
+ <div class="flex items-center space-x-4">
123
+ <div class="relative">
124
+ <i class="fas fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
125
+ <input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent">
126
+ </div>
127
+ <div class="relative">
128
+ <i class="fas fa-bell text-xl text-gray-600"></i>
129
+ <span class="absolute -top-1 -right-1 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">3</span>
130
+ </div>
131
+ <div class="flex items-center">
132
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="h-8 w-8 rounded-full mr-2">
133
+ <span class="hidden md:inline">John Doe</span>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </header>
138
+
139
+ <!-- Content Area -->
140
+ <main class="flex-1 overflow-y-auto p-6">
141
+ <div class="mb-6 flex flex-col md:flex-row md:items-center md:justify-between">
142
+ <div>
143
+ <h2 class="text-2xl font-bold text-gray-800">Product Inventory</h2>
144
+ <p class="text-gray-600">Manage your shop's products and stock levels</p>
145
+ </div>
146
+ <div class="mt-4 md:mt-0">
147
+ <button id="addProductBtn" class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center">
148
+ <i class="fas fa-plus mr-2"></i> Add Product
149
+ </button>
150
+ </div>
151
+ </div>
152
+
153
+ <!-- Stats Cards -->
154
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
155
+ <div class="bg-white rounded-lg shadow p-6">
156
+ <div class="flex items-center justify-between">
157
+ <div>
158
+ <p class="text-gray-500 text-sm">Total Products</p>
159
+ <h3 class="text-2xl font-bold">1,248</h3>
160
+ </div>
161
+ <div class="bg-indigo-100 p-3 rounded-full">
162
+ <i class="fas fa-box text-indigo-600 text-xl"></i>
163
+ </div>
164
+ </div>
165
+ <div class="mt-4">
166
+ <span class="text-green-500 text-sm font-medium"><i class="fas fa-arrow-up mr-1"></i> 12.5%</span>
167
+ <span class="text-gray-500 text-sm ml-2">vs last month</span>
168
+ </div>
169
+ </div>
170
+ <div class="bg-white rounded-lg shadow p-6">
171
+ <div class="flex items-center justify-between">
172
+ <div>
173
+ <p class="text-gray-500 text-sm">Low Stock</p>
174
+ <h3 class="text-2xl font-bold">87</h3>
175
+ </div>
176
+ <div class="bg-red-100 p-3 rounded-full">
177
+ <i class="fas fa-exclamation text-red-600 text-xl"></i>
178
+ </div>
179
+ </div>
180
+ <div class="mt-4">
181
+ <span class="text-red-500 text-sm font-medium"><i class="fas fa-arrow-up mr-1"></i> 5.2%</span>
182
+ <span class="text-gray-500 text-sm ml-2">vs last month</span>
183
+ </div>
184
+ </div>
185
+ <div class="bg-white rounded-lg shadow p-6">
186
+ <div class="flex items-center justify-between">
187
+ <div>
188
+ <p class="text-gray-500 text-sm">Out of Stock</p>
189
+ <h3 class="text-2xl font-bold">24</h3>
190
+ </div>
191
+ <div class="bg-yellow-100 p-3 rounded-full">
192
+ <i class="fas fa-times text-yellow-600 text-xl"></i>
193
+ </div>
194
+ </div>
195
+ <div class="mt-4">
196
+ <span class="text-green-500 text-sm font-medium"><i class="fas fa-arrow-down mr-1"></i> 8.3%</span>
197
+ <span class="text-gray-500 text-sm ml-2">vs last month</span>
198
+ </div>
199
+ </div>
200
+ <div class="bg-white rounded-lg shadow p-6">
201
+ <div class="flex items-center justify-between">
202
+ <div>
203
+ <p class="text-gray-500 text-sm">Categories</p>
204
+ <h3 class="text-2xl font-bold">15</h3>
205
+ </div>
206
+ <div class="bg-green-100 p-3 rounded-full">
207
+ <i class="fas fa-tags text-green-600 text-xl"></i>
208
+ </div>
209
+ </div>
210
+ <div class="mt-4">
211
+ <span class="text-green-500 text-sm font-medium"><i class="fas fa-arrow-up mr-1"></i> 3.1%</span>
212
+ <span class="text-gray-500 text-sm ml-2">vs last month</span>
213
+ </div>
214
+ </div>
215
+ </div>
216
+
217
+ <!-- Inventory Table -->
218
+ <div class="bg-white rounded-lg shadow overflow-hidden">
219
+ <div class="p-4 border-b flex flex-col md:flex-row md:items-center md:justify-between">
220
+ <div class="mb-4 md:mb-0">
221
+ <div class="relative max-w-xs">
222
+ <i class="fas fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
223
+ <input type="text" placeholder="Search products..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent w-full">
224
+ </div>
225
+ </div>
226
+ <div class="flex items-center space-x-4">
227
+ <div class="flex items-center">
228
+ <label class="mr-2 text-gray-600">Filter:</label>
229
+ <select class="border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
230
+ <option>All Products</option>
231
+ <option>Low Stock</option>
232
+ <option>Out of Stock</option>
233
+ <option>Recently Added</option>
234
+ </select>
235
+ </div>
236
+ <button class="text-gray-600 hover:text-gray-800">
237
+ <i class="fas fa-download"></i>
238
+ </button>
239
+ </div>
240
+ </div>
241
+ <div class="overflow-x-auto">
242
+ <table class="min-w-full divide-y divide-gray-200">
243
+ <thead class="bg-gray-50">
244
+ <tr>
245
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Product</th>
246
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Category</th>
247
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">SKU</th>
248
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Price</th>
249
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Stock</th>
250
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
251
+ <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
252
+ </tr>
253
+ </thead>
254
+ <tbody class="bg-white divide-y divide-gray-200">
255
+ <tr>
256
+ <td class="px-6 py-4 whitespace-nowrap">
257
+ <div class="flex items-center">
258
+ <div class="flex-shrink-0 h-10 w-10">
259
+ <img class="h-10 w-10 rounded" src="https://via.placeholder.com/40" alt="">
260
+ </div>
261
+ <div class="ml-4">
262
+ <div class="text-sm font-medium text-gray-900">Premium Headphones</div>
263
+ <div class="text-sm text-gray-500">Audio</div>
264
+ </div>
265
+ </div>
266
+ </td>
267
+ <td class="px-6 py-4 whitespace-nowrap">
268
+ <div class="text-sm text-gray-900">Electronics</div>
269
+ </td>
270
+ <td class="px-6 py-4 whitespace-nowrap">
271
+ <div class="text-sm text-gray-900">PRD-001</div>
272
+ </td>
273
+ <td class="px-6 py-4 whitespace-nowrap">
274
+ <div class="text-sm text-gray-900">$199.99</div>
275
+ </td>
276
+ <td class="px-6 py-4 whitespace-nowrap">
277
+ <div class="text-sm text-gray-900">45</div>
278
+ </td>
279
+ <td class="px-6 py-4 whitespace-nowrap">
280
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">In Stock</span>
281
+ </td>
282
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
283
+ <button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></button>
284
+ <button class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></button>
285
+ </td>
286
+ </tr>
287
+ <tr>
288
+ <td class="px-6 py-4 whitespace-nowrap">
289
+ <div class="flex items-center">
290
+ <div class="flex-shrink-0 h-10 w-10">
291
+ <img class="h-10 w-10 rounded" src="https://via.placeholder.com/40" alt="">
292
+ </div>
293
+ <div class="ml-4">
294
+ <div class="text-sm font-medium text-gray-900">Wireless Mouse</div>
295
+ <div class="text-sm text-gray-500">Computer Accessories</div>
296
+ </div>
297
+ </div>
298
+ </td>
299
+ <td class="px-6 py-4 whitespace-nowrap">
300
+ <div class="text-sm text-gray-900">Electronics</div>
301
+ </td>
302
+ <td class="px-6 py-4 whitespace-nowrap">
303
+ <div class="text-sm text-gray-900">PRD-002</div>
304
+ </td>
305
+ <td class="px-6 py-4 whitespace-nowrap">
306
+ <div class="text-sm text-gray-900">$29.99</div>
307
+ </td>
308
+ <td class="px-6 py-4 whitespace-nowrap">
309
+ <div class="text-sm text-gray-900">5</div>
310
+ </td>
311
+ <td class="px-6 py-4 whitespace-nowrap">
312
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Low Stock</span>
313
+ </td>
314
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
315
+ <button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></button>
316
+ <button class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></button>
317
+ </td>
318
+ </tr>
319
+ <tr>
320
+ <td class="px-6 py-4 whitespace-nowrap">
321
+ <div class="flex items-center">
322
+ <div class="flex-shrink-0 h-10 w-10">
323
+ <img class="h-10 w-10 rounded" src="https://via.placeholder.com/40" alt="">
324
+ </div>
325
+ <div class="ml-4">
326
+ <div class="text-sm font-medium text-gray-900">Bluetooth Speaker</div>
327
+ <div class="text-sm text-gray-500">Audio</div>
328
+ </div>
329
+ </div>
330
+ </td>
331
+ <td class="px-6 py-4 whitespace-nowrap">
332
+ <div class="text-sm text-gray-900">Electronics</div>
333
+ </td>
334
+ <td class="px-6 py-4 whitespace-nowrap">
335
+ <div class="text-sm text-gray-900">PRD-003</div>
336
+ </td>
337
+ <td class="px-6 py-4 whitespace-nowrap">
338
+ <div class="text-sm text-gray-900">$79.99</div>
339
+ </td>
340
+ <td class="px-6 py-4 whitespace-nowrap">
341
+ <div class="text-sm text-gray-900">0</div>
342
+ </td>
343
+ <td class="px-6 py-4 whitespace-nowrap">
344
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Out of Stock</span>
345
+ </td>
346
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
347
+ <button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></button>
348
+ <button class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></button>
349
+ </td>
350
+ </tr>
351
+ <tr>
352
+ <td class="px-6 py-4 whitespace-nowrap">
353
+ <div class="flex items-center">
354
+ <div class="flex-shrink-0 h-10 w-10">
355
+ <img class="h-10 w-10 rounded" src="https://via.placeholder.com/40" alt="">
356
+ </div>
357
+ <div class="ml-4">
358
+ <div class="text-sm font-medium text-gray-900">Smart Watch</div>
359
+ <div class="text-sm text-gray-500">Wearables</div>
360
+ </div>
361
+ </div>
362
+ </td>
363
+ <td class="px-6 py-4 whitespace-nowrap">
364
+ <div class="text-sm text-gray-900">Electronics</div>
365
+ </td>
366
+ <td class="px-6 py-4 whitespace-nowrap">
367
+ <div class="text-sm text-gray-900">PRD-004</div>
368
+ </td>
369
+ <td class="px-6 py-4 whitespace-nowrap">
370
+ <div class="text-sm text-gray-900">$249.99</div>
371
+ </td>
372
+ <td class="px-6 py-4 whitespace-nowrap">
373
+ <div class="text-sm text-gray-900">18</div>
374
+ </td>
375
+ <td class="px-6 py-4 whitespace-nowrap">
376
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">In Stock</span>
377
+ </td>
378
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
379
+ <button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></button>
380
+ <button class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></button>
381
+ </td>
382
+ </tr>
383
+ <tr>
384
+ <td class="px-6 py-4 whitespace-nowrap">
385
+ <div class="flex items-center">
386
+ <div class="flex-shrink-0 h-10 w-10">
387
+ <img class="h-10 w-10 rounded" src="https://via.placeholder.com/40" alt="">
388
+ </div>
389
+ <div class="ml-4">
390
+ <div class="text-sm font-medium text-gray-900">USB-C Cable</div>
391
+ <div class="text-sm text-gray-500">Cables</div>
392
+ </div>
393
+ </div>
394
+ </td>
395
+ <td class="px-6 py-4 whitespace-nowrap">
396
+ <div class="text-sm text-gray-900">Accessories</div>
397
+ </td>
398
+ <td class="px-6 py-4 whitespace-nowrap">
399
+ <div class="text-sm text-gray-900">PRD-005</div>
400
+ </td>
401
+ <td class="px-6 py-4 whitespace-nowrap">
402
+ <div class="text-sm text-gray-900">$12.99</div>
403
+ </td>
404
+ <td class="px-6 py-4 whitespace-nowrap">
405
+ <div class="text-sm text-gray-900">3</div>
406
+ </td>
407
+ <td class="px-6 py-4 whitespace-nowrap">
408
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Low Stock</span>
409
+ </td>
410
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
411
+ <button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></button>
412
+ <button class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></button>
413
+ </td>
414
+ </tr>
415
+ </tbody>
416
+ </table>
417
+ </div>
418
+ <div class="px-6 py-4 border-t flex items-center justify-between">
419
+ <div class="text-sm text-gray-500">
420
+ Showing <span class="font-medium">1</span> to <span class="font-medium">5</span> of <span class="font-medium">24</span> results
421
+ </div>
422
+ <div class="flex space-x-2">
423
+ <button class="px-3 py-1 border rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">Previous</button>
424
+ <button class="px-3 py-1 border rounded-md text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700">1</button>
425
+ <button class="px-3 py-1 border rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">2</button>
426
+ <button class="px-3 py-1 border rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">3</button>
427
+ <button class="px-3 py-1 border rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">Next</button>
428
+ </div>
429
+ </div>
430
+ </div>
431
+ </main>
432
+ </div>
433
+ </div>
434
+
435
+ <!-- Add Product Modal -->
436
+ <div id="addProductModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
437
+ <div class="bg-white rounded-lg shadow-xl w-full max-w-2xl">
438
+ <div class="border-b px-6 py-4 flex items-center justify-between">
439
+ <h3 class="text-lg font-semibold text-gray-900">Add New Product</h3>
440
+ <button id="closeModal" class="text-gray-400 hover:text-gray-500">
441
+ <i class="fas fa-times"></i>
442
+ </button>
443
+ </div>
444
+ <div class="p-6">
445
+ <form>
446
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
447
+ <div>
448
+ <label class="block text-sm font-medium text-gray-700 mb-1">Product Name</label>
449
+ <input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500">
450
+ </div>
451
+ <div>
452
+ <label class="block text-sm font-medium text-gray-700 mb-1">Category</label>
453
+ <select class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500">
454
+ <option>Select Category</option>
455
+ <option>Electronics</option>
456
+ <option>Clothing</option>
457
+ <option>Home & Kitchen</option>
458
+ <option>Books</option>
459
+ <option>Toys</option>
460
+ </select>
461
+ </div>
462
+ <div>
463
+ <label class="block text-sm font-medium text-gray-700 mb-1">SKU</label>
464
+ <input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500">
465
+ </div>
466
+ <div>
467
+ <label class="block text-sm font-medium text-gray-700 mb-1">Barcode</label>
468
+ <input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500">
469
+ </div>
470
+ <div>
471
+ <label class="block text-sm font-medium text-gray-700 mb-1">Purchase Price</label>
472
+ <div class="relative">
473
+ <span class="absolute left-3 top-1/2 transform -translate-y-1/2">$</span>
474
+ <input type="number" step="0.01" class="w-full pl-8 pr-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500">
475
+ </div>
476
+ </div>
477
+ <div>
478
+ <label class="block text-sm font-medium text-gray-700 mb-1">Selling Price</label>
479
+ <div class="relative">
480
+ <span class="absolute left-3 top-1/2 transform -translate-y-1/2">$</span>
481
+ <input type="number" step="0.01" class="w-full pl-8 pr-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500">
482
+ </div>
483
+ </div>
484
+ <div>
485
+ <label class="block text-sm font-medium text-gray-700 mb-1">Initial Stock</label>
486
+ <input type="number" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500">
487
+ </div>
488
+ <div>
489
+ <label class="block text-sm font-medium text-gray-700 mb-1">Reorder Level</label>
490
+ <input type="number" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500">
491
+ </div>
492
+ <div class="md:col-span-2">
493
+ <label class="block text-sm font-medium text-gray-700 mb-1">Description</label>
494
+ <textarea rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"></textarea>
495
+ </div>
496
+ <div class="md:col-span-2">
497
+ <label class="block text-sm font-medium text-gray-700 mb-1">Product Image</label>
498
+ <div class="mt-1 flex items-center">
499
+ <span class="inline-block h-12 w-12 rounded-full overflow-hidden bg-gray-100">
500
+ <svg class="h-full w-full text-gray-300" fill="currentColor" viewBox="0 0 24 24">
501
+ <path d="M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z" />
502
+ </svg>
503
+ </span>
504
+ <button type="button" class="ml-5 bg-white py-2 px-3 border border-gray-300 rounded-md shadow-sm text-sm leading-4 font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
505
+ Upload
506
+ </button>
507
+ </div>
508
+ </div>
509
+ </div>
510
+ <div class="mt-6 flex justify-end space-x-3">
511
+ <button type="button" id="cancelAddProduct" class="px-4 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
512
+ Cancel
513
+ </button>
514
+ <button type="submit" class="px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
515
+ Save Product
516
+ </button>
517
+ </div>
518
+ </form>
519
+ </div>
520
+ </div>
521
+ </div>
522
+
523
+ <script>
524
+ // Toggle sidebar
525
+ const toggleSidebar = document.getElementById('toggleSidebar');
526
+ const mobileMenuBtn = document.getElementById('mobileMenuBtn');
527
+ const sidebar = document.querySelector('.sidebar');
528
+ const mainContent = document.querySelector('.main-content');
529
+
530
+ // For desktop
531
+ toggleSidebar.addEventListener('click', () => {
532
+ sidebar.classList.toggle('collapsed');
533
+ mainContent.classList.toggle('expanded');
534
+ });
535
+
536
+ // For mobile
537
+ mobileMenuBtn.addEventListener('click', () => {
538
+ sidebar.classList.toggle('open');
539
+ });
540
+
541
+ // Close mobile menu when clicking outside
542
+ document.addEventListener('click', (e) => {
543
+ if (window.innerWidth <= 768 && !sidebar.contains(e.target) && e.target !== mobileMenuBtn) {
544
+ sidebar.classList.remove('open');
545
+ }
546
+ });
547
+
548
+ // Product modal functionality
549
+ const addProductBtn = document.getElementById('addProductBtn');
550
+ const addProductModal = document.getElementById('addProductModal');
551
+ const closeModal = document.getElementById('closeModal');
552
+ const cancelAddProduct = document.getElementById('cancelAddProduct');
553
+
554
+ addProductBtn.addEventListener('click', () => {
555
+ addProductModal.classList.remove('hidden');
556
+ });
557
+
558
+ closeModal.addEventListener('click', () => {
559
+ addProductModal.classList.add('hidden');
560
+ });
561
+
562
+ cancelAddProduct.addEventListener('click', () => {
563
+ addProductModal.classList.add('hidden');
564
+ });
565
+
566
+ // Close modal when clicking outside
567
+ window.addEventListener('click', (e) => {
568
+ if (e.target === addProductModal) {
569
+ addProductModal.classList.add('hidden');
570
+ }
571
+ });
572
+ </script>
573
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=ecoradio/angelo" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
574
+ </html>