aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-06-10 15:54:27 -0500
committerFrederick Muriuki Muriithi2025-06-10 17:19:43 -0500
commit3ea81d0fbc5b93295f291315c1d05fe7a1911948 (patch)
tree2080eed9e38e484889854375bccdb9cc55ca80a8 /uploader/templates
parentcda652080ebfc18915875e7422f1e128bab3c7c5 (diff)
downloadgn-uploader-3ea81d0fbc5b93295f291315c1d05fe7a1911948.tar.gz
Provide generalised success and error handling for the jobs.
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/jobs/job-error.html17
1 files changed, 17 insertions, 0 deletions
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%}
+
+<h1>Background Jobs: Error</h1>
+<p>Job <strong>{{job["job_id"]}}</strong> failed!</p>
+<p>The error details are in the "STDERR" section below.</p>
+
+<h2>STDERR</h2>
+<pre>{{job["stderr"]}}</pre>
+{%endblock%}