Mohamed3007 commited on
Commit
c76cd5c
·
verified ·
1 Parent(s): ed8a4e1

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +639 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Fleet Management Solutions
3
- emoji:
4
- colorFrom: indigo
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: fleet-management-solutions
3
+ emoji: 🐳
4
+ colorFrom: gray
5
  colorTo: yellow
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,639 @@
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="ar" dir="rtl">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>نظام صيانة السيارات</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
+ @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
11
+
12
+ body {
13
+ font-family: 'Tajawal', sans-serif;
14
+ }
15
+
16
+ .sidebar {
17
+ transition: all 0.3s ease;
18
+ }
19
+
20
+ .mobile-menu {
21
+ transform: translateX(100%);
22
+ transition: transform 0.3s ease;
23
+ }
24
+
25
+ .mobile-menu.open {
26
+ transform: translateX(0);
27
+ }
28
+
29
+ .notification-badge {
30
+ position: absolute;
31
+ top: -5px;
32
+ right: -5px;
33
+ }
34
+
35
+ .car-plate {
36
+ font-family: monospace;
37
+ letter-spacing: 2px;
38
+ }
39
+
40
+ .status-badge {
41
+ padding: 2px 8px;
42
+ border-radius: 12px;
43
+ font-size: 12px;
44
+ }
45
+
46
+ .new { background-color: #EFF6FF; color: #1D4ED8; }
47
+ .confirmed { background-color: #ECFDF5; color: #047857; }
48
+ .in-progress { background-color: #FEF3C7; color: #B45309; }
49
+ .completed { background-color: #F0FDF4; color: #15803D; }
50
+ .cancelled { background-color: #FEF2F2; color: #B91C1C; }
51
+
52
+ .chart-container {
53
+ height: 300px;
54
+ }
55
+
56
+ .map-container {
57
+ height: 400px;
58
+ background-color: #E5E7EB;
59
+ }
60
+
61
+ .inventory-warning {
62
+ animation: pulse 2s infinite;
63
+ }
64
+
65
+ @keyframes pulse {
66
+ 0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
67
+ 70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
68
+ 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
69
+ }
70
+ </style>
71
+ </head>
72
+ <body class="bg-gray-50 text-gray-800">
73
+ <!-- Mobile Header -->
74
+ <div class="md:hidden bg-blue-600 text-white p-4 flex justify-between items-center">
75
+ <button id="mobileMenuButton" class="text-white">
76
+ <i class="fas fa-bars text-xl"></i>
77
+ </button>
78
+ <h1 class="text-xl font-bold">نظام الصيانة</h1>
79
+ <div class="relative">
80
+ <i class="fas fa-bell text-xl"></i>
81
+ <span class="notification-badge bg-red-500 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs">3</span>
82
+ </div>
83
+ </div>
84
+
85
+ <!-- Mobile Menu -->
86
+ <div id="mobileMenu" class="mobile-menu fixed inset-y-0 right-0 w-64 bg-white shadow-lg z-50 p-4">
87
+ <div class="flex justify-between items-center mb-8">
88
+ <h2 class="text-xl font-bold">القائمة</h2>
89
+ <button id="closeMobileMenu" class="text-gray-500">
90
+ <i class="fas fa-times"></i>
91
+ </button>
92
+ </div>
93
+
94
+ <div class="mb-6">
95
+ <div class="flex items-center space-x-3 mb-4">
96
+ <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
97
+ <i class="fas fa-user"></i>
98
+ </div>
99
+ <div>
100
+ <p class="font-medium">أحمد محمد</p>
101
+ <p class="text-sm text-gray-500">مسؤول مركز</p>
102
+ </div>
103
+ </div>
104
+ </div>
105
+
106
+ <nav>
107
+ <ul class="space-y-2">
108
+ <li>
109
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg bg-blue-50 text-blue-600">
110
+ <i class="fas fa-home"></i>
111
+ <span>الرئيسية</span>
112
+ </a>
113
+ </li>
114
+ <li>
115
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
116
+ <i class="fas fa-car"></i>
117
+ <span>السيارات</span>
118
+ </a>
119
+ </li>
120
+ <li>
121
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
122
+ <i class="fas fa-tools"></i>
123
+ <span>��لبات الصيانة</span>
124
+ </a>
125
+ </li>
126
+ <li>
127
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
128
+ <i class="fas fa-boxes"></i>
129
+ <span>المخزون</span>
130
+ </a>
131
+ </li>
132
+ <li>
133
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
134
+ <i class="fas fa-chart-bar"></i>
135
+ <span>التقارير</span>
136
+ </a>
137
+ </li>
138
+ <li>
139
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
140
+ <i class="fas fa-map-marked-alt"></i>
141
+ <span>الخريطة</span>
142
+ </a>
143
+ </li>
144
+ <li>
145
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
146
+ <i class="fas fa-cog"></i>
147
+ <span>الإعدادات</span>
148
+ </a>
149
+ </li>
150
+ <li>
151
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100 text-red-500">
152
+ <i class="fas fa-sign-out-alt"></i>
153
+ <span>تسجيل الخروج</span>
154
+ </a>
155
+ </li>
156
+ </ul>
157
+ </nav>
158
+ </div>
159
+
160
+ <!-- Desktop Layout -->
161
+ <div class="hidden md:flex min-h-screen">
162
+ <!-- Sidebar -->
163
+ <div class="sidebar w-64 bg-white shadow-md">
164
+ <div class="p-4 border-b">
165
+ <h1 class="text-xl font-bold text-blue-600">نظام الصيانة</h1>
166
+ </div>
167
+
168
+ <div class="p-4 border-b">
169
+ <div class="flex items-center space-x-3">
170
+ <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
171
+ <i class="fas fa-user"></i>
172
+ </div>
173
+ <div>
174
+ <p class="font-medium">أحمد محمد</p>
175
+ <p class="text-sm text-gray-500">مسؤول مركز</p>
176
+ </div>
177
+ </div>
178
+ </div>
179
+
180
+ <nav class="p-4">
181
+ <ul class="space-y-2">
182
+ <li>
183
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg bg-blue-50 text-blue-600">
184
+ <i class="fas fa-home"></i>
185
+ <span>الرئيسية</span>
186
+ </a>
187
+ </li>
188
+ <li>
189
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
190
+ <i class="fas fa-car"></i>
191
+ <span>السيارات</span>
192
+ </a>
193
+ </li>
194
+ <li>
195
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
196
+ <i class="fas fa-tools"></i>
197
+ <span>طلبات الصيانة</span>
198
+ </a>
199
+ </li>
200
+ <li>
201
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
202
+ <i class="fas fa-boxes"></i>
203
+ <span>المخزون</span>
204
+ </a>
205
+ </li>
206
+ <li>
207
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
208
+ <i class="fas fa-chart-bar"></i>
209
+ <span>التقارير</span>
210
+ </a>
211
+ </li>
212
+ <li>
213
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
214
+ <i class="fas fa-map-marked-alt"></i>
215
+ <span>الخريطة</span>
216
+ </a>
217
+ </li>
218
+ <li>
219
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100">
220
+ <i class="fas fa-cog"></i>
221
+ <span>الإعدادات</span>
222
+ </a>
223
+ </li>
224
+ </ul>
225
+ </nav>
226
+
227
+ <div class="p-4 mt-auto">
228
+ <a href="#" class="flex items-center space-x-3 p-2 rounded-lg hover:bg-gray-100 text-red-500">
229
+ <i class="fas fa-sign-out-alt"></i>
230
+ <span>تسجيل الخروج</span>
231
+ </a>
232
+ </div>
233
+ </div>
234
+
235
+ <!-- Main Content -->
236
+ <div class="flex-1">
237
+ <!-- Header -->
238
+ <header class="bg-white shadow-sm p-4 flex justify-between items-center">
239
+ <h2 class="text-xl font-bold">لوحة التحكم</h2>
240
+ <div class="flex items-center space-x-4">
241
+ <div class="relative">
242
+ <button class="text-gray-600 hover:text-gray-900">
243
+ <i class="fas fa-bell text-xl"></i>
244
+ <span class="notification-badge bg-red-500 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs">3</span>
245
+ </button>
246
+ </div>
247
+ <div class="flex items-center space-x-2">
248
+ <span class="font-medium">مركز الرياض 1</span>
249
+ <i class="fas fa-chevron-down text-gray-500"></i>
250
+ </div>
251
+ </div>
252
+ </header>
253
+
254
+ <!-- Dashboard Content -->
255
+ <main class="p-4">
256
+ <!-- Stats Cards -->
257
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
258
+ <div class="bg-white rounded-lg shadow p-4">
259
+ <div class="flex justify-between items-start">
260
+ <div>
261
+ <p class="text-gray-500">طلبات جديدة</p>
262
+ <h3 class="text-2xl font-bold">12</h3>
263
+ </div>
264
+ <div class="bg-blue-100 p-3 rounded-full text-blue-600">
265
+ <i class="fas fa-file-alt"></i>
266
+ </div>
267
+ </div>
268
+ <p class="text-sm text-green-500 mt-2">+2 من الأمس</p>
269
+ </div>
270
+
271
+ <div class="bg-white rounded-lg shadow p-4">
272
+ <div class="flex justify-between items-start">
273
+ <div>
274
+ <p class="text-gray-500">طلبات قيد التنفيذ</p>
275
+ <h3 class="text-2xl font-bold">8</h3>
276
+ </div>
277
+ <div class="bg-yellow-100 p-3 rounded-full text-yellow-600">
278
+ <i class="fas fa-tools"></i>
279
+ </div>
280
+ </div>
281
+ <p class="text-sm text-gray-500 mt-2">-1 من الأمس</p>
282
+ </div>
283
+
284
+ <div class="bg-white rounded-lg shadow p-4">
285
+ <div class="flex justify-between items-start">
286
+ <div>
287
+ <p class="text-gray-500">طلبات مكتملة</p>
288
+ <h3 class="text-2xl font-bold">24</h3>
289
+ </div>
290
+ <div class="bg-green-100 p-3 rounded-full text-green-600">
291
+ <i class="fas fa-check-circle"></i>
292
+ </div>
293
+ </div>
294
+ <p class="text-sm text-green-500 mt-2">+5 من الأسبوع الماضي</p>
295
+ </div>
296
+
297
+ <div class="bg-white rounded-lg shadow p-4">
298
+ <div class="flex justify-between items-start">
299
+ <div>
300
+ <p class="text-gray-500">منتجات تحت الحد الأدنى</p>
301
+ <h3 class="text-2xl font-bold">3</h3>
302
+ </div>
303
+ <div class="bg-red-100 p-3 rounded-full text-red-600">
304
+ <i class="fas fa-exclamation-triangle"></i>
305
+ </div>
306
+ </div>
307
+ <p class="text-sm text-red-500 mt-2">تحذير مخزون</p>
308
+ </div>
309
+ </div>
310
+
311
+ <!-- Recent Orders and Charts -->
312
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
313
+ <!-- Recent Orders -->
314
+ <div class="lg:col-span-2 bg-white rounded-lg shadow">
315
+ <div class="p-4 border-b">
316
+ <h3 class="font-bold">أحدث طلبات الصيانة</h3>
317
+ </div>
318
+ <div class="p-4">
319
+ <div class="overflow-x-auto">
320
+ <table class="min-w-full divide-y divide-gray-200">
321
+ <thead class="bg-gray-50">
322
+ <tr>
323
+ <th class="px-4 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">رقم الطلب</th>
324
+ <th class="px-4 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">السيارة</th>
325
+ <th class="px-4 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">الخدمة</th>
326
+ <th class="px-4 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">الحالة</th>
327
+ <th class="px-4 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">الإجراءات</th>
328
+ </tr>
329
+ </thead>
330
+ <tbody class="bg-white divide-y divide-gray-200">
331
+ <tr>
332
+ <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-2023-001</td>
333
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
334
+ <span class="car-plate bg-gray-100 px-2 py-1 rounded">1234 ABCD</span>
335
+ </td>
336
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">تغيير زيت</td>
337
+ <td class="px-4 py-4 whitespace-nowrap">
338
+ <span class="status-badge new">جديد</span>
339
+ </td>
340
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
341
+ <button class="text-blue-600 hover:text-blue-900">عرض</button>
342
+ </td>
343
+ </tr>
344
+ <tr>
345
+ <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-2023-002</td>
346
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
347
+ <span class="car-plate bg-gray-100 px-2 py-1 rounded">5678 EFGH</span>
348
+ </td>
349
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">فحص فرامل</td>
350
+ <td class="px-4 py-4 whitespace-nowrap">
351
+ <span class="status-badge confirmed">مؤكد</span>
352
+ </td>
353
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
354
+ <button class="text-blue-600 hover:text-blue-900">عرض</button>
355
+ </td>
356
+ </tr>
357
+ <tr>
358
+ <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-2023-003</td>
359
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
360
+ <span class="car-plate bg-gray-100 px-2 py-1 rounded">9012 IJKL</span>
361
+ </td>
362
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">صيانة دورية</td>
363
+ <td class="px-4 py-4 whitespace-nowrap">
364
+ <span class="status-badge in-progress">قيد التنفيذ</span>
365
+ </td>
366
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
367
+ <button class="text-blue-600 hover:text-blue-900">عرض</button>
368
+ </td>
369
+ </tr>
370
+ <tr>
371
+ <td class="px-4 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#ORD-2023-004</td>
372
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
373
+ <span class="car-plate bg-gray-100 px-2 py-1 rounded">3456 MNOP</span>
374
+ </td>
375
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">إصلاح محرك</td>
376
+ <td class="px-4 py-4 whitespace-nowrap">
377
+ <span class="status-badge completed">مكتمل</span>
378
+ </td>
379
+ <td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
380
+ <button class="text-blue-600 hover:text-blue-900">عرض</button>
381
+ </td>
382
+ </tr>
383
+ </tbody>
384
+ </table>
385
+ </div>
386
+ <div class="mt-4 flex justify-center">
387
+ <button class="text-blue-600 hover:text-blue-900 font-medium">عرض الكل</button>
388
+ </div>
389
+ </div>
390
+ </div>
391
+
392
+ <!-- Orders Chart -->
393
+ <div class="bg-white rounded-lg shadow">
394
+ <div class="p-4 border-b">
395
+ <h3 class="font-bold">إحصائيات الطلبات</h3>
396
+ </div>
397
+ <div class="p-4">
398
+ <div class="chart-container">
399
+ <!-- This would be replaced with an actual chart in a real implementation -->
400
+ <div class="bg-gray-100 rounded-lg h-full flex items-center justify-center">
401
+ <p class="text-gray-500">رسم بياني يظهر توزيع الطلبات حسب الحالة</p>
402
+ </div>
403
+ </div>
404
+ </div>
405
+ </div>
406
+ </div>
407
+
408
+ <!-- Inventory Alerts and Service Centers -->
409
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
410
+ <!-- Inventory Alerts -->
411
+ <div class="bg-white rounded-lg shadow">
412
+ <div class="p-4 border-b">
413
+ <h3 class="font-bold">تحذيرات المخزون</h3>
414
+ </div>
415
+ <div class="p-4">
416
+ <div class="space-y-4">
417
+ <div class="inventory-warning p-3 border border-red-200 rounded-lg bg-red-50 flex justify-between items-center">
418
+ <div>
419
+ <p class="font-medium">فلتر زيت</p>
420
+ <p class="text-sm text-gray-600">الكمية المتبقية: 3</p>
421
+ </div>
422
+ <button class="bg-red-600 text-white px-3 py-1 rounded-lg text-sm">طلب</button>
423
+ </div>
424
+ <div class="inventory-warning p-3 border border-red-200 rounded-lg bg-red-50 flex justify-between items-center">
425
+ <div>
426
+ <p class="font-medium">شمعة احتراق</p>
427
+ <p class="text-sm text-gray-600">الكمية المتبقية: 2</p>
428
+ </div>
429
+ <button class="bg-red-600 text-white px-3 py-1 rounded-lg text-sm">طلب</button>
430
+ </div>
431
+ <div class="inventory-warning p-3 border border-red-200 rounded-lg bg-red-50 flex justify-between items-center">
432
+ <div>
433
+ <p class="font-medium">زيت محرك 5W-30</p>
434
+ <p class="text-sm text-gray-600">الكمية المتبقية: 4</p>
435
+ </div>
436
+ <button class="bg-red-600 text-white px-3 py-1 rounded-lg text-sm">طلب</button>
437
+ </div>
438
+ </div>
439
+ <div class="mt-4">
440
+ <button class="text-blue-600 hover:text-blue-900 font-medium">عرض كامل المخزون</button>
441
+ </div>
442
+ </div>
443
+ </div>
444
+
445
+ <!-- Service Centers Map -->
446
+ <div class="bg-white rounded-lg shadow">
447
+ <div class="p-4 border-b">
448
+ <h3 class="font-bold">مراكز الخدمة</h3>
449
+ </div>
450
+ <div class="p-4">
451
+ <div class="map-container rounded-lg">
452
+ <!-- This would be replaced with an actual map in a real implementation -->
453
+ <div class="h-full flex items-center justify-center">
454
+ <p class="text-gray-500">خريطة تفاعلية تظهر مواقع مراكز الخدمة</p>
455
+ </div>
456
+ </div>
457
+ <div class="mt-4">
458
+ <button class="text-blue-600 hover:text-blue-900 font-medium">عرض جميع المراكز</button>
459
+ </div>
460
+ </div>
461
+ </div>
462
+ </div>
463
+ </main>
464
+ </div>
465
+ </div>
466
+
467
+ <!-- Mobile Content -->
468
+ <div class="md:hidden p-4">
469
+ <!-- Stats Cards -->
470
+ <div class="grid grid-cols-2 gap-3 mb-4">
471
+ <div class="bg-white rounded-lg shadow p-3">
472
+ <div class="flex justify-between items-start">
473
+ <div>
474
+ <p class="text-xs text-gray-500">طلبات جديدة</p>
475
+ <h3 class="text-lg font-bold">12</h3>
476
+ </div>
477
+ <div class="bg-blue-100 p-2 rounded-full text-blue-600">
478
+ <i class="fas fa-file-alt text-sm"></i>
479
+ </div>
480
+ </div>
481
+ </div>
482
+
483
+ <div class="bg-white rounded-lg shadow p-3">
484
+ <div class="flex justify-between items-start">
485
+ <div>
486
+ <p class="text-xs text-gray-500">قيد التنفيذ</p>
487
+ <h3 class="text-lg font-bold">8</h3>
488
+ </div>
489
+ <div class="bg-yellow-100 p-2 rounded-full text-yellow-600">
490
+ <i class="fas fa-tools text-sm"></i>
491
+ </div>
492
+ </div>
493
+ </div>
494
+
495
+ <div class="bg-white rounded-lg shadow p-3">
496
+ <div class="flex justify-between items-start">
497
+ <div>
498
+ <p class="text-xs text-gray-500">مكتملة</p>
499
+ <h3 class="text-lg font-bold">24</h3>
500
+ </div>
501
+ <div class="bg-green-100 p-2 rounded-full text-green-600">
502
+ <i class="fas fa-check-circle text-sm"></i>
503
+ </div>
504
+ </div>
505
+ </div>
506
+
507
+ <div class="bg-white rounded-lg shadow p-3">
508
+ <div class="flex justify-between items-start">
509
+ <div>
510
+ <p class="text-xs text-gray-500">تحت الحد</p>
511
+ <h3 class="text-lg font-bold">3</h3>
512
+ </div>
513
+ <div class="bg-red-100 p-2 rounded-full text-red-600">
514
+ <i class="fas fa-exclamation-triangle text-sm"></i>
515
+ </div>
516
+ </div>
517
+ </div>
518
+ </div>
519
+
520
+ <!-- Recent Orders -->
521
+ <div class="bg-white rounded-lg shadow mb-4">
522
+ <div class="p-3 border-b">
523
+ <h3 class="font-bold">أحدث الطلبات</h3>
524
+ </div>
525
+ <div class="divide-y divide-gray-200">
526
+ <div class="p-3">
527
+ <div class="flex justify-between items-center">
528
+ <div>
529
+ <p class="font-medium">#ORD-2023-001</p>
530
+ <p class="text-sm text-gray-500">1234 ABCD - تغيير زيت</p>
531
+ </div>
532
+ <span class="status-badge new">جديد</span>
533
+ </div>
534
+ </div>
535
+ <div class="p-3">
536
+ <div class="flex justify-between items-center">
537
+ <div>
538
+ <p class="font-medium">#ORD-2023-002</p>
539
+ <p class="text-sm text-gray-500">5678 EFGH - فحص فرامل</p>
540
+ </div>
541
+ <span class="status-badge confirmed">مؤكد</span>
542
+ </div>
543
+ </div>
544
+ <div class="p-3">
545
+ <div class="flex justify-between items-center">
546
+ <div>
547
+ <p class="font-medium">#ORD-2023-003</p>
548
+ <p class="text-sm text-gray-500">9012 IJKL - صيانة دورية</p>
549
+ </div>
550
+ <span class="status-badge in-progress">قيد التنفيذ</span>
551
+ </div>
552
+ </div>
553
+ </div>
554
+ <div class="p-3 text-center">
555
+ <button class="text-blue-600 text-sm font-medium">عرض الكل</button>
556
+ </div>
557
+ </div>
558
+
559
+ <!-- Inventory Alerts -->
560
+ <div class="bg-white rounded-lg shadow mb-4">
561
+ <div class="p-3 border-b">
562
+ <h3 class="font-bold">تحذيرات المخزون</h3>
563
+ </div>
564
+ <div class="divide-y divide-gray-200">
565
+ <div class="inventory-warning p-3 flex justify-between items-center">
566
+ <div>
567
+ <p class="font-medium">فلتر زيت</p>
568
+ <p class="text-xs text-gray-600">الكمية: 3</p>
569
+ </div>
570
+ <button class="bg-red-600 text-white px-2 py-1 rounded-lg text-xs">طلب</button>
571
+ </div>
572
+ <div class="inventory-warning p-3 flex justify-between items-center">
573
+ <div>
574
+ <p class="font-medium">شمعة احتراق</p>
575
+ <p class="text-xs text-gray-600">الكمية: 2</p>
576
+ </div>
577
+ <button class="bg-red-600 text-white px-2 py-1 rounded-lg text-xs">طلب</button>
578
+ </div>
579
+ </div>
580
+ </div>
581
+
582
+ <!-- Quick Actions -->
583
+ <div class="grid grid-cols-2 gap-3 mb-4">
584
+ <a href="#" class="bg-white rounded-lg shadow p-4 flex flex-col items-center justify-center">
585
+ <div class="bg-blue-100 p-3 rounded-full text-blue-600 mb-2">
586
+ <i class="fas fa-plus"></i>
587
+ </div>
588
+ <span class="text-sm font-medium">طلب جديد</span>
589
+ </a>
590
+ <a href="#" class="bg-white rounded-lg shadow p-4 flex flex-col items-center justify-center">
591
+ <div class="bg-green-100 p-3 rounded-full text-green-600 mb-2">
592
+ <i class="fas fa-car"></i>
593
+ </div>
594
+ <span class="text-sm font-medium">السيارات</span>
595
+ </a>
596
+ <a href="#" class="bg-white rounded-lg shadow p-4 flex flex-col items-center justify-center">
597
+ <div class="bg-purple-100 p-3 rounded-full text-purple-600 mb-2">
598
+ <i class="fas fa-chart-bar"></i>
599
+ </div>
600
+ <span class="text-sm font-medium">التقارير</span>
601
+ </a>
602
+ <a href="#" class="bg-white rounded-lg shadow p-4 flex flex-col items-center justify-center">
603
+ <div class="bg-yellow-100 p-3 rounded-full text-yellow-600 mb-2">
604
+ <i class="fas fa-map-marked-alt"></i>
605
+ </div>
606
+ <span class="text-sm font-medium">الخريطة</span>
607
+ </a>
608
+ </div>
609
+ </div>
610
+
611
+ <script>
612
+ // Mobile menu toggle
613
+ const mobileMenuButton = document.getElementById('mobileMenuButton');
614
+ const closeMobileMenu = document.getElementById('closeMobileMenu');
615
+ const mobileMenu = document.getElementById('mobileMenu');
616
+
617
+ mobileMenuButton.addEventListener('click', () => {
618
+ mobileMenu.classList.add('open');
619
+ });
620
+
621
+ closeMobileMenu.addEventListener('click', () => {
622
+ mobileMenu.classList.remove('open');
623
+ });
624
+
625
+ // Close mobile menu when clicking outside
626
+ document.addEventListener('click', (e) => {
627
+ if (!mobileMenu.contains(e.target) && e.target !== mobileMenuButton) {
628
+ mobileMenu.classList.remove('open');
629
+ }
630
+ });
631
+
632
+ // Simulate loading data
633
+ document.addEventListener('DOMContentLoaded', () => {
634
+ // In a real app, you would fetch data from an API here
635
+ console.log('App loaded');
636
+ });
637
+ </script>
638
+ <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=Mohamed3007/fleet-management-solutions" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
639
+ </html>