{% extends "base.html" %} {% block title %}Dashboard — StreamFusion Admin{% endblock %} {% block page_title %}Dashboard{% endblock %} {% block content %} {# ── Ligne 1 : 5 stat cards ── #}
{{ active_keys }}
Clés API actives
{{ active_peers }}
Peer Keys actives
{{ "{:,}".format(torrent_count) }}
Torrents indexés
{{ "%.1f"|format(torrent_matched_count / torrent_count * 100 if torrent_count else 0) }}%
Taux matching TMDB
{{ "{:,}".format(debrid_cache_count) }}
Cache debrid
{# ── Ligne 2 : Actions rapides + Scheduler ── #}
Scheduler
Chargement…
{# ── Ligne 3 : Base de données + Recherche ── #}
Base de données
Redis
{% if redis_ok %} Connecté{% else %} Hors ligne{% endif %}
PostgreSQL
Connecté
Torrents matchés
{{ "{:,}".format(torrent_matched_count) }} ({{ "%.1f"|format(torrent_matched_count / torrent_count * 100 if torrent_count else 0) }}%)
Torrents orphelins
{{ "{:,}".format(torrent_orphan_count) }}
Cache debrid
{{ "{:,}".format(debrid_cache_count) }} entrées
Recherche dans la base
{% endblock %} {% block extra_scripts %} {% endblock %}