Spaces:
Running

porfeeman commited on
Commit
c796aed
·
verified ·
1 Parent(s): 5ee7f9d

Сайт для эксклюзивных партнеров компании ЭМИЗ на русском языке, внутренний учет клиентов и продаж, контроль отгрузок и склада, обучающий блок

Browse files
Files changed (3) hide show
  1. README.md +9 -5
  2. index.html +403 -18
  3. warehouse.html +230 -0
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Undefined
3
- emoji: 🐨
4
- colorFrom: purple
5
- colorTo: blue
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: undefined
3
+ colorFrom: red
4
+ colorTo: gray
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
14
+
index.html CHANGED
@@ -1,19 +1,404 @@
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>GrapeFlow | Partner Dashboard</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.waves.min.js"></script>
12
+ <script>
13
+ tailwind.config = {
14
+ theme: {
15
+ extend: {
16
+ colors: {
17
+ primary: '#6C3483',
18
+ secondary: '#F39C12',
19
+ grape: {
20
+ 100: '#F5EEF8',
21
+ 500: '#6C3483',
22
+ 900: '#4A235A'
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
28
+ </script>
29
+ <style>
30
+ .dashboard-card:hover {
31
+ transform: translateY(-5px);
32
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
33
+ }
34
+ .sidebar-link.active {
35
+ border-left: 4px solid #F39C12;
36
+ background-color: rgba(108, 52, 131, 0.1);
37
+ }
38
+ #vanta-bg {
39
+ position: absolute;
40
+ top: 0;
41
+ left: 0;
42
+ width: 100%;
43
+ height: 100%;
44
+ z-index: -1;
45
+ opacity: 0.15;
46
+ }
47
+ </style>
48
+ </head>
49
+ <body class="bg-gray-50 font-sans antialiased">
50
+ <div id="vanta-bg"></div>
51
+
52
+ <!-- Sidebar -->
53
+ <div class="fixed inset-y-0 left-0 w-64 bg-gradient-to-b from-grape-900 to-grape-500 text-white transform -translate-x-full md:translate-x-0 transition-transform duration-300 z-50" id="sidebar">
54
+ <div class="flex items-center justify-center h-16 px-4 border-b border-grape-700">
55
+ <div class="flex items-center">
56
+ <i data-feather="droplet" class="text-secondary mr-2"></i>
57
+ <span class="text-xl font-bold">GrapeFlow</span>
58
+ <span class="ml-1 text-secondary">Partner</span>
59
+ </div>
60
+ </div>
61
+ <div class="px-4 py-6">
62
+ <div class="flex items-center space-x-4 p-3 bg-grape-700 rounded-lg mb-6">
63
+ <img src="http://static.photos/food/200x200/1" class="w-12 h-12 rounded-full border-2 border-secondary" alt="Partner">
64
+ <div>
65
+ <h4 class="font-semibold">Partner Name</h4>
66
+ <p class="text-grape-200 text-sm">Premium Partner</p>
67
+ </div>
68
+ </div>
69
+ <nav>
70
+ <a href="#" class="sidebar-link active flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition">
71
+ <i data-feather="home"></i>
72
+ <span>Dashboard</span>
73
+ </a>
74
+ <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition">
75
+ <i data-feather="shopping-bag"></i>
76
+ <span>Sales Control</span>
77
+ </a>
78
+ <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition">
79
+ <i data-feather="users"></i>
80
+ <span>CRM System</span>
81
+ </a>
82
+ <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition">
83
+ <i data-feather="truck"></i>
84
+ <span>Shipment Tracking</span>
85
+ </a>
86
+ <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition">
87
+ <i data-feather="bar-chart-2"></i>
88
+ <span>Аналитика</span>
89
+ </a>
90
+ <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition">
91
+ <i data-feather="box"></i>
92
+ <span>Складской учет</span>
93
+ </a>
94
+ <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition">
95
+ <i data-feather="book-open"></i>
96
+ <span>Обучение</span>
97
+ </a>
98
+ <a href="#" class="sidebar-link flex items-center space-x-3 px-4 py-3 text-white hover:bg-grape-700 rounded-lg mb-1 transition">
99
+ <i data-feather="settings"></i>
100
+ <span>Настройки</span>
101
+ </a>
102
+ </nav>
103
+ </div>
104
+ <div class="absolute bottom-0 w-full px-4 py-3 border-t border-grape-700">
105
+ <a href="#" class="flex items-center space-x-3 px-4 py-2 text-white hover:bg-grape-700 rounded-lg transition">
106
+ <i data-feather="log-out"></i>
107
+ <span>Logout</span>
108
+ </a>
109
+ </div>
110
+ </div>
111
+
112
+ <!-- Mobile header -->
113
+ <header class="md:hidden fixed top-0 left-0 right-0 bg-white shadow-sm z-40">
114
+ <div class="flex items-center justify-between px-4 py-3">
115
+ <button id="menu-toggle" class="text-grape-500 focus:outline-none">
116
+ <i data-feather="menu"></i>
117
+ </button>
118
+ <div class="flex items-center">
119
+ <i data-feather="droplet" class="text-primary mr-2"></i>
120
+ <span class="font-bold">GrapeFlow</span>
121
+ </div>
122
+ <div class="w-8"></div>
123
+ </div>
124
+ </header>
125
+
126
+ <!-- Main content -->
127
+ <main class="md:ml-64 pt-16 md:pt-0">
128
+ <div class="px-4 py-6 md:px-8">
129
+ <div class="flex justify-between items-center mb-6">
130
+ <h1 class="text-2xl md:text-3xl font-bold text-gray-800">Панель партнера ЭМИЗ</h1>
131
+ <div class="flex items-center space-x-4">
132
+ <div class="relative">
133
+ <i data-feather="bell" class="text-gray-500"></i>
134
+ <span class="absolute top-0 right-0 w-2 h-2 bg-secondary rounded-full"></span>
135
+ </div>
136
+ <div class="hidden md:flex items-center space-x-2">
137
+ <img src="http://static.photos/food/200x200/1" class="w-8 h-8 rounded-full" alt="User">
138
+ <span class="text-gray-700">Partner</span>
139
+ </div>
140
+ </div>
141
+ </div>
142
+
143
+ <!-- Stats Cards -->
144
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
145
+ <div class="dashboard-card bg-white rounded-xl shadow-md p-6 transition duration-300">
146
+ <div class="flex items-center justify-between">
147
+ <div>
148
+ <p class="text-gray-500 text-sm">Месячные продажи</p>
149
+ <h3 class="text-2xl font-bold text-gray-800 mt-2">1 245 000 ₽</h3>
150
+ </div>
151
+ <div class="bg-primary bg-opacity-10 p-3 rounded-full">
152
+ <i data-feather="shopping-bag" class="text-primary"></i>
153
+ </div>
154
+ </div>
155
+ <div class="mt-4">
156
+ <span class="text-green-500 text-sm flex items-center">
157
+ <i data-feather="trending-up" class="w-4 h-4 mr-1"></i>
158
+ 12% from last month
159
+ </span>
160
+ </div>
161
+ </div>
162
+ <div class="dashboard-card bg-white rounded-xl shadow-md p-6 transition duration-300">
163
+ <div class="flex items-center justify-between">
164
+ <div>
165
+ <p class="text-gray-500 text-sm">Активные клиенты</p>
166
+ <h3 class="text-2xl font-bold text-gray-800 mt-2">42</h3>
167
+ </div>
168
+ <div class="bg-secondary bg-opacity-10 p-3 rounded-full">
169
+ <i data-feather="users" class="text-secondary"></i>
170
+ </div>
171
+ </div>
172
+ <div class="mt-4">
173
+ <span class="text-green-500 text-sm flex items-center">
174
+ <i data-feather="trending-up" class="w-4 h-4 mr-1"></i>
175
+ 5 new this month
176
+ </span>
177
+ </div>
178
+ </div>
179
+ <div class="dashboard-card bg-white rounded-xl shadow-md p-6 transition duration-300">
180
+ <div class="flex items-center justify-between">
181
+ <div>
182
+ <p class="text-gray-500 text-sm">Ожидают отгрузки</p>
183
+ <h3 class="text-2xl font-bold text-gray-800 mt-2">8</h3>
184
+ </div>
185
+ <div class="bg-green-500 bg-opacity-10 p-3 rounded-full">
186
+ <i data-feather="truck" class="text-green-500"></i>
187
+ </div>
188
+ </div>
189
+ <div class="mt-4">
190
+ <span class="text-red-500 text-sm flex items-center">
191
+ <i data-feather="alert-circle" class="w-4 h-4 mr-1"></i>
192
+ 2 delayed
193
+ </span>
194
+ </div>
195
+ </div>
196
+ <div class="dashboard-card bg-white rounded-xl shadow-md p-6 transition duration-300">
197
+ <div class="flex items-center justify-between">
198
+ <div>
199
+ <p class="text-gray-500 text-sm">Уровень запасов</p>
200
+ <h3 class="text-2xl font-bold text-gray-800 mt-2">78%</h3>
201
+ </div>
202
+ <div class="bg-yellow-500 bg-opacity-10 p-3 rounded-full">
203
+ <i data-feather="database" class="text-yellow-500"></i>
204
+ </div>
205
+ </div>
206
+ <div class="mt-4">
207
+ <span class="text-yellow-500 text-sm flex items-center">
208
+ <i data-feather="alert-triangle" class="w-4 h-4 mr-1"></i>
209
+ Consider restocking
210
+ </span>
211
+ </div>
212
+ </div>
213
+ </div>
214
+
215
+ <!-- Charts and Tables -->
216
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
217
+ <!-- Sales Chart -->
218
+ <div class="lg:col-span-2 bg-white rounded-xl shadow-md p-6">
219
+ <div class="flex justify-between items-center mb-4">
220
+ <h3 class="text-lg font-semibold text-gray-800">Продажи</h3>
221
+ <div class="flex space-x-2">
222
+ <button class="px-3 py-1 text-xs bg-primary bg-opacity-10 text-primary rounded-full">Monthly</button>
223
+ <button class="px-3 py-1 text-xs bg-gray-100 text-gray-500 rounded-full">Quarterly</button>
224
+ <button class="px-3 py-1 text-xs bg-gray-100 text-gray-500 rounded-full">Yearly</button>
225
+ </div>
226
+ </div>
227
+ <div class="h-64">
228
+ <!-- Chart placeholder - would be replaced with actual chart in production -->
229
+ <div class="flex items-center justify-center h-full bg-gray-50 rounded-lg">
230
+ <i data-feather="bar-chart-2" class="w-12 h-12 text-gray-300"></i>
231
+ </div>
232
+ </div>
233
+ </div>
234
+
235
+ <!-- Recent Activities -->
236
+ <div class="bg-white rounded-xl shadow-md p-6">
237
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Recent Activities</h3>
238
+ <div class="space-y-4">
239
+ <div class="flex items-start">
240
+ <div class="bg-secondary bg-opacity-10 p-2 rounded-full mr-3">
241
+ <i data-feather="user-plus" class="text-secondary w-4 h-4"></i>
242
+ </div>
243
+ <div>
244
+ <p class="text-sm text-gray-800">New client added: "Cafe Grapevine"</p>
245
+ <p class="text-xs text-gray-500">2 hours ago</p>
246
+ </div>
247
+ </div>
248
+ <div class="flex items-start">
249
+ <div class="bg-primary bg-opacity-10 p-2 rounded-full mr-3">
250
+ <i data-feather="shopping-cart" class="text-primary w-4 h-4"></i>
251
+ </div>
252
+ <div>
253
+ <p class="text-sm text-gray-800">New order #EMZ-5421 confirmed</p>
254
+ <p class="text-xs text-gray-500">5 hours ago</p>
255
+ </div>
256
+ </div>
257
+ <div class="flex items-start">
258
+ <div class="bg-green-500 bg-opacity-10 p-2 rounded-full mr-3">
259
+ <i data-feather="truck" class="text-green-500 w-4 h-4"></i>
260
+ </div>
261
+ <div>
262
+ <p class="text-sm text-gray-800">Shipment #EMZ-2081 delivered</p>
263
+ <p class="text-xs text-gray-500">Yesterday</p>
264
+ </div>
265
+ </div>
266
+ <div class="flex items-start">
267
+ <div class="bg-yellow-500 bg-opacity-10 p-2 rounded-full mr-3">
268
+ <i data-feather="alert-circle" class="text-yellow-500 w-4 h-4"></i>
269
+ </div>
270
+ <div>
271
+ <p class="text-sm text-gray-800">Low inventory alert: Classic Grape</p>
272
+ <p class="text-xs text-gray-500">Yesterday</p>
273
+ </div>
274
+ </div>
275
+ <div class="flex items-start">
276
+ <div class="bg-purple-500 bg-opacity-10 p-2 rounded-full mr-3">
277
+ <i data-feather="dollar-sign" class="text-purple-500 w-4 h-4"></i>
278
+ </div>
279
+ <div>
280
+ <p class="text-sm text-gray-800">Payment received: ₽245,000</p>
281
+ <p class="text-xs text-gray-500">2 days ago</p>
282
+ </div>
283
+ </div>
284
+ </div>
285
+ </div>
286
+ </div>
287
+
288
+ <!-- Recent Orders -->
289
+ <div class="bg-white rounded-xl shadow-md overflow-hidden mb-8">
290
+ <div class="px-6 py-4 border-b border-gray-100">
291
+ <h3 class="text-lg font-semibold text-gray-800">Последние заказы</h3>
292
+ </div>
293
+ <div class="overflow-x-auto">
294
+ <table class="min-w-full divide-y divide-gray-200">
295
+ <thead class="bg-gray-50">
296
+ <tr>
297
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Order ID</th>
298
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Client</th>
299
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
300
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th>
301
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
302
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Action</th>
303
+ </tr>
304
+ </thead>
305
+ <tbody class="bg-white divide-y divide-gray-200">
306
+ <tr>
307
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-5421</td>
308
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Cafe Grapevine</td>
309
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Today, 10:42</td>
310
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">₽84,500</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-green-100 text-green-800">Confirmed</span>
313
+ </td>
314
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
315
+ <button class="text-primary hover:text-primary-dark">View</button>
316
+ </td>
317
+ </tr>
318
+ <tr>
319
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-5389</td>
320
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Fresh Market Chain</td>
321
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Yesterday, 15:22</td>
322
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">₽152,300</td>
323
+ <td class="px-6 py-4 whitespace-nowrap">
324
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Processing</span>
325
+ </td>
326
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
327
+ <button class="text-primary hover:text-primary-dark">View</button>
328
+ </td>
329
+ </tr>
330
+ <tr>
331
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-5312</td>
332
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Beverage Distributors</td>
333
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2 days ago, 09:15</td>
334
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">₽245,000</td>
335
+ <td class="px-6 py-4 whitespace-nowrap">
336
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Shipped</span>
337
+ </td>
338
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
339
+ <button class="text-primary hover:text-primary-dark">Track</button>
340
+ </td>
341
+ </tr>
342
+ <tr>
343
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-5287</td>
344
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Gourmet Restaurants</td>
345
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3 days ago, 14:30</td>
346
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">₽98,750</td>
347
+ <td class="px-6 py-4 whitespace-nowrap">
348
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
349
+ </td>
350
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
351
+ <button class="text-primary hover:text-primary-dark">View</button>
352
+ </td>
353
+ </tr>
354
+ <tr>
355
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-5243</td>
356
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Hotel Continental</td>
357
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">4 days ago, 11:05</td>
358
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">₽187,600</td>
359
+ <td class="px-6 py-4 whitespace-nowrap">
360
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Delivered</span>
361
+ </td>
362
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
363
+ <button class="text-primary hover:text-primary-dark">Invoice</button>
364
+ </td>
365
+ </tr>
366
+ </tbody>
367
+ </table>
368
+ </div>
369
+ <div class="px-6 py-4 border-t border-gray-100 flex justify-end">
370
+ <button class="px-4 py-2 bg-primary bg-opacity-10 text-primary rounded-lg text-sm font-medium hover:bg-opacity-20 transition">View All Orders</button>
371
+ </div>
372
+ </div>
373
+ </div>
374
+ </main>
375
+
376
+ <script>
377
+ // Vanta.js background
378
+ VANTA.WAVES({
379
+ el: "#vanta-bg",
380
+ mouseControls: true,
381
+ touchControls: true,
382
+ gyroControls: false,
383
+ minHeight: 200.00,
384
+ minWidth: 200.00,
385
+ scale: 1.00,
386
+ scaleMobile: 1.00,
387
+ color: 0x6c3483,
388
+ shininess: 35.00,
389
+ waveHeight: 15.00,
390
+ waveSpeed: 0.80,
391
+ zoom: 0.85
392
+ });
393
+
394
+ // Mobile menu toggle
395
+ document.getElementById('menu-toggle').addEventListener('click', function() {
396
+ const sidebar = document.getElementById('sidebar');
397
+ sidebar.classList.toggle('-translate-x-full');
398
+ });
399
+
400
+ // Feather icons
401
+ feather.replace();
402
+ </script>
403
+ </body>
404
  </html>
warehouse.html ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="ru">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>ЭМИЗ | Складской учет</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script>
11
+ tailwind.config = {
12
+ theme: {
13
+ extend: {
14
+ colors: {
15
+ primary: '#6C3483',
16
+ secondary: '#F39C12',
17
+ grape: {
18
+ 100: '#F5EEF8',
19
+ 500: '#6C3483',
20
+ 900: '#4A235A'
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+ </script>
27
+ </head>
28
+ <body class="bg-gray-50 font-sans antialiased">
29
+ <!-- Main content -->
30
+ <main class="md:ml-64 pt-16 md:pt-0">
31
+ <div class="px-4 py-6 md:px-8">
32
+ <div class="flex justify-between items-center mb-6">
33
+ <h1 class="text-2xl md:text-3xl font-bold text-gray-800">Складской учет</h1>
34
+ <button class="px-4 py-2 bg-primary text-white rounded-lg text-sm font-medium hover:bg-primary-dark transition">
35
+ <i data-feather="plus" class="w-4 h-4 mr-1 inline"></i>
36
+ Новая поставка
37
+ </button>
38
+ </div>
39
+
40
+ <!-- Inventory Stats -->
41
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
42
+ <div class="bg-white rounded-xl shadow-md p-6">
43
+ <div class="flex items-center justify-between">
44
+ <div>
45
+ <p class="text-gray-500 text-sm">Всего позиций</p>
46
+ <h3 class="text-2xl font-bold text-gray-800 mt-2">42</h3>
47
+ </div>
48
+ <div class="bg-primary bg-opacity-10 p-3 rounded-full">
49
+ <i data-feather="box" class="text-primary"></i>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="bg-white rounded-xl shadow-md p-6">
54
+ <div class="flex items-center justify-between">
55
+ <div>
56
+ <p class="text-gray-500 text-sm">Товаров на складе</p>
57
+ <h3 class="text-2xl font-bold text-gray-800 mt-2">1,248</h3>
58
+ </div>
59
+ <div class="bg-secondary bg-opacity-10 p-3 rounded-full">
60
+ <i data-feather="database" class="text-secondary"></i>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ <div class="bg-white rounded-xl shadow-md p-6">
65
+ <div class="flex items-center justify-between">
66
+ <div>
67
+ <p class="text-gray-500 text-sm">Предзаказы</p>
68
+ <h3 class="text-2xl font-bold text-gray-800 mt-2">18</h3>
69
+ </div>
70
+ <div class="bg-blue-500 bg-opacity-10 p-3 rounded-full">
71
+ <i data-feather="clock" class="text-blue-500"></i>
72
+ </div>
73
+ </div>
74
+ </div>
75
+ <div class="bg-white rounded-xl shadow-md p-6">
76
+ <div class="flex items-center justify-between">
77
+ <div>
78
+ <p class="text-gray-500 text-sm">Скоро заканчивается</p>
79
+ <h3 class="text-2xl font-bold text-gray-800 mt-2">5</h3>
80
+ </div>
81
+ <div class="bg-yellow-500 bg-opacity-10 p-3 rounded-full">
82
+ <i data-feather="alert-triangle" class="text-yellow-500"></i>
83
+ </div>
84
+ </div>
85
+ </div>
86
+ </div>
87
+
88
+ <!-- Inventory Table -->
89
+ <div class="bg-white rounded-xl shadow-md overflow-hidden mb-8">
90
+ <div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
91
+ <h3 class="text-lg font-semibold text-gray-800">Товары на складе</h3>
92
+ <div class="relative">
93
+ <input type="text" placeholder="Поиск по складу..." class="pl-10 pr-4 py-2 border border-gray-200 rounded-lg focus:ring-primary focus:border-primary">
94
+ <i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i>
95
+ </div>
96
+ </div>
97
+ <div class="overflow-x-auto">
98
+ <table class="min-w-full divide-y divide-gray-200">
99
+ <thead class="bg-gray-50">
100
+ <tr>
101
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Код</th>
102
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Наименование</th>
103
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Категория</th>
104
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Остаток</th>
105
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Резерв</th>
106
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Статус</th>
107
+ </tr>
108
+ </thead>
109
+ <tbody class="bg-white divide-y divide-gray-200">
110
+ <tr>
111
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-1001</td>
112
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Кьянти Классико 2020</td>
113
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Италия</td>
114
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">42</td>
115
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">5</td>
116
+ <td class="px-6 py-4 whitespace-nowrap">
117
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">В наличии</span>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-1002</td>
122
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Бордо Престиж 2018</td>
123
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Франция</td>
124
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">28</td>
125
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">3</td>
126
+ <td class="px-6 py-4 whitespace-nowrap">
127
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">В наличии</span>
128
+ </td>
129
+ </tr>
130
+ <tr>
131
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-1003</td>
132
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Риоха Гран Резерва 2015</td>
133
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Испания</td>
134
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">12</td>
135
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">7</td>
136
+ <td class="px-6 py-4 whitespace-nowrap">
137
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Мало</span>
138
+ </td>
139
+ </tr>
140
+ <tr>
141
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-1004</td>
142
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Шато Марго 2017</td>
143
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Франция</td>
144
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">0</td>
145
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">4</td>
146
+ <td class="px-6 py-4 whitespace-nowrap">
147
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Нет в наличии</span>
148
+ </td>
149
+ </tr>
150
+ </tbody>
151
+ </table>
152
+ </div>
153
+ <div class="px-6 py-4 border-t border-gray-100 flex justify-between items-center">
154
+ <span class="text-sm text-gray-500">Показано 4 из 42 позиций</span>
155
+ <div class="flex space-x-2">
156
+ <button class="px-3 py-1 bg-gray-100 text-gray-700 rounded-md text-sm">Назад</button>
157
+ <button class="px-3 py-1 bg-primary text-white rounded-md text-sm">Вперед</button>
158
+ </div>
159
+ </div>
160
+ </div>
161
+
162
+ <!-- Supply Management -->
163
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
164
+ <!-- Expected Supplies -->
165
+ <div class="bg-white rounded-xl shadow-md p-6">
166
+ <div class="flex justify-between items-center mb-4">
167
+ <h3 class="text-lg font-semibold text-gray-800">Ожидаемые поставки</h3>
168
+ <button class="text-primary text-sm font-medium">Все поставки</button>
169
+ </div>
170
+ <div class="space-y-4">
171
+ <div class="border-l-4 border-secondary pl-4 py-2">
172
+ <p class="text-sm font-medium text-gray-800">#SUP-1025 - 15.06.2023</p>
173
+ <p class="text-xs text-gray-500">12 позиций • 240 бутылок</p>
174
+ </div>
175
+ <div class="border-l-4 border-blue-500 pl-4 py-2">
176
+ <p class="text-sm font-medium text-gray-800">#SUP-1024 - 10.06.2023</p>
177
+ <p class="text-xs text-gray-500">8 позиций • 192 бутылки</p>
178
+ </div>
179
+ <div class="border-l-4 border-green-500 pl-4 py-2">
180
+ <p class="text-sm font-medium text-gray-800">#SUP-1023 - 05.06.2023</p>
181
+ <p class="text-xs text-gray-500">6 позиций • 144 бутылки</p>
182
+ </div>
183
+ </div>
184
+ </div>
185
+
186
+ <!-- Inventory Alerts -->
187
+ <div class="bg-white rounded-xl shadow-md p-6">
188
+ <div class="flex justify-between items-center mb-4">
189
+ <h3 class="text-lg font-semibold text-gray-800">Требуют внимания</h3>
190
+ <button class="text-primary text-sm font-medium">Все уведомления</button>
191
+ </div>
192
+ <div class="space-y-4">
193
+ <div class="flex items-start">
194
+ <div class="bg-yellow-500 bg-opacity-10 p-2 rounded-full mr-3">
195
+ <i data-feather="alert-triangle" class="text-yellow-500 w-4 h-4"></i>
196
+ </div>
197
+ <div>
198
+ <p class="text-sm text-gray-800">Заканчивается: Кьянти Классико 2020 (осталось 5 шт.)</p>
199
+ <p class="text-xs text-gray-500">Рекомендуемый заказ: 24 бутылки</p>
200
+ </div>
201
+ </div>
202
+ <div class="flex items-start">
203
+ <div class="bg-red-500 bg-opacity-10 p-2 rounded-full mr-3">
204
+ <i data-feather="alert-octagon" class="text-red-500 w-4 h-4"></i>
205
+ </div>
206
+ <div>
207
+ <p class="text-sm text-gray-800">Нет в наличии: Шато Марго 2017</p>
208
+ <p class="text-xs text-gray-500">Ожидается 12.06.2023</p>
209
+ </div>
210
+ </div>
211
+ <div class="flex items-start">
212
+ <div class="bg-blue-500 bg-opacity-10 p-2 rounded-full mr-3">
213
+ <i data-feather="info" class="text-blue-500 w-4 h-4"></i>
214
+ </div>
215
+ <div>
216
+ <p class="text-sm text-gray-800">Истекает срок хранения: Бордо Престиж 2018 (2 ящика)</p>
217
+ <p class="text-xs text-gray-500">Рекомендуем продать до 30.06.2023</p>
218
+ </div>
219
+ </div>
220
+ </div>
221
+ </div>
222
+ </div>
223
+ </div>
224
+ </main>
225
+
226
+ <script>
227
+ feather.replace();
228
+ </script>
229
+ </body>
230
+ </html>