|
|
<!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> |
|
|
<link rel="icon" type="image/x-icon" href="/static/favicon.ico"> |
|
|
<script src="https://cdn.tailwindcss.com"></script> |
|
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
|
|
<script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.iife.min.js"></script> |
|
|
<style> |
|
|
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap'); |
|
|
body { font-family: 'Tajawal', sans-serif; } |
|
|
</style> |
|
|
</head> |
|
|
<body class="bg-gray-50"> |
|
|
|
|
|
<nav class="bg-white shadow-lg sticky top-0 z-50"> |
|
|
<div class="max-w-7xl mx-auto px-4"> |
|
|
<div class="flex justify-between items-center py-4"> |
|
|
<div class="flex items-center space-x-reverse space-x-2"> |
|
|
<i data-feather="activity" class="w-8 h-8 text-blue-600"></i> |
|
|
<span class="text-xl font-bold text-gray-800">نظام إدارة المستشفى</span> |
|
|
</div> |
|
|
<div class="hidden md:flex space-x-reverse space-x-6"> |
|
|
<a href="index.html" class="text-gray-600 hover:text-blue-600">الرئيسية</a> |
|
|
<a href="patients.html" class="text-gray-600 hover:text-blue-600">المرضى</a> |
|
|
<a href="doctors.html" class="text-gray-600 hover:text-blue-600">الأطباء</a> |
|
|
<a href="appointments.html" class="text-gray-600 hover:text-blue-600">المواعيد</a> |
|
|
<a href="departments.html" class="text-gray-600 hover:text-blue-600">الأقسام</a> |
|
|
<a href="emergency.html" class="text-gray-600 hover:text-blue-600">الطوارئ</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</nav> |
|
|
|
|
|
<div class="max-w-7xl mx-auto px-4 py-8"> |
|
|
<div class="flex justify-between items-center mb-8"> |
|
|
<h1 class="text-3xl font-bold text-gray-800">الصيدلية</h1> |
|
|
<button class="bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 flex items-center space-x-reverse space-x-2"> |
|
|
<i data-feather="plus" class="w-5 h-5"></i> |
|
|
<span>وصفة جديدة</span> |
|
|
</button> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="grid grid-cols-1 md:grid-cols-4 gap-4 mb-8"> |
|
|
<div class="bg-white rounded-lg shadow-md p-6"> |
|
|
<div class="flex items-center justify-between"> |
|
|
<div> |
|
|
<p class="text-sm text-gray-600">الوصفات اليوم</p> |
|
|
<p class="text-2xl font-bold text-gray-800">62</p> |
|
|
</div> |
|
|
<i data-feather="file-text" class="w-8 h-8 text-blue-500"></i> |
|
|
</div> |
|
|
</div> |
|
|
<div class="bg-white rounded-lg shadow-md p-6"> |
|
|
<div class="flex items-center justify-between"> |
|
|
<div> |
|
|
<p class="text-sm text-gray-600">قيد الانتظار</p> |
|
|
<p class="text-2xl font-bold text-yellow-600">8</p> |
|
|
</div> |
|
|
<i data-feather="clock" class="w-8 h-8 text-yellow-500"></i> |
|
|
</div> |
|
|
</div> |
|
|
<div class="bg-white rounded-lg shadow-md p-6"> |
|
|
<div class="flex items-center justify-between"> |
|
|
<div> |
|
|
<p class="text-sm text-gray-600">مكتملة</p> |
|
|
<p class="text-2xl font-bold text-green-600">52</p> |
|
|
</div> |
|
|
<i data-feather="check-circle" class="w-8 h-8 text-green-500"></i> |
|
|
</div> |
|
|
</div> |
|
|
<div class="bg-white rounded-lg shadow-md p-6"> |
|
|
<div class="flex items-center justify-between"> |
|
|
<div> |
|
|
<p class="text-sm text-gray-600">الأدوية المنتهية</p> |
|
|
<p class="text-2xl font-bold text-red-600">3</p> |
|
|
</div> |
|
|
<i data-feather="alert-triangle" class="w-8 h-8 text-red-500"></i> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-lg shadow-md overflow-hidden mb-6"> |
|
|
<div class="p-6 border-b"> |
|
|
<h2 class="text-xl font-semibold text-gray-800">الوصفات الطبية</h2> |
|
|
</div> |
|
|
<table class="w-full"> |
|
|
<thead class="bg-gray-50"> |
|
|
<tr> |
|
|
<th class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">رقم الوصفة</th> |
|
|
<th class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">المريض</th> |
|
|
<th class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">الطبيب</th> |
|
|
<th class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">التاريخ</th> |
|
|
<th class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">الحالة</th> |
|
|
<th class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">الإجراءات</th> |
|
|
</tr> |
|
|
</thead> |
|
|
<tbody class="bg-white divide-y divide-gray-200"> |
|
|
<tr class="hover:bg-gray-50"> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#P2024001</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">أحمد محمد</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">د. أحمد محمد</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">20/11/2024</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">قيد التحضير</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> |
|
|
<button class="text-blue-600 hover:text-blue-900">عرض</button> |
|
|
</td> |
|
|
</tr> |
|
|
<tr class="hover:bg-gray-50"> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#P2024002</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">فاطمة أحمد</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">د. سارة أحمد</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">20/11/2024</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">جاهزة</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> |
|
|
<button class="text-blue-600 hover:text-blue-900">عرض</button> |
|
|
</td> |
|
|
</tr> |
|
|
</tbody> |
|
|
</table> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-lg shadow-md p-6"> |
|
|
<h2 class="text-xl font-semibold text-gray-800 mb-4">المخزون</h2> |
|
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> |
|
|
<div class="border rounded-lg p-4"> |
|
|
<div class="flex justify-between items-start mb-2"> |
|
|
<h3 class="font-semibold">باراسيتامول</h3> |
|
|
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded">متوفر</span> |
|
|
</div> |
|
|
<p class="text-sm text-gray-600">الكمية: 500 علبة</p> |
|
|
<p class="text-sm text-gray-600">تاريخ الانتهاء: 2025-12</p> |
|
|
</div> |
|
|
<div class="border rounded-lg p-4"> |
|
|
<div class="flex justify-between items-start mb-2"> |
|
|
<h3 class="font-semibold">أموكسيسيلين</h3> |
|
|
<span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded">منخفض</span> |
|
|
</div> |
|
|
<p class="text-sm text-gray-600">الكمية: 50 علبة</p> |
|
|
<p class="text-sm text-gray-600">تاريخ الانتهاء: 2024-06</p> |
|
|
</div> |
|
|
<div class="border rounded-lg p-4"> |
|
|
<div class="flex justify-between items-start mb-2"> |
|
|
<h3 class="font-semibold">إيبوبروفين</h3> |
|
|
<span class="bg-red-100 text-red-800 text-xs px-2 py-1 rounded">نافد</span> |
|
|
</div> |
|
|
<p class="text-sm text-gray-600">الكمية: 0 علبة</p> |
|
|
<p class="text-sm text-gray-600">تاريخ الانتهاء: -</p> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<script> |
|
|
feather.replace(); |
|
|
anime({ |
|
|
targets: 'tr', |
|
|
translateX: [-20, 0], |
|
|
opacity: [0, 1], |
|
|
delay: anime.stagger(50), |
|
|
duration: 600, |
|
|
easing: 'easeOutQuad' |
|
|
}); |
|
|
</script> |
|
|
</body> |
|
|
</html> |