diff options
author | Frederick Muriuki Muriithi | 2022-07-06 10:19:49 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-07-06 10:23:46 +0300 |
commit | 2e12c23648be1b6827f1717ca143359d29043a39 (patch) | |
tree | 51dad8a9eff165f37bb91b0541cb38bb142fd259 /qc_app/templates/parse_results.html | |
parent | e68c807e6598a4087d7c83510ba33c81139f5544 (diff) | |
download | gn-uploader-2e12c23648be1b6827f1717ca143359d29043a39.tar.gz |
Implement UI for dataset selection
As part of updating the database with the new data, there is a need to
select the appropriate dataset that the data belongs to, and this
commit provides the UI to assist the user do that.
Diffstat (limited to 'qc_app/templates/parse_results.html')
-rw-r--r-- | qc_app/templates/parse_results.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qc_app/templates/parse_results.html b/qc_app/templates/parse_results.html index 358c5e8..1a224e8 100644 --- a/qc_app/templates/parse_results.html +++ b/qc_app/templates/parse_results.html @@ -12,4 +12,11 @@ {{errors_display(errors, "No errors found in the file", "We found the following errors")}} +{%if errors | length == 0 %} +<form method="post" action="{{url_for('dbinsert.select_dataset')}}"> + <input type="hidden" name="job_id" value="{{job_id}}" /> + <input type="submit" value="update database" class="btn btn-main" /> +</form> +{%endif%} + {%endblock%} |