aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/submit_trait.html
blob: cb09a614a6589ca60747a405c42e847a19ec599e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{% extends "index_page.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>
      gn_server_url = "{{ gn_server_url }}";
    </script>
    <script src="/static/new/javascript/dataset_select_menu_orig.js"></script>
{% endblock %}