aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-01-17 06:46:42 +0300
committerFrederick Muriuki Muriithi2024-01-17 06:46:42 +0300
commitcde57e8faeb41df27587361dcf42e235545cacb3 (patch)
tree8eaef7b84de1cb8780434afd4dd7e3b0ae1413bb /qc_app/templates
parentbf1c2ec1b16b50f419a349a54031baf85fcd4abd (diff)
downloadgn-uploader-cde57e8faeb41df27587361dcf42e235545cacb3.tar.gz
UI: Implement creating new genotype datasets.
Diffstat (limited to 'qc_app/templates')
-rw-r--r--qc_app/templates/rqtl2/create-geno-dataset-success.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/qc_app/templates/rqtl2/create-geno-dataset-success.html b/qc_app/templates/rqtl2/create-geno-dataset-success.html
new file mode 100644
index 0000000..7feb8d8
--- /dev/null
+++ b/qc_app/templates/rqtl2/create-geno-dataset-success.html
@@ -0,0 +1,57 @@
+{%extends "base.html"%}
+{%from "flash_messages.html" import flash_messages%}
+
+{%block title%}Upload R/qtl2 Bundle{%endblock%}
+
+{%block contents%}
+<h2 class="heading">Select Genotypes Dataset</h2>
+
+<div class="explainer">
+ <p>You successfully created the genotype dataset with the following
+ information.
+ <dl>
+ <dt>ID</dt>
+ <dd>{{geno_dataset.id}}</dd>
+
+ <dt>Name</dt>
+ <dd>{{geno_dataset.name}}</dd>
+
+ <dt>Full Name</dt>
+ <dd>{{geno_dataset.fname}}</dd>
+
+ <dt>Short Name</dt>
+ <dd>{{geno_dataset.sname}}</dd>
+
+ <dt>Created On</dt>
+ <dd>{{geno_dataset.today}}</dd>
+
+ <dt>Public?</dt>
+ <dd>{%if geno_dataset.public == 0%}No{%else%}Yes{%endif%}</dd>
+ </dl>
+ </p>
+</div>
+
+<form id="frm-upload-rqtl2-bundle"
+ action="{{url_for('upload.rqtl2.select_dataset_info',
+ species_id=species.SpeciesId,
+ population_id=population.InbredSetId)}}"
+ method="POST"
+ enctype="multipart/form-data">
+ <legend class="heading">select from existing genotype 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>
+ <input type="submit"
+ value="continue"
+ class="btn btn-main form-col-2" />
+ </fieldset>
+</form>
+
+{%endblock%}