diff options
author | Frederick Muriuki Muriithi | 2024-01-05 13:08:38 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-01-05 13:10:56 +0300 |
commit | 58a214a4a9be5fb219a798b62cdbf43d72280c74 (patch) | |
tree | 1ab9beaa142a4887e44aa6fe09e1206a959b024a /qc_app/templates/rqtl2/index.html | |
parent | 6200a60eb6f04a5d50bfe0ad366674dc49a08119 (diff) | |
download | gn-uploader-58a214a4a9be5fb219a798b62cdbf43d72280c74.tar.gz |
Initialise R/qtl2 bundle upload path
Initialise the upload path for R/qtl2 bundles. This commit adds UI
that allows the user to select from existing species, before
proceeding to the next stage.
Diffstat (limited to 'qc_app/templates/rqtl2/index.html')
-rw-r--r-- | qc_app/templates/rqtl2/index.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/qc_app/templates/rqtl2/index.html b/qc_app/templates/rqtl2/index.html new file mode 100644 index 0000000..24f19fa --- /dev/null +++ b/qc_app/templates/rqtl2/index.html @@ -0,0 +1,34 @@ +{%extends "base.html"%} +{%from "flash_messages.html" import flash_messages%} + +{%block title%}Data Upload{%endblock%} + +{%block contents%} +<h1 class="heading">R/qtl2 data upload</h1> + +<h2>R/qtl2 Upload</h2> + +<form method="POST" action="{{url_for('upload.rqtl2.select_species')}}" + id="frm-rqtl2-upload"> + <legend class="heading">upload R/qtl2 bundle</legend> + {{flash_messages("error-rqtl2")}} + <fieldset> + <label for="select:species">Species</label> + <select id="select:species" name="species_id" required="required"> + <option value="">Select species</option> + {%for spec in species%} + <option value="{{spec.SpeciesId}}">{{spec.MenuName}}</option> + {%endfor%} + </select> + <span class="form-input-help"> + Data that you upload to the system should belong to a know species. + Here you can select the species that you wish to upload data for. + </span> + </fieldset> + + <fieldset> + <input type="submit" value="submit" class="btn btn-main form-col-2" /> + </fieldset> +</form> + +{%endblock%} |