From fa72bd33e3eee9e7d1b425967c84ccc4a1d0200a Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 8 Jan 2026 09:28:33 -0600 Subject: Commit template for listing background jobs. --- uploader/templates/background-jobs/base.html | 10 +++ uploader/templates/background-jobs/list-jobs.html | 79 +++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 uploader/templates/background-jobs/base.html create mode 100644 uploader/templates/background-jobs/list-jobs.html diff --git a/uploader/templates/background-jobs/base.html b/uploader/templates/background-jobs/base.html new file mode 100644 index 0000000..7201207 --- /dev/null +++ b/uploader/templates/background-jobs/base.html @@ -0,0 +1,10 @@ +{%extends "base.html"%} + +{%block breadcrumbs%} +{{super()}} + +{%endblock%} diff --git a/uploader/templates/background-jobs/list-jobs.html b/uploader/templates/background-jobs/list-jobs.html new file mode 100644 index 0000000..6457bdf --- /dev/null +++ b/uploader/templates/background-jobs/list-jobs.html @@ -0,0 +1,79 @@ +{%extends "background-jobs/base.html"%} +{%from "flash_messages.html" import flash_all_messages%} + +{%block title%}Background Jobs{%endblock%} + +{%block pagetitle%}Background Jobs{%endblock%} + +{%block contents%} +{{flash_all_messages()}} + +

Background Jobs

+ +{{view_under_construction}} + +
+
+ + + + + + + + + + + + {%for job in jobs%} + + + + + + + + {%else%} + + + + {%endfor%} + +
TypeCreatedStatusActions
{{job.metadata["job-type"]}}{{display_datetime(job.created)}} +
+ {{job.metadata.status}} +
+
+ + View Job + + delete +
+ You do not have any jobs you have run in the background.
+
+
+{%endblock%} + + +{%block sidebarcontents%} +
+
What is this?
+
+
+

The table lists the jobs that are running in the background, that you + started.

+

You can use the tools provided on this page to manage the jobs, and to view + each job's details.

+
+{{super()}} +{%endblock%} -- cgit 1.4.1