diff options
author | Frederick Muriuki Muriithi | 2024-09-09 16:39:50 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-09 16:41:46 -0500 |
commit | 3c8ec9af68d593e7e5eef52aca3d001e22c8e0f7 (patch) | |
tree | 6ac71fb5d40d5ae8dc4b9e93b8d8b1b9510b29bc /uploader/templates/samples/upload-progress.html | |
parent | 9cd33ddac3d6848c5443962d66494635feadef51 (diff) | |
download | gn-uploader-3c8ec9af68d593e7e5eef52aca3d001e22c8e0f7.tar.gz |
Enable samples uploads.
Diffstat (limited to 'uploader/templates/samples/upload-progress.html')
-rw-r--r-- | uploader/templates/samples/upload-progress.html | 31 |
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]}}…</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%} |