File size: 17,132 Bytes
4260f43 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 | <!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>مرسال للتوصيل السريع</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
:root {
--primary-color: #4f46e5;
--secondary-color: #10b981;
--dark-color: #1e293b;
--light-color: #f8fafc;
}
.dark {
--primary-color: #6366f1;
--secondary-color: #10b981;
--dark-color: #f8fafc;
--light-color: #1e293b;
}
body {
font-family: 'Tajawal', sans-serif;
background-color: var(--light-color);
color: var(--dark-color);
transition: all 0.3s ease;
}
.sidebar {
height: 100vh;
overflow-y: auto;
}
.order-card {
transition: transform 0.2s;
}
.order-card:hover {
transform: translateY(-5px);
}
.receipt {
width: 20cm;
height: 12cm;
border: 2px dashed #ccc;
}
.watermark {
opacity: 0.1;
position: absolute;
z-index: -1;
}
@media print {
body * {
visibility: hidden;
}
.receipt, .receipt * {
visibility: visible;
}
.receipt {
position: absolute;
left: 0;
top: 0;
width: 20cm;
height: 12cm;
}
}
/* Animation for notifications */
@keyframes slideIn {
from { transform: translateX(100%); }
to { transform: translateX(0); }
}
.notification {
animation: slideIn 0.3s ease-out;
}
</style>
</head>
<body class="bg-gray-100 dark:bg-gray-900">
<!-- Theme Toggle -->
<div class="fixed bottom-4 right-4 z-50">
<button id="themeToggle" class="p-3 rounded-full bg-indigo-600 text-white shadow-lg">
<i class="fas fa-moon dark:hidden"></i>
<i class="fas fa-sun hidden dark:block"></i>
</button>
</div>
<!-- Main Layout -->
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="sidebar w-64 bg-white dark:bg-gray-800 shadow-lg hidden md:block">
<div class="p-4 flex items-center justify-center border-b border-gray-200 dark:border-gray-700">
<div class="flex items-center">
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjNGY0NmU1IiBkPSJNNDQ4IDMySENDNjcuNCAzMiAwIDk5LjQgMCAxNjB2MTkyYzAgNjAuNiA2Ny40IDEyOCAxMjggMTI4aDMxOWM2MC42IDAgMTI4LTY3LjQgMTI4LTEyOFYxNjBjMC02MC42LTY3LjQtMTI4LTEyOC0xMjh6TTI1NiAzODRjLTcwLjcgMC0xMjgtNTcuMy0xMjgtMTI4czU3LjMtMTI4IDEyOC0xMjggMTI4IDU3LjMgMTI4IDEyOC01Ny4zIDEyOC0xMjggMTI4em0xMjgtMTYwYzAtMTcuNy0xNC4zLTMyLTMyLTMycy0zMiAxNC4zLTMyIDMyIDE0LjMgMzIgMzIgMzIgMzItMTQuMyAzMi0zMnoiLz48L3N2Zz4=" alt="Logo" class="h-10 w-10">
<h1 class="text-xl font-bold text-indigo-600 dark:text-indigo-400 mr-2">مرسال</h1>
</div>
</div>
<div class="p-4">
<div class="flex items-center p-3 bg-indigo-50 dark:bg-gray-700 rounded-lg">
<img src="https://ui-avatars.com/api/?name=Azad&background=4f46e5&color=fff" alt="User" class="w-10 h-10 rounded-full">
<div class="mr-3">
<p class="font-medium text-gray-800 dark:text-gray-200">Azad</p>
<p class="text-sm text-gray-600 dark:text-gray-400">مدير</p>
</div>
</div>
</div>
<nav class="mt-2">
<div>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-home ml-2"></i>
<span>الرئيسية</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-box-open ml-2"></i>
<span>إدارة الطلبات</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-user-plus ml-2"></i>
<span>إسناد الطلبات</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-plus-circle ml-2"></i>
<span>إضافة طلب جديد</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-inbox ml-2"></i>
<span>الطلبات الجديدة</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-archive ml-2"></i>
<span>أرشيف الطلبات</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-users ml-2"></i>
<span>إدارة الموظفين</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-chart-bar ml-2"></i>
<span>التقارير والإحصائيات</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-calculator ml-2"></i>
<span>إدارة الحسابات</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-exchange-alt ml-2"></i>
<span>تصفية الرواجع</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-cog ml-2"></i>
<span>الإعدادات</span>
</a>
</div>
</nav>
</div>
<!-- Mobile Sidebar -->
<div class="fixed inset-0 z-40 md:hidden hidden" id="mobileSidebar">
<div class="fixed inset-0 bg-gray-600 bg-opacity-75" aria-hidden="true"></div>
<div class="relative flex flex-col w-full max-w-xs h-full bg-white dark:bg-gray-800">
<div class="flex items-center justify-between p-4 border-b border-gray-200 dark:border-gray-700">
<div class="flex items-center">
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjNGY0NmU1IiBkPSJNNDQ4IDMySENDNjcuNCAzMiAwIDk5LjQgMCAxNjB2MTkyYzAgNjAuNiA2Ny40IDEyOCAxMjggMTI4aDMxOWM2MC42IDAgMTI4LTY3LjQgMTI4LTEyOFYxNjBjMC02MC42LTY3LjQtMTI4LTEyOC0xMjh6TTI1NiAzODRjLTcwLjcgMC0xMjgtNTcuMy0xMjgtMTI4czU3LjMtMTI4IDEyOC0xMjggMTI4IDU3LjMgMTI4IDEyOC01Ny4zIDEyOC0xMjggMTI4em0xMjgtMTYwYzAtMTcuNy0xNC4zLTMyLTMyLTMycy0zMiAxNC4zLTMyIDMyIDE0LjMgMzIgMzIgMzIgMzItMTQuMyAzMi0zMnoiLz48L3N2Zz4=" alt="Logo" class="h-8 w-8">
<h1 class="text-lg font-bold text-indigo-600 dark:text-indigo-400 mr-2">مرسال</h1>
</div>
<button type="button" class="text-gray-500 dark:text-gray-400" id="closeMobileSidebar">
<i class="fas fa-times"></i>
</button>
</div>
<div class="p-4">
<div class="flex items-center p-3 bg-indigo-50 dark:bg-gray-700 rounded-lg">
<img src="https://ui-avatars.com/api/?name=Azad&background=4f46e5&color=fff" alt="User" class="w-8 h-8 rounded-full">
<div class="mr-2">
<p class="font-medium text-gray-800 dark:text-gray-200">Azad</p>
<p class="text-xs text-gray-600 dark:text-gray-400">مدير</p>
</div>
</div>
</div>
<nav class="flex-1 overflow-y-auto">
<div>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-home ml-2"></i>
<span>الرئيسية</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-box-open ml-2"></i>
<span>إدارة الطلبات</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-user-plus ml-2"></i>
<span>إسناد الطلبات</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-plus-circle ml-2"></i>
<span>إضافة طلب جديد</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-inbox ml-2"></i>
<span>الطلبات الجديدة</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-archive ml-2"></i>
<span>أرشيف الطلبات</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-users ml-2"></i>
<span>إدارة الموظفين</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-chart-bar ml-2"></i>
<span>التقارير والإحصائيات</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-calculator ml-2"></i>
<span>إدارة الحسابات</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-exchange-alt ml-2"></i>
<span>تصفية الرواجع</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-700 dark:text-gray-200 hover:bg-indigo-50 dark:hover:bg-gray-700 rounded-lg">
<i class="fas fa-cog ml-2"></i>
<span>الإعدادات</span>
</a>
</div>
</nav>
</div>
</div>
<!-- Main Content -->
<div class="flex-1 overflow-auto">
<!-- Header -->
<header class="bg-white dark:bg-gray-800 shadow-sm">
<div class="flex items-center justify-between p-4">
<div class="flex items-center">
<button type="button" class="md:hidden text-gray-500 dark:text-gray-400" id="openMobileSidebar">
<i class="fas fa-bars"></i>
</button>
<h1 class="text-xl font-bold text-gray-800 dark:text-gray-200 mr-4">الرئيسية</h1>
</div>
<div class="flex items-center space-x-4 rtl:space-x-reverse">
<button class="p-2 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200">
<i class="fas fa-bell"></i>
<span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
</button>
<button class="p-2 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200">
<i class="fas fa-envelope"></i>
</button>
<button class="p-2 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200">
<i class="fas fa-sign-out-alt"></i>
</button>
</div>
</div>
</header>
<!-- Dashboard Content -->
<main class="p-4">
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
<div class="bg-white dark:bg-gray-800 rounded-lg shadow p-4 border-l-4 border-indigo-500">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 dark:text-gray-400">إجمالي الطلبات</p>
<h3 class="text-2xl font-bold text-gray-800 dark:text-gray-200">1,248</h3>
</div>
<div class="p-3 rounded-full bg-indigo-100 dark:bg-indigo-900 text-indigo-600 dark:text-indigo-300">
<i class="fas fa-box-open"></i>
</div>
</div>
</div>
<div class="bg-white dark:bg-gray-800 rounded-lg shadow p-4 border-l-4 border-green-500">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 dark:text-gray-400">الطلبات المسلمة</p>
<h3 class="text-2xl font-bold text-gray-800 dark:text-gray-200">856</h3>
</div>
<div class="p-3 rounded-full bg-green-100 dark:bg-green-900 text-green-600 dark:text-green-300">
<i class="fas fa-check-circle"></i>
</div>
</div>
</div>
<div class="bg-white dark:bg-gray-800 rounded-lg shadow p-4 border-l-4 border-yellow-500">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 dark:text-gray-400">الطلبات المؤجلة</p>
<h3 class="text-2xl font-bold text-gray-800 dark:text-gray-200">142</h3>
</div>
<div class="p-3 rounded-full bg-yellow-100 dark:bg-yellow-900 text-yellow-600 dark:text-yellow-300">
<i class="fas fa-clock"></i>
</div>
</div>
</div>
</html> |