Files
Projektarbeit-MYP/backend/templates/errors/503.html

57 lines
2.5 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>503 - Service nicht verfügbar | 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-orange-600 mb-4">503</div>
<h1 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Service nicht verfügbar</h1>
<p class="text-gray-600 dark:text-gray-300">
Der Service ist vorübergehend nicht verfügbar. Wir arbeiten an der Behebung des Problems.
</p>
</div>
<div class="mb-6">
<div class="bg-orange-100 dark:bg-orange-900 border border-orange-400 text-orange-700 dark:text-orange-300 px-4 py-3 rounded">
<p class="text-sm">
<strong>Wartung:</strong> Der Service wird in Kürze wieder verfügbar sein.
</p>
</div>
</div>
<div class="space-y-4">
<button onclick="setTimeout(() => location.reload(), 5000)"
class="block w-full bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-lg transition-colors">
Automatisch neu laden (5s)
</button>
<button onclick="location.reload()"
class="block w-full bg-green-600 hover:bg-green-700 text-white font-medium py-2 px-4 rounded-lg transition-colors">
Jetzt 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>
<script>
// Automatisches Neuladen nach 30 Sekunden
setTimeout(() => {
location.reload();
}, 30000);
</script>
</body>
</html>