Suivi consommables : compteur papier, ruban et photos avec diagnostic ratio

- Onglet Consommables dans General : barres de progression papier/ruban, compteur photos
- Capacites configurables (feuilles par bobine / poses par bobine)
- Reset individuel papier/ruban (quand on change la bobine)
- Diagnostic ratio ruban/papier pour verifier que le rembobinage fonctionne
- Tracking automatique a chaque impression (format-aware)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-12 15:23:17 +02:00
parent 44a9992557
commit 3b6f376ded
5 changed files with 239 additions and 5 deletions

View File

@@ -935,6 +935,42 @@ html, body {
}
.admin-onglets.cache { display: none; }
.conso-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
margin-bottom: 1.5rem;
}
.conso-card {
background: rgba(255,255,255,0.04);
border-radius: 12px;
padding: 1.2rem;
text-align: center;
}
.conso-icon { font-size: 2rem; margin-bottom: 0.3rem; }
.conso-titre { font-weight: 600; margin-bottom: 0.8rem; font-size: 0.95rem; }
.conso-barre-fond {
height: 12px;
background: rgba(255,255,255,0.08);
border-radius: 6px;
overflow: hidden;
margin-bottom: 0.5rem;
}
.conso-barre {
height: 100%;
border-radius: 6px;
transition: width 0.5s ease, background 0.5s ease;
}
.conso-chiffres { font-size: 0.85rem; color: var(--texte-secondaire); margin-bottom: 0.8rem; }
.conso-gros { font-size: 2.5rem; font-weight: 800; margin: 0.5rem 0; }
.conso-diag {
background: rgba(255,255,255,0.03);
border-radius: 8px;
padding: 1rem;
font-size: 0.85rem;
line-height: 1.6;
}
.video-situation-bloc {
background: rgba(255,255,255,0.03);
border-radius: 8px;