aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/samples/upload-progress.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-progress.html
parent9cd33ddac3d6848c5443962d66494635feadef51 (diff)
downloadgn-uploader-3c8ec9af68d593e7e5eef52aca3d001e22c8e0f7.tar.gz
Enable samples uploads.
Diffstat (limited to 'uploader/templates/samples/upload-progress.html')
-rw-r--r--uploader/templates/samples/upload-progress.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/uploader/templates/samples/upload-progress.html b/uploader/templates/samples/upload-progress.html
new file mode 100644
index 0000000..677d457
--- /dev/null
+++ b/uploader/templates/samples/upload-progress.html
@@ -0,0 +1,31 @@
+{%extends "samples/base.html"%}
+{%from "cli-output.html" import cli_output%}
+{%from "populations/macro-display-population-card.html" import display_population_card%}
+
+{%block extrameta%}
+<meta http-equiv="refresh" content="5">
+{%endblock%}
+
+{%block title%}Job Status{%endblock%}
+
+{%block contents%}
+<div class="row" style="overflow-x: clip;">
+<h2 class="heading">{{job.job_name[0:50]}}&hellip;</h2>
+
+<p>
+<strong>status</strong>:
+<span>{{job["status"]}} ({{job.get("message", "-")}})</span><br />
+</p>
+
+<p>saving to database...</p>
+</div>
+
+<div class="row">
+ {{cli_output(job, "stdout")}}
+</div>
+
+{%endblock%}
+
+{%block sidebarcontents%}
+{{display_population_card(species, population)}}
+{%endblock%}