dashboard thumb 48x27, step live, spin busy, live thumbnail refresh
- dispatcher: col step ajoutee (migration). set a chaque phase: scp N/M, ffmpeg N/M, trimming hors-eau, reconstruct demo.py - _refresh_thumbnail() scp la DERNIERE frame extraite toutes les ~15s pendant ffmpeg pour que le preview colle a la progression live - template: cache-bust thumbnail via ?t=mtime, step affiche sous progress bar, thumb revenue a 48x27 - CSS: .badge.busy -> animation spin (rotation infinie) au lieu de juste une couleur, .step-text italique mute
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
{% else %}<span class="badge muted">■</span>{% endif %}
|
||||
</td>
|
||||
<td class="col-thumb">
|
||||
{% if j.has_thumbnail %}<img src="jobs/{{ j.id }}/thumbnail" alt="" loading="lazy">{% else %}<span class="thumb-placeholder"></span>{% endif %}
|
||||
{% if j.has_thumbnail %}<img src="jobs/{{ j.id }}/thumbnail?t={{ j.thumb_ts }}" alt="" loading="lazy">{% else %}<span class="thumb-placeholder"></span>{% endif %}
|
||||
</td>
|
||||
<td class="col-id">#{{ j.id }}</td>
|
||||
<td class="col-auv"><strong>{{ j.auv }}</strong> · <span title="{{ j.gopro_serial }}">{{ j.gp_label }}</span></td>
|
||||
@@ -45,8 +45,11 @@
|
||||
<td class="col-trim">{% if j.trimmed_total %}−{{ j.trimmed_total }}{% else %}—{% endif %}</td>
|
||||
<td class="col-progress">
|
||||
{% if j.status in ('extracting','running') %}
|
||||
<span class="prog-bar"><span class="prog-fill" style="width:{{ j.progress }}%"></span></span>
|
||||
<span class="prog-text">{{ j.progress }}%</span>
|
||||
<div class="progress-wrap">
|
||||
<span class="prog-bar"><span class="prog-fill" style="width:{{ j.progress }}%"></span></span>
|
||||
<span class="prog-text">{{ j.progress }}%</span>
|
||||
</div>
|
||||
{% if j.step %}<div class="step-text">{{ j.step }}</div>{% endif %}
|
||||
{% elif j.status == 'done' and j.viser_url %}
|
||||
<a class="btn-viser" href="{{ j.viser_url }}" target="_blank" rel="noopener">viser ↗</a>
|
||||
{% elif j.status == 'skipped' %}
|
||||
|
||||
Reference in New Issue
Block a user