dashboard — barre de progression extraction par job

- dispatcher.py : ffmpeg lancé en background (setsid), polling du
  nombre de frames toutes les 5s → mise à jour du champ `progress`
  en DB. ffprobe estime le total avant lancement pour calculer le %.
- _jobs_table.html : barre de progression visible sur les jobs
  en status extracting/running
- style.css : styles .prog-wrap/.prog-fill/.prog-text

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Poulpe
2026-04-21 13:48:41 +00:00
parent 192550b60b
commit f567d7e459
3 changed files with 42 additions and 7 deletions

View File

@@ -71,7 +71,10 @@ progress::-moz-progress-bar { background: var(--accent); }
.job-list .job-item.error .icon { background: var(--err); color: #fff; font-weight: bold; }
.job-list .label { color: var(--text); overflow: hidden; text-overflow: ellipsis;
white-space: nowrap; }
white-space: nowrap; display: flex; flex-direction: column; gap: 2px; }
.prog-wrap { display: flex; align-items: center; gap: 4px; height: 10px; position: relative; width: 100%; max-width: 160px; }
.prog-fill { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.5s; min-width: 2px; }
.prog-text { font-size: 0.7rem; color: var(--muted); white-space: nowrap; }
.job-list .dur { color: var(--muted); font-size: 0.78rem; }
.job-list .ext { margin-left: 0.5rem; color: var(--accent); font-size: 0.75rem; }
button.ext.viewer-btn { background: transparent; border: 1px solid var(--accent);