Unifi-Voucher-Tool/updater/templates/maintenance.html
Friederich Loheide 7fa423a74c
Some checks are pending
CI / PHP Lint (push) Waiting to run
CI / PHP Lint-1 (push) Waiting to run
CI / Unit Tests & Static Analysis (push) Waiting to run
CI / PHP Lint (pull_request) Waiting to run
CI / PHP Lint-1 (pull_request) Waiting to run
CI / Unit Tests & Static Analysis (pull_request) Waiting to run
Entwicklerhinweis "Entwickelt von Loheide.eu" ergänzen
Zentral in Ui::credit() gepflegt und dezent im Seitenfuß eingebunden:

- Admin-Bereich: unter dem Benutzerbereich in der Sidebar
- öffentliche Voucher-Seite: unter der Karte
- Anmeldung, Installer und Updater: am Ende der jeweiligen Karte
- Wartungsseite: direkt im Markup, da sie bewusst eigenständig bleibt
- README: im Kopf und in der Fußzeile

Der Hinweis ist übersetzt ("Entwickelt von" / "Developed by") und stört
das Branding der Betreiber nicht – die konfigurierbare Fußzeile der
Login-Seite bleibt unverändert.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-23 11:21:53 +00:00

96 lines
3.9 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="refresh" content="15">
<title>Wartungsmodus</title>
<!-- Bewusst vollstaendig eigenstaendig: waehrend des Updates koennen
assets/ und externe Ressourcen kurzzeitig nicht verfuegbar sein. -->
<style>
*, *::before, *::after { box-sizing: border-box; }
body {
margin: 0;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
color: #101625;
background:
radial-gradient(760px 420px at 12% -8%, #eeeefc, transparent 62%),
radial-gradient(620px 420px at 100% 6%, rgba(139,92,246,.12), transparent 64%),
#f6f7f9;
-webkit-font-smoothing: antialiased;
}
.card {
width: 100%;
max-width: 440px;
padding: 40px 34px;
text-align: center;
background: #fff;
border: 1px solid #e5e8ee;
border-radius: 20px;
box-shadow: 0 28px 60px -24px rgba(16,24,40,.28), 0 8px 24px -12px rgba(16,24,40,.12);
}
.icon {
width: 52px; height: 52px;
margin: 0 auto 22px;
display: flex; align-items: center; justify-content: center;
border-radius: 14px;
background: linear-gradient(135deg, #5b5bd6 0%, #8b5cf6 100%);
box-shadow: 0 10px 24px -10px rgba(91,91,214,.9);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
h1 { margin: 0 0 10px; font-size: 21px; font-weight: 650; letter-spacing: -0.02em; }
p { margin: 0; color: #525c6e; font-size: 14px; line-height: 1.6; }
.bar {
position: relative;
height: 4px;
margin: 26px 0 16px;
border-radius: 999px;
background: #eef0f4;
overflow: hidden;
}
.bar::after {
content: '';
position: absolute; top: 0; left: 0;
width: 38%; height: 100%;
border-radius: 999px;
background: linear-gradient(90deg, #5b5bd6, #8b5cf6);
animation: slide 1.6s ease-in-out infinite;
}
@keyframes slide {
0% { transform: translateX(-100%); }
100% { transform: translateX(300%); }
}
.hint { font-size: 12.5px; color: #8a93a3; }
@media (prefers-reduced-motion: reduce) {
.bar::after { animation: none; width: 45%; }
}
@media (prefers-color-scheme: dark) {
body { color: #e9ecf3; background: radial-gradient(760px 420px at 12% -8%, #1a1c30, transparent 62%), #0a0c11; }
.card { background: #12151d; border-color: #232838; }
p { color: #a2abbd; }
.bar { background: #1a1f2b; }
.hint { color: #6f7889; }
}
</style>
</head>
<body>
<div class="card">
<div class="icon">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M14.7 6.3a4 4 0 0 1 5.3 5.3l-8 8a2.8 2.8 0 0 1-4-4l8-8"/>
<path d="M4 20l2-6"/>
</svg>
</div>
<h1>Kurz mal Wartung</h1>
<p>Es wird gerade ein Update eingespielt. Die Seite ist in wenigen Augenblicken wieder erreichbar.</p>
<div class="bar"></div>
<p class="hint">Diese Seite aktualisiert sich automatisch.</p>
<p class="hint" style="margin-top:10px;">Entwickelt von <a href="https://loheide.eu" style="color:inherit;">Loheide.eu</a></p>
</div>
</body>
</html>