From 3ea81d0fbc5b93295f291315c1d05fe7a1911948 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 10 Jun 2025 15:54:27 -0500 Subject: Provide generalised success and error handling for the jobs. --- uploader/templates/jobs/job-error.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 uploader/templates/jobs/job-error.html (limited to 'uploader/templates') diff --git a/uploader/templates/jobs/job-error.html b/uploader/templates/jobs/job-error.html new file mode 100644 index 0000000..b3015fc --- /dev/null +++ b/uploader/templates/jobs/job-error.html @@ -0,0 +1,17 @@ +{%extends "base.html"%} + +{%from "flash_messages.html" import flash_all_messages%} + +{%block title%}Background Jobs: Error{%endblock%} + +{%block pagetitle%}Background Jobs: Error{%endblock%} + +{%block contents%} + +
Job {{job["job_id"]}} failed!
+The error details are in the "STDERR" section below.
+ +{{job["stderr"]}}+{%endblock%} -- cgit v1.2.3