fix: secure upload/download paths, default filter, status enum compare, upload validation

This commit is contained in:
jetson committed 2026-09-16 15:06:40 +07:00
1 parent eb77e5be8a
commit 40e2dbe453
3 files changed
+23 -7

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@
<h2>Job: {{ job.job_id }}</h2>
<div class="job-info">
<p><strong>Status:</strong> <span class="status-{{ job.status|lower }}">{{ job.status }}</span></p>
<p><strong>Status:</strong> <span class="status-{{ job.status.name|lower }}">{{ job.status.name }}</span></p>
<p><strong>Video:</strong> {{ job.video_path }}</p>
<p><strong>Progress:</strong> {{ "%.0f"|format(job.progress * 100) }}%</p>
{% if job.current_model %}
@@ -52,7 +52,7 @@
</table>
{% endif %}
{% if job.status == "RUNNING" or job.status == "PENDING" %}
{% if job.status.name == "RUNNING" or job.status.name == "PENDING" %}
<div class="auto-refresh">
<p>Status will auto-refresh...</p>
</div>