|
|
<!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-blue-600 font-medium">المرضى</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> |
|
|
<a href="patient-registration.html" 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="user-plus" class="w-5 h-5"></i> |
|
|
<span>إضافة مريض جديد</span> |
|
|
</a> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-lg shadow-md p-6 mb-6"> |
|
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-4"> |
|
|
<div class="relative"> |
|
|
<i data-feather="search" class="absolute right-3 top-3 w-5 h-5 text-gray-400"></i> |
|
|
<input type="text" placeholder="البحث عن مريض..." class="w-full pr-10 pl-4 py-2 border rounded-lg focus:outline-none focus:border-blue-500"> |
|
|
</div> |
|
|
<select class="px-4 py-2 border rounded-lg focus:outline-none focus:border-blue-500"> |
|
|
<option>جميع الأقسام</option> |
|
|
<option>الباطنية</option> |
|
|
<option>الجراحة</option> |
|
|
<option>الأطفال</option> |
|
|
<option>النساء والتوليد</option> |
|
|
</select> |
|
|
<select class="px-4 py-2 border rounded-lg focus:outline-none focus:border-blue-500"> |
|
|
<option>جميع الحالات</option> |
|
|
<option>داخلي</option> |
|
|
<option>خارجي</option> |
|
|
<option>طوارئ</option> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-lg shadow-md overflow-hidden"> |
|
|
<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> |
|
|
<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">#1001</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">45</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">01234567890</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">الباطنية</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"> |
|
|
<a href="patient-details.html" class="text-blue-600 hover:text-blue-900 ml-3">عرض</a> |
|
|
<a href="#" class="text-indigo-600 hover:text-indigo-900 ml-3">تعديل</a> |
|
|
<a href="#" class="text-red-600 hover:text-red-900">حذف</a> |
|
|
</td> |
|
|
</tr> |
|
|
<tr class="hover:bg-gray-50"> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#1002</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">32</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">01234567891</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">النساء والتوليد</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">خارجي</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> |
|
|
<a href="patient-details.html" class="text-blue-600 hover:text-blue-900 ml-3">عرض</a> |
|
|
<a href="#" class="text-indigo-600 hover:text-indigo-900 ml-3">تعديل</a> |
|
|
<a href="#" class="text-red-600 hover:text-red-900">حذف</a> |
|
|
</td> |
|
|
</tr> |
|
|
</tbody> |
|
|
</table> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="flex justify-between items-center mt-6"> |
|
|
<span class="text-sm text-gray-700">عرض 1-10 من 1234 مريض</span> |
|
|
<div class="flex space-x-reverse space-x-2"> |
|
|
<button class="px-3 py-1 border rounded hover:bg-gray-100">السابق</button> |
|
|
<button class="px-3 py-1 bg-blue-600 text-white rounded">1</button> |
|
|
<button class="px-3 py-1 border rounded hover:bg-gray-100">2</button> |
|
|
<button class="px-3 py-1 border rounded hover:bg-gray-100">3</button> |
|
|
<button class="px-3 py-1 border rounded hover:bg-gray-100">التالي</button> |
|
|
</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> |