Discord Bot Management
+ +{{ bot.name }}
+ + {{ bot.status }} + +Filename: {{ bot.filename }}
+Noch keine Bots hochgeladen.
+ {% endfor %} +diff --git a/AstraOS/Frontend/HTML/bot_console.html b/AstraOS/Frontend/HTML/bot_console.html
new file mode 100644
index 0000000..8d20ab0
--- /dev/null
+++ b/AstraOS/Frontend/HTML/bot_console.html
@@ -0,0 +1,103 @@
+{% extends "sidebar.html" %}
+
+{% block title %}AstraOS — Konsole: {{ bot.name }}{% endblock %}
+
+{% block head %}
+
+
+{% endblock %}
+
+{% block content %}
+
+Konsole: {{ bot.name }}
+
+ AstraOS ist da! Wir haben alles von Grund auf neu gebaut, damit du deine Systeme noch intuitiver und effizienter verwalten kannst. Wir hoffen, dir gefallen das neue Design und die vielen praktischen Funktionen. +
+{{ stats.active_users.value }}
++ {% set pct = stats.active_users.percent %} + {% if pct is not none %} + {{ '+' if pct>=0 else '' }}{{ pct }}% seit letzter Woche + {% else %} + - + {% endif %} +
+{{ stats.server_load.percent }}%
+{{ stats.server_load.status }}
+{{ stats.open_tickets.count }}
+Keine offenen Anfragen
+{{ status }}
+Alle Systeme funktionsfähig
+Aktiv
+{{ maint.status if maint.status else 'Wartungsarbeiten laufen' }}
+ {% elif maint and maint.time_str %} +{{ maint.time_str }}
+{{ maint.status if maint and maint.status else 'Geplant' }} {% if maint and maint.duration_minutes %}— Dauer: {{ maint.duration_minutes }} Min.{% endif %}
+ {% else %} +Keine geplant
+Alle Systeme sind betriebsbereit.
+ {% endif %} +{{ last.time_str if last and last.time_str else 'Keine Daten' }}
+Durch: {{ last.by if last and last.by else 'N/A' }}
+Filename: {{ bot.filename }}
+Noch keine Bots hochgeladen.
+ {% endfor %} +| IP | +Cheater | +SteamID | +Hinzugefügt von | +Datum | +
|---|---|---|---|---|
| {{ ip.ip }} | +{{ 'Ja' if ip.is_cheater else 'Nein' }} | +{{ ip.steam_id or 'N/A' }} | +{{ ip.added_by }} | +{{ ip.timestamp.strftime('%d.%m.%Y %H:%M') }} | +
+ {{ maint_info.status if maint_info and maint_info.status else 'Wir führen zurzeit planmäßige Wartungsarbeiten durch, um unsere Dienste zu verbessern.' }} +
++ Wir sind bald wieder für Sie da. +
+ + {% if maint_info and maint_info.time %} +Voraussichtliches Ende:
+ {% set end_time = maint_info.time + timedelta(minutes=maint_info.duration_minutes or 0) %} +{{ end_time.strftime('%d. %B %Y, %H:%M Uhr') }}
+diff --git a/AstraOS/Frontend/HTML/maintenance.html b/AstraOS/Frontend/HTML/maintenance.html new file mode 100644 index 0000000..3712d79 --- /dev/null +++ b/AstraOS/Frontend/HTML/maintenance.html @@ -0,0 +1,58 @@ + + +
+ + +
+ + + + +
+