stat2025 commited on
Commit
7662fa0
·
verified ·
1 Parent(s): 8c4683e

Delete index.html

Browse files
Files changed (1) hide show
  1. index.html +0 -369
index.html DELETED
@@ -1,369 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="ar" dir="rtl">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <title>استعلام رقم الجلوس</title>
6
- <meta name="viewport" content="width=device-width, initial-scale=1" />
7
-
8
- <!-- خط جميل -->
9
- <link href="https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap" rel="stylesheet" />
10
-
11
- <style>
12
- :root {
13
- --primary: #2563eb;
14
- --primary-dark: #1d4ed8;
15
- --accent: #fbbf24;
16
- --bg-dark: #020617;
17
- --text-main: #0f172a;
18
- --text-muted: #64748b;
19
- --radius-lg: 26px;
20
- --radius-md: 16px;
21
- }
22
- * {
23
- box-sizing: border-box;
24
- font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
25
- }
26
- body {
27
- margin: 0;
28
- min-height: 100vh;
29
- display: flex;
30
- align-items: center;
31
- justify-content: center;
32
- padding: 18px;
33
- background:
34
- radial-gradient(circle at top left, #1d4ed8 0, transparent 52%),
35
- radial-gradient(circle at bottom right, #0f766e 0, transparent 55%),
36
- linear-gradient(135deg, #020617, #020617);
37
- color: var(--text-main);
38
- }
39
- /* خلفية دوائر ناعمة */
40
- .background-bubbles::before,
41
- .background-bubbles::after {
42
- content: "";
43
- position: fixed;
44
- border-radius: 999px;
45
- filter: blur(40px);
46
- opacity: 0.4;
47
- z-index: -1;
48
- }
49
- .background-bubbles::before {
50
- width: 240px;
51
- height: 240px;
52
- background: #60a5fa;
53
- inset-inline-start: -40px;
54
- top: -60px;
55
- }
56
- .background-bubbles::after {
57
- width: 260px;
58
- height: 260px;
59
- background: #22c55e;
60
- inset-inline-end: -50px;
61
- bottom: -80px;
62
- }
63
- .card {
64
- width: 100%;
65
- max-width: 480px;
66
- border-radius: var(--radius-lg);
67
- padding: 26px 24px 20px;
68
- position: relative;
69
- background: rgba(248, 250, 252, 0.89);
70
- box-shadow:
71
- 0 20px 50px rgba(15, 23, 42, 0.55),
72
- 0 0 0 1px rgba(148, 163, 184, 0.2);
73
- backdrop-filter: blur(20px);
74
- -webkit-backdrop-filter: blur(20px);
75
- animation: floatIn 0.6s ease-out;
76
- }
77
- @keyframes floatIn {
78
- from {
79
- opacity: 0;
80
- transform: translateY(14px) scale(0.98);
81
- }
82
- to {
83
- opacity: 1;
84
- transform: translateY(0) scale(1);
85
- }
86
- }
87
- .card::before {
88
- content: "";
89
- position: absolute;
90
- inset-inline: 16px;
91
- top: 10px;
92
- height: 4px;
93
- border-radius: 999px;
94
- background: linear-gradient(90deg, #22c55e, #2563eb, #fbbf24);
95
- opacity: 0.9;
96
- }
97
- .header {
98
- margin-top: 12px;
99
- display: flex;
100
- align-items: center;
101
- gap: 14px;
102
- }
103
- .logo-badge {
104
- width: 54px;
105
- height: 54px;
106
- border-radius: 22px;
107
- background: radial-gradient(circle at 30% 20%, #ffffff 0, #bfdbfe 40%, #1d4ed8 100%);
108
- display: flex;
109
- align-items: center;
110
- justify-content: center;
111
- font-size: 26px;
112
- box-shadow: 0 10px 25px rgba(37, 99, 235, 0.55);
113
- color: #0b1120;
114
- }
115
- .header-text h1 {
116
- margin: 0;
117
- font-size: 1.45rem;
118
- color: var(--primary-dark);
119
- }
120
- .header-text p {
121
- margin: 4px 0 0;
122
- font-size: 0.9rem;
123
- color: var(--text-muted);
124
- }
125
- .form-section {
126
- margin-top: 22px;
127
- }
128
- label {
129
- display: block;
130
- font-size: 0.9rem;
131
- font-weight: 600;
132
- color: #111827;
133
- margin-bottom: 8px;
134
- }
135
- .input-shell {
136
- position: relative;
137
- }
138
- .input-shell span.icon {
139
- position: absolute;
140
- inset-inline-start: 12px;
141
- top: 50%;
142
- transform: translateY(-50%);
143
- font-size: 1.1rem;
144
- color: #6b7280;
145
- pointer-events: none;
146
- }
147
- input[type="text"] {
148
- width: 100%;
149
- padding: 11px 14px;
150
- padding-inline-start: 40px;
151
- border-radius: var(--radius-md);
152
- border: 1.5px solid #cbd5e1;
153
- font-size: 1rem;
154
- background: #f9fafb;
155
- transition: border-color 0.2s, box-shadow 0.2s, transform 0.12s, background 0.2s;
156
- }
157
- input[type="text"]::placeholder {
158
- color: #9ca3af;
159
- }
160
- input[type="text"]:focus {
161
- outline: none;
162
- border-color: var(--primary);
163
- box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
164
- transform: translateY(-1px);
165
- background: #ffffff;
166
- }
167
- .hint {
168
- margin-top: 6px;
169
- font-size: 0.8rem;
170
- color: var(--text-muted);
171
- }
172
- .result-wrapper {
173
- margin-top: 20px;
174
- }
175
- .result-card {
176
- border-radius: var(--radius-md);
177
- padding: 14px 14px 12px;
178
- border: 1px solid #e2e8f0;
179
- background: #f8fafc;
180
- min-height: 64px;
181
- transition: background 0.25s, border-color 0.25s, transform 0.12s;
182
- }
183
- .result-header {
184
- display: flex;
185
- align-items: center;
186
- justify-content: space-between;
187
- gap: 12px;
188
- margin-bottom: 6px;
189
- }
190
- .result-title {
191
- display: flex;
192
- align-items: center;
193
- gap: 8px;
194
- font-size: 0.9rem;
195
- color: #475569;
196
- font-weight: 600;
197
- }
198
- .status-dot {
199
- width: 9px;
200
- height: 9px;
201
- border-radius: 999px;
202
- background: #9ca3af;
203
- }
204
- .result-badge {
205
- padding: 3px 10px;
206
- border-radius: 999px;
207
- font-size: 0.75rem;
208
- font-weight: 600;
209
- background: #e5e7eb;
210
- color: #374151;
211
- }
212
- .result-grid {
213
- display: grid;
214
- grid-template-columns: 1fr 1fr;
215
- gap: 6px 16px;
216
- font-size: 0.93rem;
217
- }
218
- .result-label {
219
- color: #6b7280;
220
- font-weight: 500;
221
- }
222
- .result-value {
223
- color: #111827;
224
- font-weight: 700;
225
- }
226
- .text-muted-small {
227
- font-size: 0.88rem;
228
- color: var(--text-muted);
229
- }
230
- .not-found {
231
- color: #b91c1c;
232
- font-weight: 700;
233
- }
234
- .motivation {
235
- margin-top: 18px;
236
- font-size: 0.86rem;
237
- padding: 8px 12px;
238
- border-radius: 999px;
239
- background: rgba(254, 243, 199, 0.96);
240
- border: 1px solid #facc15;
241
- color: #92400e;
242
- display: flex;
243
- align-items: center;
244
- justify-content: center;
245
- gap: 8px;
246
- }
247
- .motivation .icon {
248
- font-size: 1rem;
249
- }
250
- @media (max-width: 480px) {
251
- .card {
252
- padding: 22px 18px 17px;
253
- }
254
- .header-text h1 {
255
- font-size: 1.25rem;
256
- }
257
- }
258
- </style>
259
- </head>
260
- <body>
261
- <div class="background-bubbles"></div>
262
-
263
- <div class="card">
264
- <div class="header">
265
- <div class="logo-badge">📋</div>
266
- <div class="header-text">
267
- <h1>استعلام رقم الجلوس</h1>
268
- <p>اكتب اسم الطالب ليظهر رقم جلوسه فورًا وبشكل أنيق</p>
269
- </div>
270
- </div>
271
-
272
- <div class="form-section">
273
- <label for="studentName">اسم الطالب</label>
274
- <div class="input-shell">
275
- <span class="icon">👤</span>
276
- <input
277
- id="studentName"
278
- type="text"
279
- placeholder="مثال: احمد"
280
- />
281
- </div>
282
- <div class="hint">
283
- أدخل الاسم كما هو في الكشوف (مثل: احمد، خالد، سعد) وستظهر النتيجة مباشرة أسفل المربع.
284
- </div>
285
- </div>
286
-
287
- <div class="result-wrapper">
288
- <div id="resultCard" class="result-card">
289
- <div id="resultContent" class="text-muted-small">
290
- اكتب الاسم في الأعلى لعرض بيانات الطالب…
291
- </div>
292
- </div>
293
- </div>
294
-
295
- <div class="motivation">
296
- <span class="icon">✨</span>
297
- <span>نجاحك يبدأ من تنظيمك… نتمنى التوفيق والتميّز لكل طالب وطالبة 🌟</span>
298
- </div>
299
- </div>
300
-
301
- <script>
302
- // قاعدة البيانات البسيطة (يمكنك التعديل والإضافة هنا)
303
- const students = {
304
- "احمد": 1,
305
- "أحمد": 1, // دعم الهمزة
306
- "خالد": 2,
307
- "سعد": 3
308
- };
309
- const input = document.getElementById("studentName");
310
- const resultCard = document.getElementById("resultCard");
311
- const resultContent = document.getElementById("resultContent");
312
- function renderEmpty() {
313
- resultCard.style.background = "#f8fafc";
314
- resultCard.style.borderColor = "#e2e8f0";
315
- resultCard.style.transform = "translateY(0)";
316
- resultContent.className = "text-muted-small";
317
- resultContent.innerHTML = "اكتب الاسم في الأعلى لعرض بيانات الطالب…";
318
- }
319
- function updateResult() {
320
- const name = input.value.trim();
321
- if (!name) {
322
- renderEmpty();
323
- return;
324
- }
325
- const seat = students[name];
326
- if (seat !== undefined) {
327
- resultCard.style.background = "#ecfdf5";
328
- resultCard.style.borderColor = "#4ade80";
329
- resultCard.style.transform = "translateY(-1px)";
330
- resultContent.className = "";
331
- resultContent.innerHTML = `
332
- <div class="result-header">
333
- <div class="result-title">
334
- <span class="status-dot" style="background:#22c55e;"></span>
335
- <span>تم العثور على بيانات الطالب</span>
336
- </div>
337
- <div class="result-badge">سجل مُطابق</div>
338
- </div>
339
- <div class="result-grid">
340
- <div class="result-label">اسم الطالب</div>
341
- <div class="result-value">${name}</div>
342
- <div class="result-label">رقم الجلوس</div>
343
- <div class="result-value">${seat}</div>
344
- </div>
345
- `;
346
- } else {
347
- resultCard.style.background = "#fef2f2";
348
- resultCard.style.borderColor = "#fecaca";
349
- resultCard.style.transform = "translateY(-1px)";
350
- resultContent.className = "";
351
- resultContent.innerHTML = `
352
- <div class="result-header">
353
- <div class="result-title">
354
- <span class="status-dot" style="background:#ef4444;"></span>
355
- <span class="not-found">لم يتم العثور على الاسم</span>
356
- </div>
357
- <div class="result-badge" style="background:#fee2e2;color:#991b1b;">تحقق من الإملاء</div>
358
- </div>
359
- <div class="text-muted-small" style="margin-top:4px;">
360
- تأكد من كتابة الاسم كما هو مسجّل في كشف الأسماء، بدون زيادات أو رموز.
361
- </div>
362
- `;
363
- }
364
- }
365
- input.addEventListener("input", updateResult);
366
- input.addEventListener("change", updateResult);
367
- </script>
368
- </body>
369
- </html>