melassy commited on
Commit
f3d3104
·
verified ·
1 Parent(s): 4809407

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +1207 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Dr Elassy
3
- emoji: 🌍
4
  colorFrom: blue
5
- colorTo: purple
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: dr-elassy
3
+ emoji: 🐳
4
  colorFrom: blue
5
+ colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,1207 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="ar" dir="rtl">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>المرشد الأكاديمي الذكي</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
+ <style>
9
+ :root {
10
+ --primary-color: #2c3e50;
11
+ --secondary-color: #3498db;
12
+ --accent-color: #e74c3c;
13
+ --light-color: #ecf0f1;
14
+ --dark-color: #2c3e50;
15
+ --success-color: #27ae60;
16
+ --warning-color: #f39c12;
17
+ }
18
+
19
+ * {
20
+ margin: 0;
21
+ padding: 0;
22
+ box-sizing: border-box;
23
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
24
+ }
25
+
26
+ body {
27
+ background-color: #f5f7fa;
28
+ color: var(--dark-color);
29
+ line-height: 1.6;
30
+ }
31
+
32
+ .container {
33
+ max-width: 1200px;
34
+ margin: 0 auto;
35
+ padding: 20px;
36
+ }
37
+
38
+ header {
39
+ background-color: var(--primary-color);
40
+ color: white;
41
+ padding: 20px 0;
42
+ border-radius: 0 0 10px 10px;
43
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
44
+ margin-bottom: 30px;
45
+ }
46
+
47
+ .header-content {
48
+ display: flex;
49
+ justify-content: space-between;
50
+ align-items: center;
51
+ }
52
+
53
+ .logo {
54
+ display: flex;
55
+ align-items: center;
56
+ }
57
+
58
+ .logo i {
59
+ font-size: 2.5rem;
60
+ margin-left: 15px;
61
+ color: var(--secondary-color);
62
+ }
63
+
64
+ .logo-text h1 {
65
+ font-size: 1.8rem;
66
+ margin-bottom: 5px;
67
+ }
68
+
69
+ .logo-text p {
70
+ font-size: 0.9rem;
71
+ opacity: 0.8;
72
+ }
73
+
74
+ .user-info {
75
+ display: flex;
76
+ align-items: center;
77
+ }
78
+
79
+ .user-info img {
80
+ width: 50px;
81
+ height: 50px;
82
+ border-radius: 50%;
83
+ margin-left: 15px;
84
+ border: 3px solid var(--secondary-color);
85
+ }
86
+
87
+ .user-details h3 {
88
+ font-size: 1.2rem;
89
+ }
90
+
91
+ .user-details p {
92
+ font-size: 0.8rem;
93
+ opacity: 0.8;
94
+ }
95
+
96
+ .dashboard {
97
+ display: grid;
98
+ grid-template-columns: 300px 1fr;
99
+ gap: 25px;
100
+ }
101
+
102
+ .sidebar {
103
+ background-color: white;
104
+ border-radius: 10px;
105
+ padding: 20px;
106
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
107
+ height: fit-content;
108
+ }
109
+
110
+ .sidebar-menu h3 {
111
+ font-size: 1.2rem;
112
+ margin-bottom: 20px;
113
+ padding-bottom: 10px;
114
+ border-bottom: 1px solid #eee;
115
+ color: var(--primary-color);
116
+ }
117
+
118
+ .menu-item {
119
+ display: flex;
120
+ align-items: center;
121
+ padding: 12px 15px;
122
+ margin-bottom: 8px;
123
+ border-radius: 8px;
124
+ cursor: pointer;
125
+ transition: all 0.3s ease;
126
+ }
127
+
128
+ .menu-item:hover {
129
+ background-color: var(--light-color);
130
+ }
131
+
132
+ .menu-item.active {
133
+ background-color: var(--secondary-color);
134
+ color: white;
135
+ }
136
+
137
+ .menu-item i {
138
+ margin-left: 10px;
139
+ font-size: 1.1rem;
140
+ }
141
+
142
+ .main-content {
143
+ background-color: white;
144
+ border-radius: 10px;
145
+ padding: 25px;
146
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
147
+ }
148
+
149
+ .section-header {
150
+ display: flex;
151
+ justify-content: space-between;
152
+ align-items: center;
153
+ margin-bottom: 25px;
154
+ }
155
+
156
+ .section-header h2 {
157
+ font-size: 1.5rem;
158
+ color: var(--primary-color);
159
+ }
160
+
161
+ .action-btn {
162
+ background-color: var(--secondary-color);
163
+ color: white;
164
+ border: none;
165
+ padding: 10px 20px;
166
+ border-radius: 6px;
167
+ cursor: pointer;
168
+ font-weight: 500;
169
+ transition: all 0.3s ease;
170
+ display: flex;
171
+ align-items: center;
172
+ }
173
+
174
+ .action-btn:hover {
175
+ background-color: #2980b9;
176
+ }
177
+
178
+ .action-btn i {
179
+ margin-left: 8px;
180
+ }
181
+
182
+ .stats-cards {
183
+ display: grid;
184
+ grid-template-columns: repeat(3, 1fr);
185
+ gap: 20px;
186
+ margin-bottom: 30px;
187
+ }
188
+
189
+ .stat-card {
190
+ background-color: white;
191
+ border-radius: 10px;
192
+ padding: 20px;
193
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
194
+ border-top: 4px solid var(--secondary-color);
195
+ }
196
+
197
+ .stat-card.warning {
198
+ border-top-color: var(--warning-color);
199
+ }
200
+
201
+ .stat-card.danger {
202
+ border-top-color: var(--accent-color);
203
+ }
204
+
205
+ .stat-card.success {
206
+ border-top-color: var(--success-color);
207
+ }
208
+
209
+ .stat-card h3 {
210
+ font-size: 0.9rem;
211
+ color: #7f8c8d;
212
+ margin-bottom: 10px;
213
+ }
214
+
215
+ .stat-card .value {
216
+ font-size: 1.8rem;
217
+ font-weight: 700;
218
+ margin-bottom: 5px;
219
+ }
220
+
221
+ .stat-card .change {
222
+ font-size: 0.8rem;
223
+ display: flex;
224
+ align-items: center;
225
+ }
226
+
227
+ .stat-card .change.up {
228
+ color: var(--success-color);
229
+ }
230
+
231
+ .stat-card .change.down {
232
+ color: var(--accent-color);
233
+ }
234
+
235
+ .students-table {
236
+ width: 100%;
237
+ border-collapse: collapse;
238
+ margin-top: 20px;
239
+ }
240
+
241
+ .students-table th {
242
+ background-color: var(--light-color);
243
+ padding: 12px 15px;
244
+ text-align: right;
245
+ font-weight: 600;
246
+ }
247
+
248
+ .students-table td {
249
+ padding: 12px 15px;
250
+ border-bottom: 1px solid #eee;
251
+ }
252
+
253
+ .students-table tr:hover {
254
+ background-color: #f9f9f9;
255
+ }
256
+
257
+ .status-badge {
258
+ display: inline-block;
259
+ padding: 5px 10px;
260
+ border-radius: 20px;
261
+ font-size: 0.8rem;
262
+ font-weight: 500;
263
+ }
264
+
265
+ .status-badge.warning {
266
+ background-color: #fef5e7;
267
+ color: var(--warning-color);
268
+ }
269
+
270
+ .status-badge.danger {
271
+ background-color: #fdedec;
272
+ color: var(--accent-color);
273
+ }
274
+
275
+ .action-icon {
276
+ color: var(--secondary-color);
277
+ cursor: pointer;
278
+ margin-right: 10px;
279
+ font-size: 1.1rem;
280
+ }
281
+
282
+ .modal {
283
+ display: none;
284
+ position: fixed;
285
+ top: 0;
286
+ left: 0;
287
+ width: 100%;
288
+ height: 100%;
289
+ background-color: rgba(0, 0, 0, 0.5);
290
+ z-index: 1000;
291
+ justify-content: center;
292
+ align-items: center;
293
+ }
294
+
295
+ .modal-content {
296
+ background-color: white;
297
+ border-radius: 10px;
298
+ width: 600px;
299
+ max-width: 90%;
300
+ max-height: 80vh;
301
+ overflow-y: auto;
302
+ padding: 25px;
303
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
304
+ position: relative;
305
+ }
306
+
307
+ .close-modal {
308
+ position: absolute;
309
+ top: 15px;
310
+ left: 15px;
311
+ font-size: 1.5rem;
312
+ cursor: pointer;
313
+ color: #7f8c8d;
314
+ }
315
+
316
+ .modal-header {
317
+ margin-bottom: 20px;
318
+ padding-bottom: 15px;
319
+ border-bottom: 1px solid #eee;
320
+ }
321
+
322
+ .modal-header h3 {
323
+ font-size: 1.3rem;
324
+ color: var(--primary-color);
325
+ }
326
+
327
+ .form-group {
328
+ margin-bottom: 20px;
329
+ }
330
+
331
+ .form-group label {
332
+ display: block;
333
+ margin-bottom: 8px;
334
+ font-weight: 500;
335
+ }
336
+
337
+ .form-control {
338
+ width: 100%;
339
+ padding: 12px 15px;
340
+ border: 1px solid #ddd;
341
+ border-radius: 6px;
342
+ font-size: 1rem;
343
+ transition: border 0.3s ease;
344
+ }
345
+
346
+ .form-control:focus {
347
+ outline: none;
348
+ border-color: var(--secondary-color);
349
+ }
350
+
351
+ .btn-group {
352
+ display: flex;
353
+ justify-content: flex-end;
354
+ margin-top: 30px;
355
+ }
356
+
357
+ .btn {
358
+ padding: 10px 20px;
359
+ border-radius: 6px;
360
+ cursor: pointer;
361
+ font-weight: 500;
362
+ transition: all 0.3s ease;
363
+ border: none;
364
+ }
365
+
366
+ .btn-primary {
367
+ background-color: var(--secondary-color);
368
+ color: white;
369
+ }
370
+
371
+ .btn-primary:hover {
372
+ background-color: #2980b9;
373
+ }
374
+
375
+ .btn-outline {
376
+ background-color: transparent;
377
+ border: 1px solid #ddd;
378
+ margin-left: 10px;
379
+ }
380
+
381
+ .btn-outline:hover {
382
+ background-color: #f5f5f5;
383
+ }
384
+
385
+ .student-details {
386
+ display: grid;
387
+ grid-template-columns: 150px 1fr;
388
+ gap: 20px;
389
+ margin-bottom: 25px;
390
+ }
391
+
392
+ .student-avatar {
393
+ width: 150px;
394
+ height: 150px;
395
+ border-radius: 10px;
396
+ object-fit: cover;
397
+ border: 3px solid var(--light-color);
398
+ }
399
+
400
+ .student-info h3 {
401
+ font-size: 1.4rem;
402
+ margin-bottom: 10px;
403
+ color: var(--primary-color);
404
+ }
405
+
406
+ .student-meta {
407
+ display: flex;
408
+ flex-wrap: wrap;
409
+ margin-bottom: 15px;
410
+ }
411
+
412
+ .meta-item {
413
+ margin-left: 20px;
414
+ margin-bottom: 10px;
415
+ }
416
+
417
+ .meta-item i {
418
+ color: var(--secondary-color);
419
+ margin-left: 5px;
420
+ }
421
+
422
+ .courses-list {
423
+ margin-top: 30px;
424
+ }
425
+
426
+ .course-item {
427
+ display: flex;
428
+ justify-content: space-between;
429
+ align-items: center;
430
+ padding: 15px;
431
+ border-radius: 8px;
432
+ background-color: #f9f9f9;
433
+ margin-bottom: 10px;
434
+ }
435
+
436
+ .course-info h4 {
437
+ font-size: 1.1rem;
438
+ margin-bottom: 5px;
439
+ }
440
+
441
+ .course-meta {
442
+ display: flex;
443
+ font-size: 0.9rem;
444
+ color: #7f8c8d;
445
+ }
446
+
447
+ .course-meta span {
448
+ margin-left: 15px;
449
+ }
450
+
451
+ .exam-date {
452
+ background-color: var(--light-color);
453
+ padding: 5px 10px;
454
+ border-radius: 4px;
455
+ font-weight: 500;
456
+ }
457
+
458
+ .exam-date.warning {
459
+ background-color: #fef5e7;
460
+ color: var(--warning-color);
461
+ }
462
+
463
+ .message-preview {
464
+ background-color: #f9f9f9;
465
+ border-radius: 8px;
466
+ padding: 20px;
467
+ margin-top: 20px;
468
+ border: 1px solid #eee;
469
+ font-size: 0.95rem;
470
+ line-height: 1.7;
471
+ }
472
+
473
+ .message-preview h4 {
474
+ margin-bottom: 15px;
475
+ color: var(--primary-color);
476
+ }
477
+
478
+ .message-preview p {
479
+ margin-bottom: 15px;
480
+ }
481
+
482
+ .message-links a {
483
+ display: inline-block;
484
+ margin-left: 15px;
485
+ color: var(--secondary-color);
486
+ text-decoration: none;
487
+ }
488
+
489
+ .message-links a:hover {
490
+ text-decoration: underline;
491
+ }
492
+
493
+ .tabs {
494
+ display: flex;
495
+ border-bottom: 1px solid #ddd;
496
+ margin-bottom: 20px;
497
+ }
498
+
499
+ .tab {
500
+ padding: 10px 20px;
501
+ cursor: pointer;
502
+ font-weight: 500;
503
+ color: #7f8c8d;
504
+ border-bottom: 3px solid transparent;
505
+ transition: all 0.3s ease;
506
+ }
507
+
508
+ .tab.active {
509
+ color: var(--secondary-color);
510
+ border-bottom-color: var(--secondary-color);
511
+ }
512
+
513
+ .tab-content {
514
+ display: none;
515
+ }
516
+
517
+ .tab-content.active {
518
+ display: block;
519
+ }
520
+
521
+ .notification {
522
+ position: fixed;
523
+ bottom: 20px;
524
+ left: 20px;
525
+ background-color: var(--success-color);
526
+ color: white;
527
+ padding: 15px 25px;
528
+ border-radius: 6px;
529
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
530
+ display: flex;
531
+ align-items: center;
532
+ z-index: 1001;
533
+ transform: translateY(100px);
534
+ opacity: 0;
535
+ transition: all 0.3s ease;
536
+ }
537
+
538
+ .notification.show {
539
+ transform: translateY(0);
540
+ opacity: 1;
541
+ }
542
+
543
+ .notification i {
544
+ margin-left: 10px;
545
+ font-size: 1.2rem;
546
+ }
547
+
548
+ @media (max-width: 992px) {
549
+ .dashboard {
550
+ grid-template-columns: 1fr;
551
+ }
552
+
553
+ .stats-cards {
554
+ grid-template-columns: 1fr 1fr;
555
+ }
556
+ }
557
+
558
+ @media (max-width: 768px) {
559
+ .header-content {
560
+ flex-direction: column;
561
+ text-align: center;
562
+ }
563
+
564
+ .user-info {
565
+ margin-top: 15px;
566
+ }
567
+
568
+ .stats-cards {
569
+ grid-template-columns: 1fr;
570
+ }
571
+
572
+ .student-details {
573
+ grid-template-columns: 1fr;
574
+ }
575
+
576
+ .student-avatar {
577
+ margin: 0 auto;
578
+ }
579
+ }
580
+ </style>
581
+ </head>
582
+ <body>
583
+ <header>
584
+ <div class="container header-content">
585
+ <div class="logo">
586
+ <i class="fas fa-graduation-cap"></i>
587
+ <div class="logo-text">
588
+ <h1>المرشد الأكاديمي الذكي</h1>
589
+ <p>نظام دعم الطلاب ذوي الأداء الأكاديمي المنخفض</p>
590
+ </div>
591
+ </div>
592
+ <div class="user-info">
593
+ <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="الدكتور محمد العاصي">
594
+ <div class="user-details">
595
+ <h3>الدكتور محمد العاصي</h3>
596
+ <p>المرشد الأكاديمي</p>
597
+ </div>
598
+ </div>
599
+ </div>
600
+ </header>
601
+
602
+ <div class="container">
603
+ <div class="dashboard">
604
+ <div class="sidebar">
605
+ <div class="sidebar-menu">
606
+ <h3>القائمة الرئيسية</h3>
607
+ <div class="menu-item active">
608
+ <i class="fas fa-home"></i>
609
+ <span>لوحة التحكم</span>
610
+ </div>
611
+ <div class="menu-item">
612
+ <i class="fas fa-users"></i>
613
+ <span>الطلاب</span>
614
+ </div>
615
+ <div class="menu-item">
616
+ <i class="fas fa-book"></i>
617
+ <span>المقررات الدراسية</span>
618
+ </div>
619
+ <div class="menu-item">
620
+ <i class="fas fa-calendar-alt"></i>
621
+ <span>جداول الامتحانات</span>
622
+ </div>
623
+ <div class="menu-item">
624
+ <i class="fas fa-envelope"></i>
625
+ <span>الرسائل والإشعارات</span>
626
+ </div>
627
+ <div class="menu-item">
628
+ <i class="fas fa-chart-line"></i>
629
+ <span>التقارير والإحصائيات</span>
630
+ </div>
631
+ </div>
632
+
633
+ <div class="sidebar-menu" style="margin-top: 30px;">
634
+ <h3>الإعدادات</h3>
635
+ <div class="menu-item">
636
+ <i class="fas fa-cog"></i>
637
+ <span>إعدادات النظام</span>
638
+ </div>
639
+ <div class="menu-item">
640
+ <i class="fas fa-user-shield"></i>
641
+ <span>الأمان والصلاحيات</span>
642
+ </div>
643
+ <div class="menu-item">
644
+ <i class="fas fa-sign-out-alt"></i>
645
+ <span>تسجيل الخروج</span>
646
+ </div>
647
+ </div>
648
+ </div>
649
+
650
+ <div class="main-content">
651
+ <div class="section-header">
652
+ <h2>لوحة التحكم</h2>
653
+ <button class="action-btn" id="analyzeDataBtn">
654
+ <i class="fas fa-sync-alt"></i>
655
+ تحديث البيانات
656
+ </button>
657
+ </div>
658
+
659
+ <div class="stats-cards">
660
+ <div class="stat-card">
661
+ <h3>إجمالي الطلاب</h3>
662
+ <div class="value">1,245</div>
663
+ <div class="change up">
664
+ <i class="fas fa-arrow-up"></i>
665
+ 5.2% عن الفصل الماضي
666
+ </div>
667
+ </div>
668
+
669
+ <div class="stat-card warning">
670
+ <h3>طلاب بحاجة لمتابعة</h3>
671
+ <div class="value">187</div>
672
+ <div class="change up">
673
+ <i class="fas fa-arrow-up"></i>
674
+ 3.1% عن الفصل الماضي
675
+ </div>
676
+ </div>
677
+
678
+ <div class="stat-card danger">
679
+ <h3>معدل تراكمي أقل من 2.0</h3>
680
+ <div class="value">92</div>
681
+ <div class="change down">
682
+ <i class="fas fa-arrow-down"></i>
683
+ 2.7% عن الفصل الماضي
684
+ </div>
685
+ </div>
686
+ </div>
687
+
688
+ <div class="section-header">
689
+ <h2>الطلاب الذين يحتاجون إلى تدخل عاجل</h2>
690
+ <button class="action-btn" id="sendMessagesBtn">
691
+ <i class="fas fa-paper-plane"></i>
692
+ إرسال تنبيهات للجميع
693
+ </button>
694
+ </div>
695
+
696
+ <div class="tabs">
697
+ <div class="tab active" data-tab="low-gpa">معدل منخفض (أقل من 2.0)</div>
698
+ <div class="tab" data-tab="warning">تحذير أكاديمي</div>
699
+ <div class="tab" data-tab="failed">راسب في مواد</div>
700
+ </div>
701
+
702
+ <div class="tab-content active" id="low-gpa">
703
+ <table class="students-table">
704
+ <thead>
705
+ <tr>
706
+ <th>الرقم الجامعي</th>
707
+ <th>اسم الطالب</th>
708
+ <th>المعدل التراكمي</th>
709
+ <th>الحالة</th>
710
+ <th>الإجراءات</th>
711
+ </tr>
712
+ </thead>
713
+ <tbody>
714
+ <tr>
715
+ <td>202310001</td>
716
+ <td>أحمد محمد علي</td>
717
+ <td>1.75</td>
718
+ <td><span class="status-badge danger">معدل منخفض</span></td>
719
+ <td>
720
+ <i class="fas fa-envelope action-icon send-message" data-student-id="1"></i>
721
+ <i class="fas fa-eye action-icon view-details" data-student-id="1"></i>
722
+ <i class="fas fa-phone action-icon call-advisor" data-student-id="1"></i>
723
+ </td>
724
+ </tr>
725
+ <tr>
726
+ <td>202310045</td>
727
+ <td>سارة خالد عبدالله</td>
728
+ <td>1.82</td>
729
+ <td><span class="status-badge danger">معدل منخفض</span></td>
730
+ <td>
731
+ <i class="fas fa-envelope action-icon send-message" data-student-id="2"></i>
732
+ <i class="fas fa-eye action-icon view-details" data-student-id="2"></i>
733
+ <i class="fas fa-phone action-icon call-advisor" data-student-id="2"></i>
734
+ </td>
735
+ </tr>
736
+ <tr>
737
+ <td>202310112</td>
738
+ <td>عبدالرحمن إبراهيم سعيد</td>
739
+ <td>1.68</td>
740
+ <td><span class="status-badge danger">معدل منخفض</span></td>
741
+ <td>
742
+ <i class="fas fa-envelope action-icon send-message" data-student-id="3"></i>
743
+ <i class="fas fa-eye action-icon view-details" data-student-id="3"></i>
744
+ <i class="fas fa-phone action-icon call-advisor" data-student-id="3"></i>
745
+ </td>
746
+ </tr>
747
+ <tr>
748
+ <td>202310203</td>
749
+ <td>نورة سالم الكندري</td>
750
+ <td>1.93</td>
751
+ <td><span class="status-badge danger">معدل منخفض</span></td>
752
+ <td>
753
+ <i class="fas fa-envelope action-icon send-message" data-student-id="4"></i>
754
+ <i class="fas fa-eye action-icon view-details" data-student-id="4"></i>
755
+ <i class="fas fa-phone action-icon call-advisor" data-student-id="4"></i>
756
+ </td>
757
+ </tr>
758
+ <tr>
759
+ <td>202310156</td>
760
+ <td>فيصل ناصر الرشيد</td>
761
+ <td>1.79</td>
762
+ <td><span class="status-badge danger">معدل منخفض</span></td>
763
+ <td>
764
+ <i class="fas fa-envelope action-icon send-message" data-student-id="5"></i>
765
+ <i class="fas fa-eye action-icon view-details" data-student-id="5"></i>
766
+ <i class="fas fa-phone action-icon call-advisor" data-student-id="5"></i>
767
+ </td>
768
+ </tr>
769
+ </tbody>
770
+ </table>
771
+ </div>
772
+
773
+ <div class="tab-content" id="warning">
774
+ <table class="students-table">
775
+ <thead>
776
+ <tr>
777
+ <th>الرقم الجامعي</th>
778
+ <th>اسم الطالب</th>
779
+ <th>المعدل التراكمي</th>
780
+ <th>الحالة</th>
781
+ <th>الإجراءات</th>
782
+ </tr>
783
+ </thead>
784
+ <tbody>
785
+ <tr>
786
+ <td>202310078</td>
787
+ <td>ريماس عبدالعزيز الفهد</td>
788
+ <td>2.15</td>
789
+ <td><span class="status-badge warning">تحذير أكاديمي</span></td>
790
+ <td>
791
+ <i class="fas fa-envelope action-icon send-message" data-student-id="6"></i>
792
+ <i class="fas fa-eye action-icon view-details" data-student-id="6"></i>
793
+ <i class="fas fa-phone action-icon call-advisor" data-student-id="6"></i>
794
+ </td>
795
+ </tr>
796
+ <tr>
797
+ <td>202310189</td>
798
+ <td>تركي سعد الدوسري</td>
799
+ <td>2.08</td>
800
+ <td><span class="status-badge warning">تحذير أكاديمي</span></td>
801
+ <td>
802
+ <i class="fas fa-envelope action-icon send-message" data-student-id="7"></i>
803
+ <i class="fas fa-eye action-icon view-details" data-student-id="7"></i>
804
+ <i class="fas fa-phone action-icon call-advisor" data-student-id="7"></i>
805
+ </td>
806
+ </tr>
807
+ </tbody>
808
+ </table>
809
+ </div>
810
+
811
+ <div class="tab-content" id="failed">
812
+ <table class="students-table">
813
+ <thead>
814
+ <tr>
815
+ <th>الرقم الجامعي</th>
816
+ <th>اسم الطالب</th>
817
+ <th>المعدل التراكمي</th>
818
+ <th>الحالة</th>
819
+ <th>الإجراءات</th>
820
+ </tr>
821
+ </thead>
822
+ <tbody>
823
+ <tr>
824
+ <td>202310022</td>
825
+ <td>لولوة حمد المطيري</td>
826
+ <td>2.25</td>
827
+ <td><span class="status-badge warning">راسب في 3 مواد</span></td>
828
+ <td>
829
+ <i class="fas fa-envelope action-icon send-message" data-student-id="8"></i>
830
+ <i class="fas fa-eye action-icon view-details" data-student-id="8"></i>
831
+ <i class="fas fa-phone action-icon call-advisor" data-student-id="8"></i>
832
+ </td>
833
+ </tr>
834
+ <tr>
835
+ <td>202310134</td>
836
+ <td>بدر نايف الحربي</td>
837
+ <td>2.31</td>
838
+ <td><span class="status-badge warning">راسب في مادتين</span></td>
839
+ <td>
840
+ <i class="fas fa-envelope action-icon send-message" data-student-id="9"></i>
841
+ <i class="fas fa-eye action-icon view-details" data-student-id="9"></i>
842
+ <i class="fas fa-phone action-icon call-advisor" data-student-id="9"></i>
843
+ </td>
844
+ </tr>
845
+ </tbody>
846
+ </table>
847
+ </div>
848
+ </div>
849
+ </div>
850
+ </div>
851
+
852
+ <!-- Student Details Modal -->
853
+ <div class="modal" id="studentModal">
854
+ <div class="modal-content">
855
+ <span class="close-modal">&times;</span>
856
+ <div class="modal-header">
857
+ <h3>تفاصيل الطالب</h3>
858
+ </div>
859
+
860
+ <div class="student-details">
861
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="صورة الطالب" class="student-avatar">
862
+ <div class="student-info">
863
+ <h3 id="studentName">أحمد محمد علي</h3>
864
+ <div class="student-meta">
865
+ <div class="meta-item">
866
+ <i class="fas fa-id-card"></i>
867
+ <span id="studentId">202310001</span>
868
+ </div>
869
+ <div class="meta-item">
870
+ <i class="fas fa-university"></i>
871
+ <span id="studentCollege">كلية الهندسة</span>
872
+ </div>
873
+ <div class="meta-item">
874
+ <i class="fas fa-star"></i>
875
+ <span id="studentGPA">المعدل التراكمي: 1.75</span>
876
+ </div>
877
+ <div class="meta-item">
878
+ <i class="fas fa-phone"></i>
879
+ <span id="studentPhone">+966501234567</span>
880
+ </div>
881
+ <div class="meta-item">
882
+ <i class="fas fa-envelope"></i>
883
+ <span id="studentEmail">202310001@university.edu.sa</span>
884
+ </div>
885
+ </div>
886
+ <p id="studentStatus" class="status-badge danger">معدل تراكمي منخفض (أقل من 2.0)</p>
887
+ </div>
888
+ </div>
889
+
890
+ <div class="courses-list">
891
+ <h4>المقررات المسجلة هذا الفصل</h4>
892
+
893
+ <div class="course-item">
894
+ <div class="course-info">
895
+ <h4>رياضيات هندسية (MATH 201)</h4>
896
+ <div class="course-meta">
897
+ <span>3 ساعات معتمدة</span>
898
+ <span>د. خالد عبدالله</span>
899
+ <span>قاعة 204 - مبنى B</span>
900
+ </div>
901
+ </div>
902
+ <div class="exam-date warning">
903
+ <i class="fas fa-calendar-alt"></i>
904
+ 15 مايو 2023 - 9:00 ص
905
+ </div>
906
+ </div>
907
+
908
+ <div class="course-item">
909
+ <div class="course-info">
910
+ <h4>فيزياء عامة (PHYS 101)</h4>
911
+ <div class="course-meta">
912
+ <span>4 ساعات معتمدة</span>
913
+ <span>د. سعاد محمد</span>
914
+ <span>قاعة 105 - مبنى A</span>
915
+ </div>
916
+ </div>
917
+ <div class="exam-date warning">
918
+ <i class="fas fa-calendar-alt"></i>
919
+ 17 مايو 2023 - 11:00 ص
920
+ </div>
921
+ </div>
922
+
923
+ <div class="course-item">
924
+ <div class="course-info">
925
+ <h4>برمجة الحاسوب (CS 101)</h4>
926
+ <div class="course-meta">
927
+ <span>3 ساعات معتمدة</span>
928
+ <span>د. علي إبراهيم</span>
929
+ <span>قاعة 301 - مبنى C</span>
930
+ </div>
931
+ </div>
932
+ <div class="exam-date warning">
933
+ <i class="fas fa-calendar-alt"></i>
934
+ 20 مايو 2023 - 8:00 ص
935
+ </div>
936
+ </div>
937
+
938
+ <div class="course-item">
939
+ <div class="course-info">
940
+ <h4>لغة إنجليزية (ENG 101)</h4>
941
+ <div class="course-meta">
942
+ <span>2 ساعة معتمدة</span>
943
+ <span>أ. سارة جونسون</span>
944
+ <span>قاعة 202 - مبنى D</span>
945
+ </div>
946
+ </div>
947
+ <div class="exam-date">
948
+ <i class="fas fa-calendar-alt"></i>
949
+ 22 مايو 2023 - 10:00 ص
950
+ </div>
951
+ </div>
952
+ </div>
953
+
954
+ <div class="btn-group">
955
+ <button class="btn btn-outline">إغلاق</button>
956
+ <button class="btn btn-primary" id="sendCustomMessageBtn">
957
+ <i class="fas fa-paper-plane"></i>
958
+ إرسال رسالة مخصصة
959
+ </button>
960
+ </div>
961
+ </div>
962
+ </div>
963
+
964
+ <!-- Send Message Modal -->
965
+ <div class="modal" id="messageModal">
966
+ <div class="modal-content">
967
+ <span class="close-modal">&times;</span>
968
+ <div class="modal-header">
969
+ <h3>إرسال رسالة للطالب</h3>
970
+ </div>
971
+
972
+ <div class="form-group">
973
+ <label for="messageType">نوع الرسالة</label>
974
+ <select id="messageType" class="form-control">
975
+ <option value="warning">تنبيه بمعدل منخفض</option>
976
+ <option value="exam">تذكير بموعد الامتحان</option>
977
+ <option value="meeting">دعوة لمقابلة المرشد</option>
978
+ <option value="custom">رسالة مخصصة</option>
979
+ </select>
980
+ </div>
981
+
982
+ <div class="form-group">
983
+ <label for="messageSubject">عنوان الرسالة</label>
984
+ <input type="text" id="messageSubject" class="form-control" value="تنبيه هام بخصوص مستواك الأكاديمي">
985
+ </div>
986
+
987
+ <div class="form-group">
988
+ <label for="messageContent">محتوى الرسالة</label>
989
+ <textarea id="messageContent" class="form-control" rows="8">
990
+ عزيزي الطالب/الطالبة،
991
+
992
+ نود لفت انتباهك إلى أن معدلك التراكمي الحالي أقل من الحد الأدنى المطلوب (2.0)، مما قد يعرضك للإنذار الأكاديمي أو الفصل من الجامعة في حال عدم تحسينه.
993
+
994
+ نقترح عليك الاستفادة من الخدمات التالية لمساعدتك في تحسين مستواك:
995
+ 1. مراجعة المرشد الأكاديمي الدكتور محمد العاصي خلال ساعات الاستقبال
996
+ 2. حضور جلسات الدعم الأكاديمي في مركز التعلم
997
+ 3. الاستفادة من المصادر التعليمية المتاحة على بوابة الطالب
998
+
999
+ يمكنك الاطلاع على موادك الدراسية من خلال الرابط التالي:
1000
+ https://portal.university.edu.sa/courses
1001
+
1002
+ ولمعرفة مواعيد الامتحانات:
1003
+ https://university.edu.sa/exams
1004
+
1005
+ نحن نثق بقدرتك على تحقيق النجاح، ولا تتردد في التواصل معنا لأي استفسار.
1006
+
1007
+ مع أطيب التمنيات،
1008
+ المرشد الأكاديمي الذكي
1009
+ </textarea>
1010
+ </div>
1011
+
1012
+ <div class="message-preview">
1013
+ <h4>معاينة الرسالة</h4>
1014
+ <p id="previewSubject">عزيزي أحمد محمد علي،</p>
1015
+ <p id="previewContent">نود لفت انتباهك إلى أن معدلك التراكمي الحالي أقل من الحد الأدنى المطلوب (2.0)، مما قد يعرضك للإنذار الأكاديمي أو الفصل من الجامعة في حال عدم تحسينه.</p>
1016
+ <div class="message-links">
1017
+ <a href="#"><i class="fas fa-link"></i> بوابة الطالب</a>
1018
+ <a href="#"><i class="fas fa-link"></i> جدول الامتحانات</a>
1019
+ <a href="#"><i class="fas fa-link"></i> حجز موعد مع المرشد</a>
1020
+ </div>
1021
+ </div>
1022
+
1023
+ <div class="btn-group">
1024
+ <button class="btn btn-outline">إلغاء</button>
1025
+ <button class="btn btn-primary" id="sendMessageNowBtn">
1026
+ <i class="fas fa-paper-plane"></i>
1027
+ إرسال الرسالة الآن
1028
+ </button>
1029
+ </div>
1030
+ </div>
1031
+ </div>
1032
+
1033
+ <!-- Notification -->
1034
+ <div class="notification" id="notification">
1035
+ <i class="fas fa-check-circle"></i>
1036
+ <span>تم إرسال الرسالة بنجاح إلى الطالب</span>
1037
+ </div>
1038
+
1039
+ <script>
1040
+ // Tab functionality
1041
+ const tabs = document.querySelectorAll('.tab');
1042
+ tabs.forEach(tab => {
1043
+ tab.addEventListener('click', () => {
1044
+ // Remove active class from all tabs and contents
1045
+ document.querySelectorAll('.tab').forEach(t => t.classList.remove('active'));
1046
+ document.querySelectorAll('.tab-content').forEach(c => c.classList.remove('active'));
1047
+
1048
+ // Add active class to clicked tab and corresponding content
1049
+ tab.classList.add('active');
1050
+ const tabId = tab.getAttribute('data-tab');
1051
+ document.getElementById(tabId).classList.add('active');
1052
+ });
1053
+ });
1054
+
1055
+ // Modal functionality
1056
+ const studentModal = document.getElementById('studentModal');
1057
+ const messageModal = document.getElementById('messageModal');
1058
+ const closeModals = document.querySelectorAll('.close-modal');
1059
+ const viewDetailsButtons = document.querySelectorAll('.view-details');
1060
+ const sendMessageButtons = document.querySelectorAll('.send-message');
1061
+ const sendMessagesBtn = document.getElementById('sendMessagesBtn');
1062
+ const sendCustomMessageBtn = document.getElementById('sendCustomMessageBtn');
1063
+ const sendMessageNowBtn = document.getElementById('sendMessageNowBtn');
1064
+ const notification = document.getElementById('notification');
1065
+
1066
+ // Open student details modal
1067
+ viewDetailsButtons.forEach(button => {
1068
+ button.addEventListener('click', () => {
1069
+ studentModal.style.display = 'flex';
1070
+ });
1071
+ });
1072
+
1073
+ // Open send message modal from table
1074
+ sendMessageButtons.forEach(button => {
1075
+ button.addEventListener('click', () => {
1076
+ messageModal.style.display = 'flex';
1077
+ });
1078
+ });
1079
+
1080
+ // Open send message modal from student details
1081
+ sendCustomMessageBtn.addEventListener('click', () => {
1082
+ studentModal.style.display = 'none';
1083
+ messageModal.style.display = 'flex';
1084
+ });
1085
+
1086
+ // Send message to all students
1087
+ sendMessagesBtn.addEventListener('click', () => {
1088
+ showNotification('تم إرسال التنبيهات لجميع الطلاب المحددين');
1089
+ });
1090
+
1091
+ // Send individual message
1092
+ sendMessageNowBtn.addEventListener('click', () => {
1093
+ messageModal.style.display = 'none';
1094
+ showNotification('تم إرسال الرسالة بنجاح إلى الطالب');
1095
+ });
1096
+
1097
+ // Close modals
1098
+ closeModals.forEach(closeBtn => {
1099
+ closeBtn.addEventListener('click', () => {
1100
+ studentModal.style.display = 'none';
1101
+ messageModal.style.display = 'none';
1102
+ });
1103
+ });
1104
+
1105
+ // Close modals when clicking outside
1106
+ window.addEventListener('click', (e) => {
1107
+ if (e.target === studentModal) {
1108
+ studentModal.style.display = 'none';
1109
+ }
1110
+ if (e.target === messageModal) {
1111
+ messageModal.style.display = 'none';
1112
+ }
1113
+ });
1114
+
1115
+ // Show notification
1116
+ function showNotification(message) {
1117
+ notification.querySelector('span').textContent = message;
1118
+ notification.classList.add('show');
1119
+
1120
+ setTimeout(() => {
1121
+ notification.classList.remove('show');
1122
+ }, 3000);
1123
+ }
1124
+
1125
+ // Analyze data button
1126
+ document.getElementById('analyzeDataBtn').addEventListener('click', () => {
1127
+ // Simulate data analysis
1128
+ setTimeout(() => {
1129
+ showNotification('تم تحديث البيانات بنجاح');
1130
+ }, 1500);
1131
+ });
1132
+
1133
+ // Message type change
1134
+ document.getElementById('messageType').addEventListener('change', (e) => {
1135
+ const type = e.target.value;
1136
+ const subject = document.getElementById('messageSubject');
1137
+ const content = document.getElementById('messageContent');
1138
+
1139
+ switch(type) {
1140
+ case 'warning':
1141
+ subject.value = 'تنبيه هام بخصوص مستواك الأكاديمي';
1142
+ content.value = `عزيزي الطالب/الطالبة،
1143
+
1144
+ نود لفت انتباهك إلى أن معدلك التراكمي الحالي أقل من الحد الأدنى المطلوب (2.0)، مما قد يعرضك للإنذار الأكاديمي أو الفصل من الجامعة في حال عدم تحسينه.
1145
+
1146
+ نقترح عليك الاستفادة من الخدمات التالية لمساعدتك في تحسين مستواك:
1147
+ 1. مراجعة المرشد الأكاديمي الدكتور محمد العاصي خلال ساعات الاستقبال
1148
+ 2. حضور جلسات الدعم الأكاديمي في مركز التعلم
1149
+ 3. الاستفادة من المصادر التعليمية المتاحة على بوابة الطالب
1150
+
1151
+ يمكنك الاطلاع على موادك الدراسية من خلال الرابط التالي:
1152
+ https://portal.university.edu.sa/courses
1153
+
1154
+ ولمعرفة مواعيد الامتحانات:
1155
+ https://university.edu.sa/exams
1156
+
1157
+ نحن نثق بقدرتك على تحقيق النجاح، ولا تتردد في التواصل معنا لأي استفسار.
1158
+
1159
+ مع أطيب التمنيات،
1160
+ المرشد الأكاديمي الذكي`;
1161
+ break;
1162
+
1163
+ case 'exam':
1164
+ subject.value = 'تذكير بمواعيد الامتحانات القادمة';
1165
+ content.value = `عزيزي الطالب/الطالبة،
1166
+
1167
+ نود تذكيرك بمواعيد الامتحانات القادمة للمقررات التي سجلتها هذا الفصل. يرجى التأكد من حضورك في المواعيد المحددة والاستعداد الجيد للامتحانات.
1168
+
1169
+ يمكنك الاطلاع على جدول الامتحانات الكامل من خلال الرابط التالي:
1170
+ https://university.edu.sa/exams
1171
+
1172
+ كما نذكرك بضرورة إحضار بطاقة الطالب والالتزام بتعليمات قاعة الامتحان.
1173
+
1174
+ نتمنى لك التوفيق والنجاح،
1175
+ المرشد الأكاديمي الذكي`;
1176
+ break;
1177
+
1178
+ case 'meeting':
1179
+ subject.value = 'دعوة لمقابلة المرشد الأكاديمي';
1180
+ content.value = `عزيزي الطالب/الطالبة،
1181
+
1182
+ بناءً على متابعة مستواك الأكاديمي، نود دعوتك لمقابلة المرشد الأكاديمي الدكتور محمد العاصي لمناقشة سبل تحسين مستواك الدراسي وتذليل أي صعوبات تواجهك.
1183
+
1184
+ يمكنك حجز موعد من خلال الرابط التالي:
1185
+ https://portal.university.edu.sa/advisor
1186
+
1187
+ أو مراجعة مكتب المرشد الأكاديمي في مبنى الإدارة خلال ساعات الدوام الرسمي.
1188
+
1189
+ نأمل أن تكون هذه المقابلة فرصة لمساعدتك في تحقيق أهدافك الأكاديمية.
1190
+
1191
+ مع أطيب التمنيات،
1192
+ المرشد الأكاديمي الذكي`;
1193
+ break;
1194
+
1195
+ case 'custom':
1196
+ subject.value = '';
1197
+ content.value = '';
1198
+ break;
1199
+ }
1200
+
1201
+ // Update preview
1202
+ document.getElementById('previewSubject').textContent = subject.value;
1203
+ document.getElementById('previewContent').textContent = content.value.split('\n')[0];
1204
+ });
1205
+ </script>
1206
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <a href="https://enzostvs-deepsite.hf.space" style="color: #fff;" target="_blank" >DeepSite</a> <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;"></p></body>
1207
+ </html>