aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/rqtl2/summary-info.html
blob: 1be87fae9e484813c3dccbb572c47ebb9c76e234 (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
{%extends "base.html"%}
{%from "flash_messages.html" import flash_messages%}

{%block title%}Upload R/qtl2 Bundle{%endblock%}

{%block contents%}
<h2 class="heading">Summary</h2>

<div class="row">
  <p>This is the information you have provided to accompany the R/qtl2 bundle
    you have uploaded. Please verify the information is correct before
    proceeding.</p>
</div>

<div class="row">
  <dl>
    <dt>Species</dt>
    <dd>{{species.SpeciesName}} ({{species.FullName}})</dd>

    <dt>Population</dt>
    <dd>{{population.InbredSetName}}</dd>

    {%if geno_dataset%}
    <dt>Genotype Dataset</dt>
    <dd>{{geno_dataset.Name}} ({{geno_dataset.FullName}})</dd>
    {%endif%}

    {%if tissue%}
    <dt>Tissue</dt>
    <dd>{{tissue.TissueName}} ({{tissue.Name}}, {{tissue.Short_Name}})</dd>
    {%endif%}

    {%if probe_study%}
    <dt>ProbeSet Study</dt>
    <dd>{{probe_study.Name}} ({{probe_study.FullName}})</dd>
    {%endif%}

    {%if probe_dataset%}
    <dt>ProbeSet Dataset</dt>
    <dd>{{probe_dataset.Name2}} ({{probe_dataset.FullName}})</dd>
    {%endif%}
  </dl>
</div>

<div class="row">
  <form id="frm:confirm-rqtl2bundle-details"
        action="{{url_for('upload.rqtl2.confirm_bundle_details',
	        species_id=species.SpeciesId,
	        population_id=population.InbredSetId)}}"
        method="POST"
        enctype="multipart/form-data">
    <legend class="heading">Create ProbeSet dataset</legend>

    <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}}" />
    <input type="hidden" name="geno-dataset-id" value="{{geno_dataset.Id}}" />
    <input type="hidden" name="probe-study-id" value="{{probe_study.Id}}" />
    <input type="hidden" name="probe-dataset-id" value="{{probe_dataset.Id}}" />

    <button type="submit" class="btn btn-primary">continue</button>
  </form>
</div>
{%endblock%}