undefined / appointments.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; }
</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-blue-600 font-medium">المواعيد</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="appointment-scheduling.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="calendar-plus" class="w-5 h-5"></i>
<span>حجز موعد جديد</span>
</a>
</div>
<!-- Calendar View -->
<div class="bg-white rounded-lg shadow-md p-6 mb-6">
<div class="flex justify-between items-center mb-4">
<h2 class="text-xl font-semibold text-gray-800">ديسمبر 2024</h2>
<div class="flex space-x-reverse space-x-2">
<button class="p-2 hover:bg-gray-100 rounded">
<i data-feather="chevron-right" class="w-5 h-5"></i>
</button>
<button class="p-2 hover:bg-gray-100 rounded">
<i data-feather="chevron-left" class="w-5 h-5"></i>
</button>
</div>
</div>
<div class="grid grid-cols-7 gap-2 text-center">
<div class="font-semibold text-gray-600 py-2">الأحد</div>
<div class="font-semibold text-gray-600 py-2">الإثنين</div>
<div class="font-semibold text-gray-600 py-2">الثلاثاء</div>
<div class="font-semibold text-gray-600 py-2">الأربعاء</div>
<div class="font-semibold text-gray-600 py-2">الخميس</div>
<div class="font-semibold text-gray-600 py-2">الجمعة</div>
<div class="font-semibold text-gray-600 py-2">السبت</div>
<div class="py-4 text-gray-400">29</div>
<div class="py-4 text-gray-400">30</div>
<div class="py-4 hover:bg-gray-100 rounded cursor-pointer">1</div>
<div class="py-4 hover:bg-gray-100 rounded cursor-pointer">2</div>
<div class="py-4 hover:bg-gray-100 rounded cursor-pointer relative">
3
<span class="absolute bottom-1 left-1/2 transform -translate-x-1/2 w-1 h-1 bg-blue-600 rounded-full"></span>
</div>
<div class="py-4 hover:bg-gray-100 rounded cursor-pointer">4</div>
<div class="py-4 hover:bg-gray-100 rounded cursor-pointer relative">
5
<span class="absolute bottom-1 left-1/2 transform -translate-x-1/2 w-1 h-1 bg-blue-600 rounded-full"></span>
</div>
</div>
</div>
<!-- Today's Appointments -->
<div class="bg-white rounded-lg shadow-md p-6">
<h2 class="text-xl font-semibold text-gray-800 mb-4">مواعيد اليوم</h2>
<div class="space-y-4">
<div class="flex items-center justify-between p-4 bg-blue-50 rounded-lg border-r-4 border-blue-600">
<div class="flex items-center space-x-reverse space-x-4">
<div class="text-center">
<p class="text-sm text-gray-600">9:00 ص</p>
<p class="text-xs text-gray-500">30 دقيقة</p>
</div>
<div>
<h4 class="font-semibold text-gray-800">أحمد محمد</h4>
<p class="text-sm text-gray-600">مع د. أحمد محمد - القلب</p>
</div>
</div>
<div class="flex space-x-reverse space-x-2">
<button class="p-2 text-green-600 hover:bg-green-100 rounded">
<i data-feather="check" class="w-5 h-5"></i>
</button>
<button class="p-2 text-red-600 hover:bg-red-100 rounded">
<i data-feather="x" class="w-5 h-5"></i>
</button>
<button class="p-2 text-gray-600 hover:bg-gray-100 rounded">
<i data-feather="clock" class="w-5 h-5"></i>
</button>
</div>
</div>
<div class="flex items-center justify-between p-4 bg-gray-50 rounded-lg">
<div class="flex items-center space-x-reverse space-x-4">
<div class="text-center">
<p class="text-sm text-gray-600">10:00 ص</p>
<p class="text-xs text-gray-500">30 دقيقة</p>
</div>
<div>
<h4 class="font-semibold text-gray-800">فاطمة أحمد</h4>
<p class="text-sm text-gray-600">مع د. سارة أحمد - نساء وتوليد</p>
</div>
</div>
<div class="flex space-x-reverse space-x-2">
<button class="p-2 text-green-600 hover:bg-green-100 rounded">
<i data-feather="check" class="w-5 h-5"></i>
</button>
<button class="p-2 text-red-600 hover:bg-red-100 rounded">
<i data-feather="x" class="w-5 h-5"></i>
</button>
<button class="p-2 text-gray-600 hover:bg-gray-100 rounded">
<i data-feather="clock" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
</div>
<script>
feather.replace();
anime({
targets: '.bg-white',
translateY: [20, 0],
opacity: [0, 1],
delay: anime.stagger(100),
duration: 600,
easing: 'easeOutQuad'
});
</script>
</body>
</html>