45 lines
2.1 KiB
HTML
45 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>502 - Gateway-Fehler | MYP System</title>
|
|
<link href="{{ url_for('static', filename='css/tailwind.min.css') }}" rel="stylesheet">
|
|
<link href="{{ url_for('static', filename='css/glassmorphism.min.css') }}" rel="stylesheet">
|
|
</head>
|
|
<body class="bg-gradient-to-br from-blue-50 to-indigo-100 dark:from-gray-900 dark:to-gray-800 min-h-screen flex items-center justify-center">
|
|
<div class="glass-card max-w-md w-full mx-4 p-8 text-center">
|
|
<div class="mb-6">
|
|
<div class="text-6xl font-bold text-red-600 mb-4">502</div>
|
|
<h1 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Gateway-Fehler</h1>
|
|
<p class="text-gray-600 dark:text-gray-300">
|
|
Der Server ist vorübergehend nicht verfügbar. Bitte versuchen Sie es in wenigen Minuten erneut.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="mb-6">
|
|
<div class="bg-red-100 dark:bg-red-900 border border-red-400 text-red-700 dark:text-red-300 px-4 py-3 rounded">
|
|
<p class="text-sm">
|
|
<strong>Hinweis:</strong> Dies ist ein temporärer Fehler. Der Service wird automatisch wiederhergestellt.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="space-y-4">
|
|
<button onclick="location.reload()"
|
|
class="block w-full bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-lg transition-colors">
|
|
Seite neu laden
|
|
</button>
|
|
|
|
<a href="{{ url_for('dashboard') if current_user.is_authenticated else url_for('auth.login') }}"
|
|
class="block w-full bg-gray-500 hover:bg-gray-600 text-white font-medium py-2 px-4 rounded-lg transition-colors">
|
|
{% if current_user.is_authenticated %}
|
|
Zum Dashboard
|
|
{% else %}
|
|
Zur Anmeldung
|
|
{% endif %}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |