diff options
| author | Frederick Muriuki Muriithi | 2026-03-09 14:29:43 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-03-09 14:29:43 -0500 |
| commit | 39aa801f4772bcc50e4f0a86ae08d2fdf9eb12e9 (patch) | |
| tree | c4da018ab87a7207e179fc76e6c53e14f06ee3be /uploader/templates | |
| parent | c1c835c274a2cf25a1b5ac78806ddefd6baa8368 (diff) | |
| download | gn-uploader-39aa801f4772bcc50e4f0a86ae08d2fdf9eb12e9.tar.gz | |
Diffstat (limited to 'uploader/templates')
| -rw-r--r-- | uploader/templates/phenotypes/job-status.html | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/uploader/templates/phenotypes/job-status.html b/uploader/templates/phenotypes/job-status.html index 0bbe8e0..951907f 100644 --- a/uploader/templates/phenotypes/job-status.html +++ b/uploader/templates/phenotypes/job-status.html @@ -52,10 +52,10 @@ <p> {%if errors | length == 0%} <a href="{{url_for('species.populations.phenotypes.review_job_data', - species_id=species.SpeciesId, - population_id=population.Id, - dataset_id=dataset.Id, - job_id=job_id)}}" + species_id=species.SpeciesId, + population_id=population.Id, + dataset_id=dataset.Id, + job_id=job_id)}}" class="btn btn-primary" title="Continue to process data">Continue</a> {%else%} @@ -70,13 +70,28 @@ </div> <h3 class="subheading">upload errors</h3> +{%if errors | length == 0 %} <div class="row" style="max-height: 20em; overflow: scroll;"> - {%if errors | length == 0 %} <p class="text-info"> <span class="glyphicon glyphicon-info-sign"></span> No errors found so far </p> - {%else%} +</div> +{%else%} +{%if errors | length > 0%} +<div class="row"> + <div class="col"> + <a href="{{url_for('species.populations.phenotypes.download_errors', + species_id=species.SpeciesId, + population_id=population.Id, + dataset_id=dataset.Id, + job_id=job_id)}}" + class="btn btn-info" + title="Download the errors as a CSV file.">download errors CSV</a> + </div> +</div> +{%endif%} +<div class="row" style="max-height: 20em; overflow: scroll;"> <table class="table table-responsive"> <thead style="position: sticky; top: 0; background: white;"> <tr> @@ -111,7 +126,8 @@ {%endfor%} </tbody> </table> - {%endif%} +</div> +{%endif%} </div> <div class="row"> |
