File size: 9,036 Bytes
b257eec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>EduTrack Pro - Yönetici Paneli</title>
<link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="components/navbar.js"></script>
</head>
<body class="bg-gray-50 min-h-screen flex flex-col">
    <custom-navbar></custom-navbar>
    
    <main class="flex-grow container mx-auto px-4 py-8">
        <div class="mb-8">
            <h1 class="text-3xl font-bold text-primary">Yönetici Paneli</h1>
            <p class="text-gray-600">Dershane yönetim sistemini kontrol edin</p>
        </div>
        
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
            <!-- Teachers Card -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden fade-in">
                <div class="p-6">
                    <div class="flex items-center justify-between mb-4">
                        <h2 class="text-xl font-semibold text-gray-800">Öğretmenler</h2>
                        <span class="bg-primary text-white px-3 py-1 rounded-full text-sm font-medium">24</span>
                    </div>
                    <p class="text-gray-600 mb-4">Sistemde kayıtlı öğretmenler</p>
                    <div class="flex justify-between">
                        <a href="teachers.html" class="text-primary font-medium hover:underline">Tümünü Gör</a>
                        <button class="bg-primary text-white px-3 py-1 rounded-md text-sm hover:bg-primary-600 transition">
                            <i data-feather="plus" class="w-4 h-4 inline mr-1"></i> Yeni Ekle
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- Students Card -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden fade-in" style="animation-delay: 0.1s;">
                <div class="p-6">
                    <div class="flex items-center justify-between mb-4">
                        <h2 class="text-xl font-semibold text-gray-800">Öğrenciler</h2>
                        <span class="bg-secondary text-white px-3 py-1 rounded-full text-sm font-medium">187</span>
                    </div>
                    <p class="text-gray-600 mb-4">Sistemde kayıtlı öğrenciler</p>
                    <div class="flex justify-between">
                        <a href="students.html" class="text-primary font-medium hover:underline">Tümünü Gör</a>
                        <button class="bg-primary text-white px-3 py-1 rounded-md text-sm hover:bg-primary-600 transition">
                            <i data-feather="plus" class="w-4 h-4 inline mr-1"></i> Yeni Ekle
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- Classes Card -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden fade-in" style="animation-delay: 0.2s;">
                <div class="p-6">
                    <div class="flex items-center justify-between mb-4">
                        <h2 class="text-xl font-semibold text-gray-800">Dersler</h2>
                        <span class="bg-purple-500 text-white px-3 py-1 rounded-full text-sm font-medium">12</span>
                    </div>
                    <p class="text-gray-600 mb-4">Sistemde tanımlı dersler</p>
                    <div class="flex justify-between">
                        <a href="classes.html" class="text-primary font-medium hover:underline">Tümünü Gör</a>
                        <button class="bg-primary text-white px-3 py-1 rounded-md text-sm hover:bg-primary-600 transition">
                            <i data-feather="plus" class="w-4 h-4 inline mr-1"></i> Yeni Ekle
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- Attendance Stats Card -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden fade-in" style="animation-delay: 0.3s;">
                <div class="p-6">
                    <h2 class="text-xl font-semibold text-gray-800 mb-4">Bugünkü Yoklama</h2>
                    <div class="grid grid-cols-3 gap-4 text-center">
                        <div class="p-3 rounded-lg status-present">
                            <div class="text-2xl font-bold">142</div>
                            <div class="text-sm">Var</div>
                        </div>
                        <div class="p-3 rounded-lg status-absent">
                            <div class="text-2xl font-bold">15</div>
                            <div class="text-sm">Yok</div>
                        </div>
                        <div class="p-3 rounded-lg status-excused">
                            <div class="text-2xl font-bold">7</div>
                            <div class="text-sm">Raporlu</div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Recent Activity Card -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden fade-in" style="animation-delay: 0.4s;">
                <div class="p-6">
                    <h2 class="text-xl font-semibold text-gray-800 mb-4">Son Aktivite</h2>
                    <div class="space-y-4">
                        <div class="flex items-start">
                            <div class="bg-blue-100 p-2 rounded-full mr-3">
                                <i data-feather="user-plus" class="text-blue-500 w-4 h-4"></i>
                            </div>
                            <div>
                                <p class="text-sm font-medium">Yeni öğretmen eklendi</p>
                                <p class="text-xs text-gray-500">Ahmet Yılmaz - 10 dakika önce</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="bg-green-100 p-2 rounded-full mr-3">
                                <i data-feather="book" class="text-green-500 w-4 h-4"></i>
                            </div>
                            <div>
                                <p class="text-sm font-medium">Yeni ders oluşturuldu</p>
                                <p class="text-xs text-gray-500">10. Sınıf Matematik - 1 saat önce</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="bg-yellow-100 p-2 rounded-full mr-3">
                                <i data-feather="alert-triangle" class="text-yellow-500 w-4 h-4"></i>
                            </div>
                            <div>
                                <p class="text-sm font-medium">Yoklama uyarısı</p>
                                <p class="text-xs text-gray-500">3 öğrenci devamsız - Bugün</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Quick Actions Card -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden fade-in" style="animation-delay: 0.5s;">
                <div class="p-6">
                    <h2 class="text-xl font-semibold text-gray-800 mb-4">Hızlı Eylemler</h2>
                    <div class="grid grid-cols-2 gap-3">
                        <a href="attendance.html" class="bg-gray-100 hover:bg-gray-200 p-3 rounded-lg text-center transition">
                            <i data-feather="check-square" class="w-5 h-5 mx-auto text-primary"></i>
                            <p class="text-sm mt-1">Yoklama Al</p>
                        </a>
                        <a href="messages.html" class="bg-gray-100 hover:bg-gray-200 p-3 rounded-lg text-center transition">
                            <i data-feather="message-square" class="w-5 h-5 mx-auto text-primary"></i>
                            <p class="text-sm mt-1">Mesaj Gönder</p>
                        </a>
                        <a href="reports.html" class="bg-gray-100 hover:bg-gray-200 p-3 rounded-lg text-center transition">
                            <i data-feather="file-text" class="w-5 h-5 mx-auto text-primary"></i>
                            <p class="text-sm mt-1">Rapor Al</p>
                        </a>
                        <a href="settings.html" class="bg-gray-100 hover:bg-gray-200 p-3 rounded-lg text-center transition">
                            <i data-feather="settings" class="w-5 h-5 mx-auto text-primary"></i>
                            <p class="text-sm mt-1">Ayarlar</p>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </main>
    
    <script>
        feather.replace();
    </script>
</body>
</html>