diff options
author | DannyArends | 2016-03-22 17:58:23 +0100 |
---|---|---|
committer | Pjotr Prins | 2016-04-20 10:16:46 +0000 |
commit | 3e1e63f3280a652e57cef5b4a526b321142296ce (patch) | |
tree | 6f350a56f05a1cb538e89973e0a7266b3b66150c /wqflask | |
parent | 47f0a34f040189898ad03bb2ddd34e25295c3eb8 (diff) | |
download | genenetwork2-3e1e63f3280a652e57cef5b4a526b321142296ce.tar.gz |
[PATCH 082/100] Testing passing information between the templates
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/ctl_results.html | 9 | ||||
-rw-r--r-- | wqflask/wqflask/templates/ctl_setup.html | 19 |
2 files changed, 28 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/ctl_results.html b/wqflask/wqflask/templates/ctl_results.html new file mode 100644 index 00000000..d978b38d --- /dev/null +++ b/wqflask/wqflask/templates/ctl_results.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} +{% block title %}CTL results{% endblock %} + +{% block content %} <!-- Start of body --> +<div class="container"> + <h1>CTL Results</h1> + {{request.form['trait_list'].split(',')|length}} phenotypes as input +</div> +{% endblock %} diff --git a/wqflask/wqflask/templates/ctl_setup.html b/wqflask/wqflask/templates/ctl_setup.html new file mode 100644 index 00000000..a5f1daf6 --- /dev/null +++ b/wqflask/wqflask/templates/ctl_setup.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} +{% block title %}WCGNA analysis{% endblock %} + +{% block content %} <!-- Start of body --> +<div class="container"> + <h1>CTL analysis parameters</h1> + {{request.form['trait_list'].split(',')|length}} phenotypes as input + +<form action="/ctl_results" method="post" class="form-horizontal"> + <input type="hidden" name="trait_list" id="trait_list" value= "{{request.form['trait_list']}}"> + <div class="form-group"> + <div class="col-sm-10"> + <input type="submit" class="btn btn-primary" value="Run WGCNA using these settings" /> + </div> + </div> +</form> + +</div> +{% endblock %} |