diff options
author | Frederick Muriuki Muriithi | 2024-01-17 11:41:43 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-01-17 11:41:43 +0300 |
commit | 33e106334a212853842c30f8c595da1099c3d84e (patch) | |
tree | a9a073bc24e2cec54f346f67d0ad1f652a5894bf /qc_app/templates/rqtl2/select-probeset-study-id.html | |
parent | cde57e8faeb41df27587361dcf42e235545cacb3 (diff) | |
download | gn-uploader-33e106334a212853842c30f8c595da1099c3d84e.tar.gz |
UI: Select ProbeSet study.
Diffstat (limited to 'qc_app/templates/rqtl2/select-probeset-study-id.html')
-rw-r--r-- | qc_app/templates/rqtl2/select-probeset-study-id.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/qc_app/templates/rqtl2/select-probeset-study-id.html b/qc_app/templates/rqtl2/select-probeset-study-id.html new file mode 100644 index 0000000..bb31fde --- /dev/null +++ b/qc_app/templates/rqtl2/select-probeset-study-id.html @@ -0,0 +1,59 @@ +{%extends "base.html"%} +{%from "flash_messages.html" import flash_messages%} + +{%block title%}Upload R/qtl2 Bundle{%endblock%} + +{%block contents%} +<h2 class="heading">Phenotype(ProbeSet) Study</h2> + +<div class="explainer"> + <p>The R/qtl2 bundle you uploaded contains (a) "<strong>pheno</strong>" + file(s). This data needs to be organised under a study.</p> + <p>This page gives you the ability to do that.</p> +</div> + +<form method="POST" + action="#"> + <legend class="heading">Select from existing ProbeSet datasets</legend> + + <input type="hidden" name="species_id" value="{{species.SpeciesId}}" /> + <input type="hidden" name="population_id" + value="{{population.InbredSetId}}" /> + <input type="hidden" name="rqtl2_bundle_file" + value="{{rqtl2_bundle_file}}" /> + <input type="hidden" name="geno-dataset-id" value="{{geno_dataset.Id}}" /> + + <fieldset> + <label for="select:probe-study">Study</label> + <select id="select:probe-study" + name="probe-study-id" + required="required" + {%if studies | length == 0%}disabled="disabled"{%endif%}> + <option value="">Select a study</option> + {%for study in studies%} + <option value={{study.Id}}> + {{study.Name}} + {%if study.FullName%} + -- ({{study.FullName}}) + {%endif%} + </option> + {%endfor%} + </select> + </fieldset> + + <fieldset> + <input type="submit" + value="select study" + class="btn btn-main form-col-2" /> + </fieldset> +</form> + +<p style="color:#FE3535; padding-left:20em; font-weight:bolder;">OR</p> + +<form method="POST" + action="#"> + <legend class="heading">Create new ProbeSet dataset</legend> + <strong style="color: red;font-weight:bold;">Under construction</strong> +</form> + +{%endblock%} |