Files
wibosim/server/public/offline.html
T
db9979andClaude Opus 5.5 0c43810e42 WiBoSim als App: PWA mit Service Worker und Web Push (RFC 8291/8292)
- Service Worker (/sw.js, eigene Route mit no-cache und Service-Worker-Allowed), Offline-Seite,
  Manifest mit id, scope, start_url und Kurzbefehlen, iOS-Meta-Tags, Safe-Area im Standalone-Modus
- Web Push ohne neue Abhängigkeit: aes128gcm-Verschlüsselung und VAPID mit node:crypto,
  geprüft gegen die RFC-Testvektoren; VAPID-Schlüssel im Datenverzeichnis oder per Umgebung
- Abos je Spieler (bis 5 Geräte), Abo entfernen bei 404/410, Grenze je Stunde, Ruhezeiten,
  kein Push bei sichtbarem Tab, kurzer Inhalt mit Deep-Link; Versand über den Kanal „push“
- Einstellungen „Auf diesem Gerät“, iOS-Hinweis „Zum Home-Bildschirm“, Installationsknopf,
  App-Badge; Admin-Karte unter Betrieb; Datenschutz, Hilfe, Glossar und BETRIEB.md ergänzt
- Tests: RFC-Vektoren, Server-Modul, PWA-Auslieferung und Service Worker; lokaler Prüf-Push-Dienst

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018i4GUhQVoPUusUzxgxLWkK
2026-12-05 12:58:52 +00:00

32 lines
1.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#0b0f17">
<title>WiBoSim – Keine Verbindung</title>
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<style>
:root { color-scheme: dark light; }
html, body { margin: 0; height: 100%; }
body { display: grid; place-items: center; background: #0b0f17; color: #e6ebf5; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); box-sizing: border-box; }
main { max-width: 380px; text-align: center; }
img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
h1 { font-size: 22px; margin: 18px 0 6px; }
p { margin: 0 0 18px; color: #9aa6bd; }
a { display: inline-block; padding: 11px 20px; border-radius: 10px; background: #3b82f6; color: #fff; text-decoration: none; font-weight: 600; }
a:focus-visible { outline: 3px solid #fcd34d; outline-offset: 2px; }
@media (prefers-color-scheme: light) { body { background: #f4f6fb; color: #111827; } p { color: #4b5563; } }
</style>
</head>
<body>
<main>
<img src="/favicon.svg" alt="">
<h1>Keine Verbindung</h1>
<p>WiBoSim braucht eine Internetverbindung zur Börse. Sobald das Netz wieder da ist, geht es weiter – deine Orders und dein Depot liegen sicher auf dem Server.</p>
<a href="/">Erneut versuchen</a>
</main>
</body>
</html>