aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/samples/upload-failure.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-09 16:39:50 -0500
committerFrederick Muriuki Muriithi2024-09-09 16:41:46 -0500
commit3c8ec9af68d593e7e5eef52aca3d001e22c8e0f7 (patch)
tree6ac71fb5d40d5ae8dc4b9e93b8d8b1b9510b29bc /uploader/templates/samples/upload-failure.html
parent9cd33ddac3d6848c5443962d66494635feadef51 (diff)
downloadgn-uploader-3c8ec9af68d593e7e5eef52aca3d001e22c8e0f7.tar.gz
Enable samples uploads.
Diffstat (limited to 'uploader/templates/samples/upload-failure.html')
-rw-r--r--uploader/templates/samples/upload-failure.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/uploader/templates/samples/upload-failure.html b/uploader/templates/samples/upload-failure.html
new file mode 100644
index 0000000..458ab55
--- /dev/null
+++ b/uploader/templates/samples/upload-failure.html
@@ -0,0 +1,37 @@
+{%extends "base.html"%}
+{%from "cli-output.html" import cli_output%}
+{%from "populations/macro-display-population-card.html" import display_population_card%}
+
+{%block title%}Samples Upload Failure{%endblock%}
+
+{%block contents%}
+<div class="row">
+<h2 class="heading">{{job.job_name[0:50]}}&hellip;</h2>
+
+<p>There was a failure attempting to upload the samples.</p>
+
+<p>Here is some information to help with debugging the issue. Provide this
+ information to the developer/maintainer.</p>
+
+<h3>Debugging Information</h3>
+<ul>
+ <li><strong>job id</strong>: {{job.job_id}}</li>
+ <li><strong>status</strong>: {{job.status}}</li>
+ <li><strong>job type</strong>: {{job["job-type"]}}</li>
+</ul>
+</div>
+
+<div class="row">
+<h4>stdout</h4>
+{{cli_output(job, "stdout")}}
+</div>
+
+<div class="row">
+<h4>stderr</h4>
+{{cli_output(job, "stderr")}}
+</div>
+{%endblock%}
+
+{%block sidebarcontents%}
+{{display_population_card(species, population)}}
+{%endblock%}