aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/rqtl2/rqtl2-qc-job-success.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-02-08 15:54:32 +0300
committerFrederick Muriuki Muriithi2024-02-12 18:17:38 +0300
commitd02cef83c3c0b3f3098df1a7e7eeaf90430f784a (patch)
tree3a1956c48be9652ad69ceed249c3c344d91fe1b8 /qc_app/templates/rqtl2/rqtl2-qc-job-success.html
parent3334120a07d8cc7d9ba2e1f23344df4d9c9c33bb (diff)
downloadgn-uploader-d02cef83c3c0b3f3098df1a7e7eeaf90430f784a.tar.gz
R/qtl2 QC: Set up scaffolding for QC UI
Set up the scaffolding for the flows and UI that will be used when running QC against the uploaded R/qtl2 bundle. This will be fleshed out later, and the UI is likely to change somewhat, down the line.
Diffstat (limited to 'qc_app/templates/rqtl2/rqtl2-qc-job-success.html')
-rw-r--r--qc_app/templates/rqtl2/rqtl2-qc-job-success.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/qc_app/templates/rqtl2/rqtl2-qc-job-success.html b/qc_app/templates/rqtl2/rqtl2-qc-job-success.html
new file mode 100644
index 0000000..396f241
--- /dev/null
+++ b/qc_app/templates/rqtl2/rqtl2-qc-job-success.html
@@ -0,0 +1,37 @@
+{%extends "base.html"%}
+{%from "flash_messages.html" import flash_all_messages%}
+
+{%block title%}R/qtl2 Bundle: Quality Control Successful{%endblock%}
+
+{%block contents%}
+<h2 class="heading">R/qtl2 Bundle: Quality Control Successful</h2>
+
+<div class="explainer">
+ <p>The R/qtl2 bundle you uploaded has passed <emph>all</emph> quality control
+ checks successfully, and is now ready for uploading into the database.</p>
+ <p>Click "Continue" below to proceed.</p>
+</div>
+
+<!--
+ The "action" on this form takes us to the next step, where we can
+ select all the other data necessary to enter the data into the database.
+ -->
+<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">
+ {{flash_all_messages()}}
+ <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}}" />
+
+ <fieldset>
+ <input type="submit" value="continue" class="btn btn-main form-col-2" />
+ </fieldset>
+</form>
+
+{%endblock%}