diff options
author | Frederick Muriuki Muriithi | 2024-09-23 14:28:49 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-23 16:35:38 -0500 |
commit | 0b37b9b3fa4fead86787a705713645fa14530a54 (patch) | |
tree | 83bba12d52f340ec39e16cae9547f325a01743a2 /uploader/templates/expression-data/parse-results.html | |
parent | 3bec3b312a1e235247f1431d4351db5efe7a785d (diff) | |
download | gn-uploader-0b37b9b3fa4fead86787a705713645fa14530a54.tar.gz |
Initialise the "Expression Data" section.
Diffstat (limited to 'uploader/templates/expression-data/parse-results.html')
-rw-r--r-- | uploader/templates/expression-data/parse-results.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/uploader/templates/expression-data/parse-results.html b/uploader/templates/expression-data/parse-results.html new file mode 100644 index 0000000..03a23e2 --- /dev/null +++ b/uploader/templates/expression-data/parse-results.html @@ -0,0 +1,39 @@ +{%extends "base.html"%} +{%from "errors_display.html" import errors_display%} +{%from "populations/macro-display-population-card.html" import display_population_card%} + +{%block title%}Parse Results{%endblock%} + +{%block contents%} + +<div class="row"> + <h2 class="heading">{{job_name}}: parse results</h2> + + {%if user_aborted%} + <span class="alert-warning">Job aborted by the user</span> + {%endif%} + + {{errors_display(errors, "No errors found in the file", "We found the following errors", True)}} + + {%if errors | length == 0 and not user_aborted %} + <form method="post" action="{{url_for('dbinsert.select_platform')}}"> + <input type="hidden" name="job_id" value="{{job_id}}" /> + <input type="submit" value="update database" class="btn btn-primary" /> + </form> + {%endif%} + + {%if errors | length > 0 or user_aborted %} + <br /> + <a href="{{url_for('species.populations.expression-data.upload_file', + species_id=species.SpeciesId, + population_id=population.Id)}}" + title="Back to index page." + class="btn btn-primary">Go back</a> + + {%endif%} +</div> +{%endblock%} + +{%block sidebarcontents%} +{{display_population_card(species, population)}} +{%endblock%} |