about summary refs log tree commit diff
path: root/uploader/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-12-29 12:17:49 -0600
committerFrederick Muriuki Muriithi2025-12-29 12:17:49 -0600
commitcda3a33dda994aa5da5570dfbdd36804b57f529c (patch)
treec25e4bb6dc4cb71d5fc220fd4efa74f8f3e59811 /uploader/templates
parent27586a821f47a6e7aa3e77df9b98686d68a121e5 (diff)
downloadgn-uploader-cda3a33dda994aa5da5570dfbdd36804b57f529c.tar.gz
Background Jobs: Move feature to new UI templates.
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/background-jobs/sui-default-success-page.html17
-rw-r--r--uploader/templates/jobs/sui-job-error.html17
-rw-r--r--uploader/templates/jobs/sui-job-not-found.html11
-rw-r--r--uploader/templates/jobs/sui-job-status.html24
4 files changed, 0 insertions, 69 deletions
diff --git a/uploader/templates/background-jobs/sui-default-success-page.html b/uploader/templates/background-jobs/sui-default-success-page.html
deleted file mode 100644
index 5732456..0000000
--- a/uploader/templates/background-jobs/sui-default-success-page.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{%extends "phenotypes/base.html"%}
-{%from "flash_messages.html" import flash_all_messages%}
-
-{%block title%}Background Jobs: Success{%endblock%}
-
-{%block pagetitle%}Background Jobs: Success{%endblock%}
-
-{%block contents%}
-{{flash_all_messages()}}
-
-<div class="row">
-  <p>Job <strong>{{job.job_id}}</strong>,
-    {%if job.get("metadata", {}).get("job-type")%}
-    of type '<em>{{job.metadata["job-type"]}}</em>
-    {%endif%}' completed successfully.</p>
-</div>
-{%endblock%}
diff --git a/uploader/templates/jobs/sui-job-error.html b/uploader/templates/jobs/sui-job-error.html
deleted file mode 100644
index 1a839a6..0000000
--- a/uploader/templates/jobs/sui-job-error.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{%extends "sui-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%}
diff --git a/uploader/templates/jobs/sui-job-not-found.html b/uploader/templates/jobs/sui-job-not-found.html
deleted file mode 100644
index 96c8586..0000000
--- a/uploader/templates/jobs/sui-job-not-found.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{%extends "sui-base.html"%}
-
-{%from "flash_messages.html" import flash_all_messages%}
-
-{%block title%}Background Jobs{%endblock%}
-
-{%block pagetitle%}Background Jobs{%endblock%}
-
-{%block contents%}
-<p>Could not find job with ID: {{job_id}}</p>
-{%endblock%}
diff --git a/uploader/templates/jobs/sui-job-status.html b/uploader/templates/jobs/sui-job-status.html
deleted file mode 100644
index fc5e532..0000000
--- a/uploader/templates/jobs/sui-job-status.html
+++ /dev/null
@@ -1,24 +0,0 @@
-{%extends "sui-base.html"%}
-
-{%from "flash_messages.html" import flash_all_messages%}
-
-{%block extrameta%}
-<meta http-equiv="refresh" content="5" />
-{%endblock%}
-
-{%block title%}Background Jobs{%endblock%}
-
-{%block pagetitle%}Background Jobs{%endblock%}
-
-{%block contents%}
-
-<p>Status: {{job["metadata"]["status"]}}</p>
-<p>Job Type: {{job["metadata"]["job-type"]}}</p>
-
-<h2>STDOUT</h2>
-<pre>{{job["stdout"]}}</pre>
-
-<h2>STDERR</h2>
-<pre>{{job["stderr"]}}</pre>
-
-{%endblock%}