aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-04-29 12:45:28 +0300
committerBonfaceKilz2021-04-29 12:45:28 +0300
commite048c6321b37a1c05adbfb6754513d7920b10dd8 (patch)
tree956116cc17fe3d151fd93ab65eb8dcf4331704df /wqflask
parent90a6a950fba0bb463cff9669f04a87cab8efb36c (diff)
downloadgenenetwork2-e048c6321b37a1c05adbfb6754513d7920b10dd8.tar.gz
templates: edit_trait.html: New file
Copy of submit_trait.html. This is a copy; that'll form the basis of the new edit page.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/edit_trait.html111
1 files changed, 111 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/edit_trait.html b/wqflask/wqflask/templates/edit_trait.html
new file mode 100644
index 00000000..3572b0a9
--- /dev/null
+++ b/wqflask/wqflask/templates/edit_trait.html
@@ -0,0 +1,111 @@
+{% extends "base.html" %}
+{% block title %}Trait Submission{% endblock %}
+{% block content %}
+<!-- Start of body -->
+ <form method="post" action="/show_temp_trait">
+ <div class="container-fluid">
+
+ {{ flash_me() }}
+
+ <div class="row" style="width: 1400px !important;">
+ <div class="col-xs-3">
+ <section id="description">
+ <div>
+ <h2 style="color: #5a5a5a;">Introduction</h2>
+ <hr>
+ <p>The trait values that you enter are statistically compared with verified genotypes collected at a set of microsatellite markers in each RI set. The markers are drawn from a set of over 750, but for each set redundant markers have been removed, preferentially retaining those that are most informative.</p>
+ <p>These error-checked RI mapping data match theoretical expectations for RI strain sets. The cumulative adjusted length of the RI maps are approximately 1400 cM, a value that matches those of both MIT maps and Chromosome Committee Report maps. See our <a target="_blank" href="http://www.nervenet.org/papers/BXN.html">full description</a> of the genetic data collected as part of the WebQTL project.</p>
+ </div>
+ </section>
+ <br>
+ <section id="description">
+ <div>
+ <h2 style="color: #5a5a5a;">About Your Data</h2>
+ <hr>
+ <p>You can open a separate window giving the number of strains for each data set and sample data.</p>
+ <p>None of your submitted data is copied or stored by this system except during the actual processing of your submission. By the time the reply page displays in your browser, your submission has been cleared from this system.</p>
+ </div>
+ </section>
+ </div>
+ <div style="padding-left:20px" class="col-xs-6" style="width: 600px !important;">
+ <section id="submission_form">
+ <div class="form-group">
+ <h2 style="color: #5a5a5a;">Trait Submission Form</h2>
+ <hr>
+ <div style="margin-bottom: 150px;" class="form-horizontal">
+ <h3>1. Choose Species and Group:</h3>
+ <br>
+ <div class="col-xs-2" style="min-height: 15vh; display: flex; align-items: center;">
+ <img src="/static/new/images/step1.gif">
+ </div>
+ <div class="col-xs-10">
+ <div class="form-group">
+ <label for="species" class="col-xs-2 control-label">Species: </label>
+ <div class="col-xs-4 controls">
+ <select name="species" id="species" class="form-control span3" style="width: 280px !important;"></select>
+ </div>
+ </div>
+ <div class="form-group">
+ <label for="group" class="col-xs-2 control-label">Group: </label>
+ <div class="col-xs-4 controls">
+ <select name="group" id="group" class="form-control span3" style="width: 280px !important;"></select>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div style="padding-bottom: 50px; margin-bottom:400px" class="form-horizontal">
+ <h3>2. Enter Trait Data:</h3>
+ <h4 style="color:red;">File uploading isn't enabled yet, but is coming soon.</h4>
+ <br>
+ <div class="col-xs-2" style="min-height: 50vh; max-height: 100vh; display: flex; align-items: center;">
+ <img src="/static/new/images/step2.gif">
+ </div>
+ <div class="col-xs-10">
+ <div class="form-group" style="padding-left: 15px;">
+ <p>
+ <b>Paste or Type Multiple Values:</b> You can enter data by pasting a series of numbers representing trait values into this area.
+ The values can be on one line separated by spaces or tabs, or they can be on separate lines. Include one value for each individual
+ or line. Use an "x" for missing values. If you have chosen a set of inbred strains, then your data will be displayed in a form in
+ which you can confirm and/or edit. If you enter a file name in the previous section,
+ any data that you paste here will be ignored. Check <a href="http://gn1.genenetwork.org/RIsample.html">sample data</a> for the correct format.
+ </p>
+ <textarea name="trait_paste" rows="6" cols="70"></textarea>
+ </div>
+ </div>
+ <div class="controls" style="display:block; margin-left: 40%; margin-right: 20%;">
+ <input type="submit" style="width: 110px; margin-right: 25px;" class="btn btn-primary form-control col-xs-2" value="Submit Trait">
+ <input type="reset" style="width: 110px;" class="btn btn-primary form-control col-xs-2" value="Reset">
+ </div>
+ </div>
+ <div style="padding-bottom: 50px;" class="form-horizontal">
+ <h3>3. Enable Use of Trait Variance:</h3>
+ <div class="col-xs-2" style=""display: flex; align-items: center;">
+ <img src="/static/new/images/step3.gif">
+ </div>
+ <div class="col-xs-10">
+ <div class="form-group" style="padding-left: 15px;">
+ <p>
+ <b>Name Your Trait:</b> <span style="color:red;">(optional)</span>
+ </p>
+ <textarea name="trait_name" rows="1" cols="30"></textarea>
+ </div>
+ </div>
+ <div class="controls" style="display:block; margin-left: 40%; margin-right: 20%;">
+ <input type="submit" style="width: 110px; margin-right: 25px;" class="btn btn-primary form-control col-xs-2" value="Submit Trait">
+ <input type="reset" style="width: 110px;" class="btn btn-primary form-control col-xs-2" value="Reset">
+ </div>
+ </div>
+ </section>
+ </div>
+ </div>
+ </div>
+ </form>
+
+{%endblock%}
+
+{% block js %}
+ <script src="/static/new/javascript/dataset_select_menu_orig.js"></script>
+ <script>
+ gn_server_url = "{{ gn_server_url }}";
+ </script>
+{% endblock %}