vsmdvic commited on
Commit
c760203
·
verified ·
1 Parent(s): b82f111

Delete static/404.html

Browse files
Files changed (1) hide show
  1. static/404.html +0 -65
static/404.html DELETED
@@ -1,65 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="ro">
3
- <head>
4
- <link rel="icon" type="image/svg+xml" href="favicon.svg">
5
- <meta charset="UTF-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
7
- <title>SGE | 404</title>
8
- <link rel="stylesheet" href="style.css">
9
- </head>
10
- <body>
11
- <div class="page-404">
12
-
13
- <div id="maintenance-banner" style="display:none;margin-bottom:32px;padding:14px 22px;border:1px solid rgba(255,200,60,0.3);background:rgba(40,30,5,0.6);font-size:10px;letter-spacing:2px;color:rgba(255,200,60,0.85);text-align:center;">
14
- SERVER ÎN MENTENANȚĂ &nbsp;·&nbsp; REVENIRE ÎN ~15 MINUTE
15
- </div>
16
-
17
- <img src="logo.svg" style="width:36px;height:36px;opacity:0.2;margin-bottom:20px;">
18
-
19
- <div class="e-code">404</div>
20
- <div class="e-title">Pagină negăsită</div>
21
- <div class="e-sub">
22
- Pagina cerută nu există sau accesul a fost restricționat.<br>
23
- Verifică URL-ul și încearcă din nou.
24
- </div>
25
-
26
- <div class="e-db">
27
- <div><span class="db-ok">✓</span>&nbsp; Firebase Firestore — ACTIV</div>
28
- <div><span class="db-ok">✓</span>&nbsp; Cloudinary Storage — ACTIV</div>
29
- <div id="db-server-line"><span class="db-ok">✓</span>&nbsp; Server Flask — ACTIV</div>
30
- </div>
31
-
32
- <div style="margin-top:32px;" id="login-btn-wrap">
33
- <a href="index.html" class="btn-primary" style="text-decoration:none;display:inline-block;padding:13px 28px;letter-spacing:3px;">
34
- ← ÎNAPOI LA LOGIN
35
- </a>
36
- </div>
37
-
38
- </div>
39
-
40
- <script>
41
- // Maintenance mode
42
- const isMaintenance = localStorage.getItem('sge_maintenance') === '1';
43
- const isAdmin = sessionStorage.getItem('vs_role') === 'admin';
44
-
45
- if (isMaintenance) {
46
- document.getElementById('maintenance-banner').style.display = 'block';
47
- if (isAdmin) {
48
- // Admin vede buton de ieșire din mentenanță
49
- document.getElementById('login-btn-wrap').innerHTML = `
50
- <a href="admin-dashboard.html" class="btn-primary" style="text-decoration:none;display:inline-block;padding:13px 28px;letter-spacing:3px;margin-right:10px;">
51
- ADMIN PANEL →
52
- </a>`;
53
- }
54
- }
55
-
56
- // Ping server
57
- fetch('/drive/test')
58
- .then(r => r.ok ? null : Promise.reject())
59
- .catch(() => {
60
- const line = document.getElementById('db-server-line');
61
- if (line) line.innerHTML = '<span class="db-err">✕</span>&nbsp; Server Flask — INACTIV';
62
- });
63
- </script>
64
- </body>
65
- </html>