forked from muratyucedag/Doccure
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path403Forbidden.txt
More file actions
653 lines (614 loc) · 20.3 KB
/
Copy path403Forbidden.txt
File metadata and controls
653 lines (614 loc) · 20.3 KB
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>401 — Erişim Yetkisi Yok | HastaneSis</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Sora:wght@400;600;700&display=swap" rel="stylesheet" />
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--bg-deep: #dde9f4;
--bg-mid: #eaf3fb;
--cyan-main: #0ea5c4;
--cyan-light: #e0f4f9;
--cyan-dark: #0c7fa0;
--blue-main: #2563a8;
--blue-soft: #e8f0fb;
--gray-muted: #6b7a8d;
--gray-label: #94a3b2;
--white: #ffffff;
--red-accent: #e53e3e;
--red-soft: #fff0f0;
--text-head: #0f1f3a;
--text-body: #344054;
--glass-bg: rgba(255,255,255,0.72);
--glass-border: rgba(255,255,255,0.90);
--shadow-card: 0 24px 64px rgba(14,60,110,0.13), 0 4px 16px rgba(14,60,110,0.07);
}
html, body {
min-height: 100vh;
font-family: 'DM Sans', sans-serif;
}
body {
background: linear-gradient(135deg, #c9dff5 0%, #d8ecf8 40%, #e3f2fb 70%, #cde4f4 100%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem 1rem;
position: relative;
overflow-x: hidden;
}
/* ── Animated background orbs ── */
.orb {
position: fixed;
border-radius: 50%;
filter: blur(70px);
pointer-events: none;
z-index: 0;
animation: orbFloat 12s ease-in-out infinite alternate;
}
.orb-1 {
width: 520px; height: 520px;
background: radial-gradient(circle, rgba(14,165,196,0.22) 0%, rgba(37,99,168,0.10) 70%);
top: -140px; left: -160px;
animation-duration: 14s;
}
.orb-2 {
width: 400px; height: 400px;
background: radial-gradient(circle, rgba(37,99,168,0.18) 0%, rgba(14,165,196,0.06) 70%);
bottom: -100px; right: -120px;
animation-duration: 18s; animation-delay: -6s;
}
.orb-3 {
width: 280px; height: 280px;
background: radial-gradient(circle, rgba(229,62,62,0.09) 0%, transparent 70%);
top: 30%; right: 8%;
animation-duration: 22s; animation-delay: -3s;
}
@keyframes orbFloat {
0% { transform: translate(0, 0) scale(1); }
50% { transform: translate(30px, -40px) scale(1.06); }
100% { transform: translate(-20px, 20px) scale(0.96); }
}
/* ── Medical cross pattern overlay ── */
body::before {
content: '';
position: fixed;
inset: 0;
background-image:
radial-gradient(circle at 1px 1px, rgba(14,165,196,0.08) 1px, transparent 0);
background-size: 36px 36px;
pointer-events: none;
z-index: 0;
}
/* ── Top bar ── */
.topbar {
position: fixed;
top: 0; left: 0; right: 0;
height: 56px;
background: rgba(255,255,255,0.82);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid rgba(14,165,196,0.15);
display: flex;
align-items: center;
padding: 0 2rem;
z-index: 100;
box-shadow: 0 2px 12px rgba(14,60,110,0.06);
}
.topbar-logo {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
}
.topbar-icon {
width: 34px; height: 34px;
background: linear-gradient(135deg, var(--cyan-main), var(--blue-main));
border-radius: 9px;
display: flex; align-items: center; justify-content: center;
}
.topbar-icon svg { width: 18px; height: 18px; fill: white; }
.topbar-name {
font-family: 'Sora', sans-serif;
font-weight: 700;
font-size: 15px;
color: var(--text-head);
letter-spacing: -0.3px;
}
.topbar-name span { color: var(--cyan-main); }
.topbar-badge {
margin-left: 10px;
background: var(--cyan-light);
color: var(--cyan-dark);
font-size: 10px;
font-weight: 600;
letter-spacing: 0.6px;
padding: 2px 8px;
border-radius: 20px;
text-transform: uppercase;
}
.topbar-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: var(--gray-muted);
}
.topbar-dot {
width: 8px; height: 8px;
background: var(--red-accent);
border-radius: 50%;
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.6; transform: scale(0.8); }
}
/* ── Main card ── */
.error-card {
position: relative;
z-index: 10;
margin-top: 56px;
width: 100%;
max-width: 580px;
background: var(--glass-bg);
backdrop-filter: blur(28px);
-webkit-backdrop-filter: blur(28px);
border: 1.5px solid var(--glass-border);
border-radius: 28px;
box-shadow: var(--shadow-card);
padding: 3rem 2.5rem 2.8rem;
animation: cardIn 0.8s cubic-bezier(0.34,1.12,0.64,1) both;
}
@keyframes cardIn {
from { opacity: 0; transform: translateY(36px) scale(0.96); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
/* ── Status pill ── */
.status-pill {
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--red-soft);
border: 1px solid rgba(229,62,62,0.2);
color: var(--red-accent);
font-size: 11.5px;
font-weight: 600;
letter-spacing: 0.8px;
text-transform: uppercase;
padding: 5px 14px;
border-radius: 30px;
margin-bottom: 2rem;
animation: fadeSlideDown 0.5s 0.3s both;
}
.status-pill-dot {
width: 6px; height: 6px;
background: var(--red-accent);
border-radius: 50%;
animation: pulse 1.8s ease-in-out infinite;
}
/* ── Lock icon container ── */
.lock-wrap {
position: relative;
width: 110px; height: 110px;
margin: 0 auto 2.2rem;
animation: fadeSlideDown 0.6s 0.2s both;
}
.lock-ring {
position: absolute;
inset: 0;
border-radius: 50%;
background: linear-gradient(135deg, rgba(14,165,196,0.12), rgba(37,99,168,0.08));
border: 2px solid rgba(14,165,196,0.18);
animation: ringPulse 3s ease-in-out infinite;
}
.lock-ring-2 {
position: absolute;
inset: -12px;
border-radius: 50%;
border: 1.5px dashed rgba(14,165,196,0.14);
animation: ringRotate 18s linear infinite;
}
@keyframes ringPulse {
0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14,165,196,0.15); }
50% { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(14,165,196,0); }
}
@keyframes ringRotate { to { transform: rotate(360deg); } }
.lock-inner {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(145deg, #ffffff, #eef6fc);
border-radius: 50%;
box-shadow: 0 8px 24px rgba(14,60,110,0.12), inset 0 1px 2px rgba(255,255,255,0.9);
}
.lock-icon {
animation: lockFloat 3.5s ease-in-out infinite;
}
@keyframes lockFloat {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
}
/* ── Error code ── */
.error-code {
font-family: 'Sora', sans-serif;
font-size: 13px;
font-weight: 600;
color: var(--cyan-main);
letter-spacing: 2px;
text-transform: uppercase;
margin-bottom: 0.6rem;
animation: fadeSlideDown 0.5s 0.35s both;
}
/* ── Headings ── */
.error-title {
font-family: 'Sora', sans-serif;
font-size: clamp(1.3rem, 4vw, 1.75rem);
font-weight: 700;
color: var(--text-head);
line-height: 1.25;
margin-bottom: 0.8rem;
letter-spacing: -0.5px;
animation: fadeSlideDown 0.5s 0.4s both;
}
.error-subtitle {
font-size: 15px;
font-weight: 500;
color: var(--blue-main);
margin-bottom: 0.6rem;
animation: fadeSlideDown 0.5s 0.45s both;
}
.error-desc {
font-size: 14px;
color: var(--gray-muted);
line-height: 1.65;
margin-bottom: 2.2rem;
animation: fadeSlideDown 0.5s 0.5s both;
}
/* ── Divider ── */
.card-divider {
height: 1px;
background: linear-gradient(90deg, transparent, rgba(14,165,196,0.25), transparent);
margin-bottom: 2rem;
animation: fadeSlideDown 0.5s 0.52s both;
}
/* ── Info strip ── */
.info-strip {
display: flex;
align-items: flex-start;
gap: 12px;
background: linear-gradient(135deg, rgba(14,165,196,0.06), rgba(37,99,168,0.04));
border: 1px solid rgba(14,165,196,0.15);
border-radius: 14px;
padding: 14px 16px;
margin-bottom: 2rem;
animation: fadeSlideDown 0.5s 0.55s both;
}
.info-strip-icon {
flex-shrink: 0;
width: 34px; height: 34px;
background: var(--cyan-light);
border-radius: 9px;
display: flex; align-items: center; justify-content: center;
}
.info-strip-text {
font-size: 13px;
color: var(--text-body);
line-height: 1.55;
}
.info-strip-text strong {
display: block;
font-weight: 600;
color: var(--cyan-dark);
margin-bottom: 2px;
font-size: 12.5px;
}
/* ── Buttons ── */
.btn-group-custom {
display: flex;
gap: 12px;
animation: fadeSlideDown 0.5s 0.6s both;
}
.btn-primary-custom {
flex: 1;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
background: linear-gradient(135deg, var(--cyan-main), var(--blue-main));
color: white;
font-family: 'DM Sans', sans-serif;
font-size: 14px;
font-weight: 600;
padding: 13px 20px;
border: none;
border-radius: 13px;
cursor: pointer;
text-decoration: none;
transition: all 0.22s ease;
box-shadow: 0 4px 14px rgba(14,165,196,0.30);
letter-spacing: -0.1px;
}
.btn-primary-custom:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(14,165,196,0.38);
color: white;
}
.btn-primary-custom:active { transform: translateY(0); }
.btn-secondary-custom {
flex: 1;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
background: rgba(255,255,255,0.80);
color: var(--blue-main);
font-family: 'DM Sans', sans-serif;
font-size: 14px;
font-weight: 600;
padding: 13px 20px;
border: 1.5px solid rgba(37,99,168,0.18);
border-radius: 13px;
cursor: pointer;
text-decoration: none;
transition: all 0.22s ease;
letter-spacing: -0.1px;
}
.btn-secondary-custom:hover {
background: var(--blue-soft);
border-color: rgba(37,99,168,0.30);
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(37,99,168,0.10);
color: var(--blue-main);
}
.btn-secondary-custom:active { transform: translateY(0); }
/* ── Footer note ── */
.footer-note {
margin-top: 1.8rem;
font-size: 12px;
color: var(--gray-label);
text-align: center;
animation: fadeSlideDown 0.5s 0.7s both;
}
.footer-note a {
color: var(--cyan-dark);
font-weight: 500;
text-decoration: none;
}
.footer-note a:hover { text-decoration: underline; }
/* ── Bottom system bar ── */
.system-bar {
position: fixed;
bottom: 0; left: 0; right: 0;
height: 44px;
background: rgba(255,255,255,0.75);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-top: 1px solid rgba(14,165,196,0.12);
display: flex;
align-items: center;
justify-content: center;
gap: 24px;
z-index: 100;
}
.sys-item {
font-size: 11.5px;
color: var(--gray-label);
display: flex;
align-items: center;
gap: 5px;
}
.sys-dot {
width: 6px; height: 6px;
border-radius: 50%;
}
.sys-dot.green { background: #22c55e; }
.sys-dot.yellow { background: #f59e0b; }
@keyframes fadeSlideDown {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
/* ── Responsive ── */
@media (max-width: 540px) {
.error-card { padding: 2rem 1.4rem 2rem; border-radius: 20px; }
.btn-group-custom { flex-direction: column; }
.topbar-badge { display: none; }
.system-bar .sys-item:last-child { display: none; }
}
</style>
</head>
<body>
<!-- Animated background orbs -->
<div class="orb orb-1"></div>
<div class="orb orb-2"></div>
<div class="orb orb-3"></div>
<!-- Top navigation bar -->
<header class="topbar">
<a href="#" class="topbar-logo">
<div class="topbar-icon">
<!-- Medical cross SVG -->
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M9 3h6v6h6v6h-6v6H9v-6H3V9h6z"/>
</svg>
</div>
<span class="topbar-name">Hastane<span>Sis</span></span>
<span class="topbar-badge">v4.2</span>
</a>
<div class="topbar-right">
<div class="topbar-dot"></div>
<span>Erişim Kısıtlandı</span>
</div>
</header>
<!-- Main content card -->
<main class="error-card text-center">
<!-- Status pill -->
<div class="d-flex justify-content-center">
<div class="status-pill">
<div class="status-pill-dot"></div>
Hata 401 — Yetkisiz Erişim
</div>
</div>
<!-- Animated lock icon -->
<div class="lock-wrap">
<div class="lock-ring-2"></div>
<div class="lock-ring"></div>
<div class="lock-inner">
<div class="lock-icon">
<svg width="46" height="46" viewBox="0 0 46 46" fill="none" xmlns="http://www.w3.org/2000/svg">
<!-- Lock body -->
<rect x="8" y="21" width="30" height="21" rx="5" fill="url(#lockGrad)" />
<!-- Lock shackle -->
<path d="M14 21v-7a9 9 0 0 1 18 0v7" stroke="url(#shackleGrad)" stroke-width="3.2" stroke-linecap="round" fill="none"/>
<!-- Keyhole circle -->
<circle cx="23" cy="31" r="3.5" fill="white" fill-opacity="0.9"/>
<!-- Keyhole stem -->
<rect x="21.5" y="31" width="3" height="5" rx="1.5" fill="white" fill-opacity="0.9"/>
<!-- Shine -->
<rect x="10" y="23" width="10" height="3" rx="1.5" fill="white" fill-opacity="0.12"/>
<defs>
<linearGradient id="lockGrad" x1="8" y1="21" x2="38" y2="42" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#0ea5c4"/>
<stop offset="100%" stop-color="#2563a8"/>
</linearGradient>
<linearGradient id="shackleGrad" x1="14" y1="7" x2="32" y2="21" gradientUnits="userSpaceOnUse">
<stop offset="0%" stop-color="#0ea5c4"/>
<stop offset="100%" stop-color="#2563a8"/>
</linearGradient>
</defs>
</svg>
</div>
</div>
</div>
<!-- Error code label -->
<p class="error-code">HTTP 401 · Forbidden Access</p>
<!-- Main heading -->
<h1 class="error-title">
Bu Sayfaya Erişim Yetkiniz<br>Bulunmuyor
</h1>
<!-- Subtitle -->
<p class="error-subtitle">
Bu alan yalnızca yetkili kullanıcılar tarafından görüntülenebilir.
</p>
<!-- Description -->
<p class="error-desc">
Lütfen hesabınızın yetkilerini kontrol edin veya sistem yöneticisi ile iletişime geçin.
</p>
<!-- Visual divider -->
<div class="card-divider"></div>
<!-- Info strip -->
<div class="info-strip text-start">
<div class="info-strip-icon">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#0ea5c4" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10"/>
<line x1="12" y1="8" x2="12" y2="12"/>
<line x1="12" y1="16" x2="12.01" y2="16"/>
</svg>
</div>
<div class="info-strip-text">
<strong>Neden Bu Ekranı Görüyorum?</strong>
Hesabınızın mevcut rolü bu modüle erişim için gerekli izne sahip değil. Yöneticinize başvurarak erişim talebinde bulunabilirsiniz.
</div>
</div>
<!-- Action buttons -->
<div class="btn-group-custom">
<a href="/login" class="btn-primary-custom">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
<path d="M15 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8"/>
<polyline points="10 17 15 12 10 7"/>
<line x1="15" y1="12" x2="3" y2="12"/>
</svg>
Giriş Sayfasına Dön
</a>
<a href="/dashboard" class="btn-secondary-custom">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
<polyline points="9 22 9 12 15 12 15 22"/>
</svg>
Ana Sayfaya Git
</a>
</div>
<!-- Footer note -->
<p class="footer-note">
Sorun yaşamaya devam ediyorsanız,
<a href="mailto:destek@hastanesis.com">destek@hastanesis.com</a>
adresine yazabilirsiniz.
</p>
</main>
<!-- Bottom system status bar -->
<div class="system-bar">
<div class="sys-item">
<div class="sys-dot green"></div>
Sistem Aktif
</div>
<div class="sys-item">
<div class="sys-dot yellow"></div>
Güvenlik Denetimi: Açık
</div>
<div class="sys-item">
HastaneSis © 2025 — Tüm hakları saklıdır
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script>
// Inject session info timestamp into system bar
(function () {
const now = new Date();
const fmt = now.toLocaleString('tr-TR', {
day: '2-digit', month: '2-digit', year: 'numeric',
hour: '2-digit', minute: '2-digit'
});
const bar = document.querySelector('.system-bar');
if (bar) {
const ts = document.createElement('div');
ts.className = 'sys-item';
ts.innerHTML = `<svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="#94a3b2" stroke-width="2.2"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg> ${fmt}`;
bar.appendChild(ts);
}
})();
// Subtle parallax on orbs with mouse
document.addEventListener('mousemove', function (e) {
const cx = window.innerWidth / 2;
const cy = window.innerHeight / 2;
const dx = (e.clientX - cx) / cx;
const dy = (e.clientY - cy) / cy;
document.querySelector('.orb-1').style.transform =
`translate(${dx * 18}px, ${dy * 14}px)`;
document.querySelector('.orb-2').style.transform =
`translate(${-dx * 14}px, ${-dy * 10}px)`;
});
// Button ripple
document.querySelectorAll('.btn-primary-custom, .btn-secondary-custom').forEach(btn => {
btn.addEventListener('click', function (e) {
e.preventDefault();
const ripple = document.createElement('span');
const rect = btn.getBoundingClientRect();
const size = Math.max(rect.width, rect.height);
ripple.style.cssText = `
position:absolute; border-radius:50%;
width:${size}px; height:${size}px;
left:${e.clientX - rect.left - size/2}px;
top:${e.clientY - rect.top - size/2}px;
background:rgba(255,255,255,0.28);
transform:scale(0); animation:ripple 0.5s linear;
pointer-events:none;
`;
btn.style.position = 'relative';
btn.style.overflow = 'hidden';
btn.appendChild(ripple);
setTimeout(() => ripple.remove(), 520);
});
});
const style = document.createElement('style');
style.textContent = `@keyframes ripple { to { transform: scale(2.5); opacity: 0; } }`;
document.head.appendChild(style);
</script>
</body>
</html>