From 3c8ec9af68d593e7e5eef52aca3d001e22c8e0f7 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 9 Sep 2024 16:39:50 -0500 Subject: Enable samples uploads. --- uploader/templates/samples/upload-progress.html | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 uploader/templates/samples/upload-progress.html (limited to 'uploader/templates/samples/upload-progress.html') 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%} + +{%endblock%} + +{%block title%}Job Status{%endblock%} + +{%block contents%} +
+

{{job.job_name[0:50]}}…

+ +

+status: +{{job["status"]}} ({{job.get("message", "-")}})
+

+ +

saving to database...

+
+ +
+ {{cli_output(job, "stdout")}} +
+ +{%endblock%} + +{%block sidebarcontents%} +{{display_population_card(species, population)}} +{%endblock%} -- cgit v1.2.3