{% extends "layout.html" %} {% block content %}
{% if setup_required %}

Einrichtung

{% elif login_required %}

Admin-Login

{% if two_factor_enabled %}
{% endif %}
{% elif dashboard_active %}

Spielstatus: {% if game_status == 'pending' %} Ausstehend {% elif game_status == 'running' %} Läuft {% elif game_status == 'paused' %} Pausiert {% elif game_status == 'finished' %} Beendet {% endif %}

{% if game_status == 'pending' %} {% if can_start %}
{% else %}

Zu wenige Spieler zum Starten.

{% endif %} {% elif game_status == 'running' %}
{% elif game_status == 'paused' %}
{% elif game_status == 'finished' %}
{% endif %}

Sicherheit

{% if two_factor_enabled %}

2FA ist aktiv.

{% else %}

2FA inaktiv. QR-Code scannen.

Code: {{ two_factor_secret }}

{{ qr_code_svg | safe }}
{% endif %}

Spieler erstellen

{% for current_player in all_players %} {% endfor %}
Kennung Name Status Ziel Aktionen
{{ current_player.player_identifier }} {% if not current_player.is_approved %}
Wartet {% elif current_player.late_joiner %}
Späteinstieg {% endif %}
{% if current_player.pending_display_name %}

-> {{ current_player.pending_display_name }}

{% endif %}
{% if not current_player.is_approved %}
{% else %} {% if current_player.is_alive %} Lebend
{% else %} Gekillt
{% endif %} {% endif %}
{% if current_player.target_identifier %} {{ current_player.target_identifier }}
{% else %} - {% endif %}
{% if current_player.reset_token %} {% endif %}
{% for report in kill_logs %} {% else %} {% endfor %}
Zeitpunkt Killer Opfer Status Aktionen
{{ report.kill_timestamp[:16].replace('T', ' ') if report.kill_timestamp else '-' }} {{ report.killer_name or 'Unbekannt' }} ({{ report.killer_identifier }}) {{ report.victim_name or 'Unbekannt' }} ({{ report.victim_identifier }}) {% if report.report_status == 'confirmed' %} Bestätigt {% elif report.report_status == 'pending' %} Ausstehend {% elif report.report_status == 'rejected' %} Abgelehnt {% elif report.report_status == 'revoked' %} Widerrufen {% else %} {{ report.report_status }} {% endif %} {% if report.report_status == 'confirmed' %}
{% endif %} {% if report.report_status == 'pending' %}
{% endif %} {% if report.report_status in ['pending', 'rejected', 'revoked'] %}
{% endif %}
Keine Meldungen.
{% endif %}
{% endblock %}