undefined / emergency.html
kalhdrawi's picture
قم ببناء موقع احترافي لادارة المستشفى متكون من 20 صفحة
96637b1 verified
<!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; }
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<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-blue-600 font-medium">الطوارئ</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>
<div class="flex items-center space-x-reverse space-x-4">
<div class="bg-red-600 text-white px-4 py-2 rounded-lg flex items-center space-x-reverse space-x-2 pulse">
<i data-feather="alert-triangle" class="w-5 h-5"></i>
<span>3 حالات حرجة</span>
</div>
<button class="bg-red-600 text-white px-6 py-2 rounded-lg hover:bg-red-700 flex items-center space-x-reverse space-x-2">
<i data-feather="phone" class="w-5 h-5"></i>
<span>اتصال طارئ</span>
</button>
</div>
</div>
<!-- Emergency Statistics -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-4 mb-8">
<div class="bg-red-50 border border-red-200 rounded-lg p-4">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-red-600">حالات حرجة</p>
<p class="text-2xl font-bold text-red-700">3</p>
</div>
<i data-feather="alert-circle" class="w-8 h-8 text-red-500"></i>
</div>
</div>
<div class="bg-yellow-50 border border-yellow-200 rounded-lg p-4">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-yellow-600">حالات متوسطة</p>
<p class="text-2xl font-bold text-yellow-700">7</p>
</div>
<i data-feather="alert-triangle" class="w-8 h-8 text-yellow-500"></i>
</div>
</div>
<div class="bg-green-50 border border-green-200 rounded-lg p-4">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-green-600">حالات بسيطة</p>
<p class="text-2xl font-bold text-green-700">12</p>
</div>
<i data-feather="check-circle" class="w-8 h-8 text-green-500"></i>
</div>
</div>
<div class="bg-blue-50 border border-blue-200 rounded-lg p-4">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-blue-600">الأطباء المتاحون</p>
<p class="text-2xl font-bold text-blue-700">5</p>
</div>
<i data-feather="user" class="w-8 h-8 text-blue-500"></i>
</div>
</div>
</div>
<!-- Current Emergency Cases -->
<div class="bg-white rounded-lg shadow-md p-6 mb-6">
<h2 class="text-xl font-semibold text-gray-800 mb-4">الحالات الحالية</h2>
<div class="space-y-4">
<div class="border-r-4 border-red-600 bg-red-50 p-4 rounded-lg">
<div class="flex justify-between items-start">
<div>
<div class="flex items-center space-x-reverse space-x-2 mb-2">
<span class="bg-red-600 text-white text-xs px-2 py-1 rounded">حرج</span>
<h3 class="font-semibold text-gray-800">محمد أحمد - 45 سنة</h3>
</div>
<p class="text-sm text-gray-600 mb-2">ألم صدر حاد - ضيق تنفس</p>
<div class="flex items-center space-x-reverse space-x-4 text-sm text-gray-500">
<span class="flex items-center">
<i data-feather="clock" class="w-4 h-4 ml-1"></i>
منذ 15 دقيقة
</span>
<span class="flex items-center">
<i data-feather="user" class="w-4 h-4 ml-1"></i>
د. أحمد محمد
</span>
<span class="flex items-center">
<i data-feather="map-pin" class="w-4 h-4 ml-1"></i>
غرفة الطوارئ 1
</span>
</div>
</div>
<div class="flex space-x-reverse space-x-2">
<button class="p-2 bg-blue-600 text-white rounded hover:bg-blue-700">
<i data-feather="eye" class="w-4 h-4"></i>
</button>
<button class="p-2 bg-green-600 text-white rounded hover:bg-green-700">
<i data-feather="check" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<div class="border-r-4 border-yellow-600 bg-yellow-50 p-4 rounded-lg">
<div class="flex justify-between items-start">
<div>
<div class="flex items-center space-x-reverse space-x-2 mb-2">
<span class="bg-yellow-600 text-white text-xs px-2 py-1 rounded">متوسط</span>
<h3 class="font-semibold text-gray-800">فاطمة علي - 28 سنة</h3>
</div>
<p class="text-sm text-gray-600 mb-2">كسر في الذراع - ألم شديد</p>
<div class="flex items-center space-x-reverse space-x-4 text-sm text-gray-500">
<span class="flex items-center">
<i data-feather="clock" class="w-4 h-4 ml-1"></i>
منذ 30 دقيقة
</span>
<span class="flex items-center">
<i data-feather="user" class="w-4 h-4 ml-1"></i>
د. سارة أحمد
</span>
<span class="flex items-center">
<i data-feather="map-pin" class="w-4 h-4 ml-1"></i>
غرفة الطوارئ 3
</span>
</div>
</div>
<div class="flex space-x-reverse space-x-2">
<button class="p-2 bg-blue-600 text-white rounded hover:bg-blue-700">
<i data-feather="eye" class="w-4 h-4"></i>
</button>
<button class="p-2 bg-green-600 text-white rounded hover:bg-green-700">
<i data-feather="check" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Ambulance Status -->
<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-3 gap-4">
<div class="border rounded-lg p-4">
<div class="flex items-center justify-between mb-2">
<h3 class="font-semibold">إسعاف 1</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">السائق: علي محمد</p>
<p class="text-sm text-gray-600">الموقع: المستشفى</p>
</div>
<div class="border rounded-lg p-4">
<div class="flex items-center justify-between mb-2">
<h3 class="font-semibold">إسعاف 2</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">السائق: حسن أحمد</p>
<p class="text-sm text-gray-600">الموقع: شارع الملك فهد</p>
</div>
<div class="border rounded-lg p-4">
<div class="flex items-center justify-between mb-2">
<h3 class="font-semibold">إسعاف 3</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">السائق: خالد علي</p>
<p class="text-sm text-gray-600">الموقع: طريق العودة</p>
</div>
</div>
</div>
</div>
<script>
feather.replace();
anime({
targets: '.border-r-4',
translateX: [20, 0],
opacity: [0, 1],
delay: anime.stagger(100),
duration: 600,
easing: 'easeOutQuad'
});
</script>
</body>
</html>