about summary refs log tree commit diff
path: root/uploader/templates/samples/upload-success.html
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/samples/upload-success.html')
-rw-r--r--uploader/templates/samples/upload-success.html34
1 files changed, 26 insertions, 8 deletions
diff --git a/uploader/templates/samples/upload-success.html b/uploader/templates/samples/upload-success.html
index cb745c3..881d466 100644
--- a/uploader/templates/samples/upload-success.html
+++ b/uploader/templates/samples/upload-success.html
@@ -1,18 +1,36 @@
-{%extends "base.html"%}
+{%extends "samples/base.html"%}
 {%from "cli-output.html" import cli_output%}
+{%from "populations/macro-display-population-card.html" import display_population_card%}
 
 {%block title%}Job Status{%endblock%}
 
 {%block contents%}
-<h1 class="heading">{{job.job_name}}</h2>
 
-<p>
-<strong>status</strong>:
-<span>{{job["status"]}} ({{job.get("message", "-")}})</span><br />
-</p>
+<div class="row" style="overflow-x: clip;">
+  <h2 class="heading">{{job.job_name[0:50]}}&hellip;</h2>
 
-<p>Successfully uploaded the samples.</p>
+  <p>
+    <strong>status</strong>:
+    <span>{{job["status"]}} ({{job.get("message", "-")}})</span><br />
+  </p>
 
-{{cli_output(job, "stdout")}}
+  <p>Successfully uploaded the samples.</p>
+  <p>
+    <a href="{{url_for('species.populations.samples.list_samples',
+             species_id=species.SpeciesId,
+             population_id=population.Id)}}"
+       title="View population samples">
+      View samples
+    </a>
+  </p>
+</div>
 
+<div class="row">
+  {{cli_output(job, "stdout")}}
+</div>
+
+{%endblock%}
+
+{%block sidebarcontents%}
+{{display_population_card(species, population)}}
 {%endblock%}