{% extends "base.html" %} {% block title %}Dashboard — JH Photomaton{% endblock %} {% block nav_links %} Dashboard Galerie admin Impression Actions Réglages Galerie publique Déconnexion {% endblock %} {% block content %}

Dashboard

Mode impression :
Ressources système
CPU
{{ stats.cpu_percent|default('—') }}%
RAM
{{ stats.ram_used_mb|default('—') }} Mo
sur {{ stats.ram_total_mb|default('?') }} Mo
Température
{{ stats.cpu_temp|default('—') }}°C
CPU
Disque
{{ stats.disk_used_gb|default('—') }} Go
sur {{ stats.disk_total_gb|default('?') }} Go
🎫 Événement en cours
📸 photos ⬇️ téléchargements 🖨 impressions
Anneau LED (35 LEDs · GPIO18)
{{ led_effect }}
Effet actuel
{% for effect in ['idle','countdown','capture','captured','finished','printing','error','disabled','off'] %} {% endfor %}
Couleur :
Bouton physique (GPIO23) · Relay (GPIO12)
Relay bouton 12V
Statut : {{ 'ON' if relay_state else 'OFF' }}
Simulation (test)
Dernier événement : —
File d'impression ()
Voir tout →
Services
{% for svc in services %} {% endfor %}
ServiceStatut
{{ svc.label }} {{ 'Actif' if svc.active else 'Arrêté' }}
{% endblock %} {% block scripts %} {% endblock %}