aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-02-09 17:27:14 +0300
committerFrederick Muriuki Muriithi2024-02-12 18:17:40 +0300
commita0d3ac85dab5bfba9107f63b3219902ebe32cdd9 (patch)
tree83a3a7e8e6d8d4b2ea2d5481cb07aa5e32f71ff7 /qc_app/templates
parentb7eb549bb02eaba22ba06b0ddf5d04c9b4fe0f66 (diff)
downloadgn-uploader-a0d3ac85dab5bfba9107f63b3219902ebe32cdd9.tar.gz
UI: Provide QC successful results page
Diffstat (limited to 'qc_app/templates')
-rw-r--r--qc_app/templates/rqtl2/rqtl2-qc-job-results.html62
1 files changed, 62 insertions, 0 deletions
diff --git a/qc_app/templates/rqtl2/rqtl2-qc-job-results.html b/qc_app/templates/rqtl2/rqtl2-qc-job-results.html
new file mode 100644
index 0000000..46a168f
--- /dev/null
+++ b/qc_app/templates/rqtl2/rqtl2-qc-job-results.html
@@ -0,0 +1,62 @@
+{%extends "base.html"%}
+{%from "cli-output.html" import cli_output%}
+
+{%block title%}R/qtl2 bundle: QC job results{%endblock%}
+
+{%block contents%}
+<h1 class="heading">R/qtl2 bundle: QC job results</h1>
+
+<div class="explainer">
+ <p>The R/qtl2 bundle you uploaded has passed all automated quality-control
+ checks successfully.</p>
+ <p>You may now continue to load the data into GeneNetwork for the bundle, with
+ the following details:</p>
+</div>
+
+<form id="form-qc-job-results" action="#implement-this" method="POST">
+ <fieldset>
+ <legend>Species</legend>
+ <input type="hidden" name="speciesid" value="{{species.SpeciesId}}" />
+
+ <span class="form-col-1">Name</span>
+ <span class="form-col-2">{{species.Name | capitalize}}</span>
+
+ <span class="form-col-1">Scientific</span>
+ <span class="form-col-2">{{species.FullName | capitalize}}</span>
+ </fieldset>
+
+ <fieldset>
+ <legend>population</legend>
+ <input type="hidden" name="populationid" value="{{populationid}}" />
+
+ <span class="form-col-1">Name</span>
+ <span class="form-col-2">{{population.InbredSetName}}</span>
+
+ <span class="form-col-1">Full Name</span>
+ <span class="form-col-2">{{population.FullName}}</span>
+
+ <span class="form-col-1">Genetic Type</span>
+ <span class="form-col-2">{{population.GeneticType}}</span>
+
+ <span class="form-col-1">Description</span>
+ <span class="form-col-2">{{population.Description or "-"}}</span>
+ </fieldset>
+
+ <fieldset>
+ <legend>R/qtl2 Bundle File</legend>
+ <input type="hidden" name="rqtl2-bundle-file" value="{{rqtl2bundle}}" />
+ <input type="hidden" name="original-filename" value="{{rqtl2bundleorig}}" />
+
+ <span class="form-col-1">Original Name</span>
+ <span class="form-col-2">{{rqtl2bundleorig}}</span>
+
+ <span class="form-col-1">Internal Name</span>
+ <span class="form-col-2">{{rqtl2bundle.name[0:25]}}&hellip;</span>
+ </fieldset>
+
+ <fieldset>
+ <input type="submit" value="continue" class="btn btn-main form-col-2" />
+ </fieldset>
+</form>
+
+{%endblock%}