From 54cd87c0f448809b124ff8385fae414b0e4d857e Mon Sep 17 00:00:00 2001
From: nmemmert <67961292+nmemmert@users.noreply.github.com>
Date: Wed, 5 Nov 2025 14:50:53 -0500
Subject: [PATCH] Fix template syntax errors - use dictionary access job['key']
instead of job.key
---
templates/job.html | 26 +++++++++++++-------------
templates/jobs.html | 30 +++++++++++++++---------------
templates/results.html | 16 ++++++++--------
3 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/templates/job.html b/templates/job.html
index ddc5aae..f42863f 100644
--- a/templates/job.html
+++ b/templates/job.html
@@ -148,39 +148,39 @@
Job Information
-
Job Name: {{ job.id }}
-
Started: {{ job.timestamp.strftime('%Y-%m-%d %H:%M:%S') if job.timestamp else 'Unknown' }}
-
Files: {{ job.file_count if job.file_count else 'Processing...' }}
+
Job Name: {{ job['id'] }}
+
Started: {{ job['timestamp'].strftime('%Y-%m-%d %H:%M:%S') if job['timestamp'] else 'Unknown' }}
+
Files: {{ job['file_count'] if job['file_count'] else 'Processing...' }}
Status:
-
- {{ job.status.title() }}
+
+ {{ job['status'].title() }}
- {% if job.status == 'processing' %}
+ {% if job['status'] == 'processing' %}
Processing Progress
-
{{ job.message }}
-
+
{{ job['message'] }}
+
{{ job.progress }}% Complete
{% endif %}
- {% if job.status == 'completed' %}
+ {% if job['status'] == 'completed' %}
Processing Complete!
{{ job.message }}
{% endif %}
- {% if job.status == 'failed' %}
+ {% if job['status'] == 'failed' %}
Processing Failed
{{ job.message }}
@@ -199,11 +199,11 @@
View All Jobs
- {% if job.status == 'processing' %}
+ {% if job['status'] == 'processing' %}