AstraOS-Panel/AstraOS/Frontend/HTML/maintenance.html
2025-12-09 00:29:22 +01:00

59 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AstraOS — Wartung</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
<style>
body {
background: radial-gradient(circle at top, #1b1b26, #0a0a0f 70%);
}
</style>
</head>
<body class="text-white">
<div class="min-h-screen flex flex-col items-center justify-center text-center px-4">
<div id="star" class="w-16 h-16 relative mb-6">
<div class="absolute inset-0 rounded-full blur-2xl opacity-70" style="background: rgba(243, 156, 18, 0.7)"></div>
<svg class="relative z-10" viewBox="0 0 24 24" fill="none" stroke="#f39c12" stroke-width="1.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M11.42 15.17L17.25 21A2.652 2.652 0 0021 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.73-.664 1.203-.832l3.528-1.604a2.652 2.652 0 10-3.528-3.528l-1.604 3.528c-.168.473-.448.886-.832 1.203l-3.03 2.496m0 0l-5.877-5.877A2.652 2.652 0 003 9.02l5.877 5.877m0 0l-2.496 3.03c-.317.384-.73.664-1.203.832L3 21a2.652 2.652 0 003.528 3.528l1.604-3.528c.168-.473.448-.886.832-1.203l3.03-2.496m0 0l5.877 5.877a2.652 2.652 0 003.528-3.528l-5.877-5.877m0 0L9.02 3a2.652 2.652 0 00-3.528 3.528L9.02 9.02" />
</svg>
</div>
<h1 class="text-4xl md:text-5xl font-bold text-yellow-400 tracking-wide mb-4">Wartungsarbeiten</h1>
<p class="text-lg text-gray-300 max-w-2xl mb-2">
{{ maint_info.status if maint_info and maint_info.status else 'Wir führen zurzeit planmäßige Wartungsarbeiten durch, um unsere Dienste zu verbessern.' }}
</p>
<p class="text-lg text-gray-300 max-w-2xl">
Wir sind bald wieder für Sie da.
</p>
{% if maint_info and maint_info.time %}
<div class="mt-8 bg-black/30 border border-yellow-500/30 rounded-lg p-4">
<p class="text-gray-400">Voraussichtliches Ende:</p>
{% set end_time = maint_info.time + timedelta(minutes=maint_info.duration_minutes or 0) %}
<p class="text-xl font-semibold text-yellow-300">{{ end_time.strftime('%d. %B %Y, %H:%M Uhr') }}</p>
</div>
{% endif %}
<div class="absolute bottom-10">
<a href="{{ url_for('maintenance_login') }}" class="px-5 py-2 border border-yellow-500/40 text-yellow-300 rounded-lg hover:bg-yellow-500/10 transition-colors text-sm">
Wartungsarbeiten Login
</a>
</div>
</div>
<script>
gsap.to("#star", {
rotation: 360,
duration: 8,
ease: "none",
repeat: -1
});
</script>
</body>
</html>