File size: 8,134 Bytes
96637b1 | 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 | <!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> |