aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/continue_from_create_study.html
blob: 3684f57bd5b817b58a0fed50ee82b63ef428e932 (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
{%extends "base.html"%}
{%from "dbupdate_hidden_fields.html" import hidden_fields%}

{%block title%}Create Study{%endblock%}

{%block css%}
<link rel="stylesheet" href="/static/css/two-column-with-separator.css" />
{%endblock%}

{%block contents%}
<h2 class="heading">{{filename}}: create study</h2>

{%with messages = get_flashed_messages(with_categories=true)%}
{%if messages:%}
<ul>
  {%for category, message in messages:%}
  <li class="{{category}}">{{message}}</li>
  {%endfor%}
</ul>
{%endif%}
{%endwith%}

<div class="two-column-with-separator">
  <form method="POST" action="{{url_for('dbinsert.select_dataset')}}"
	id="select-platform-form" data-genechips="{{genechips_data}}"
	class="two-col-sep-col1">
    <legend>continue with new study</legend>
    {{hidden_fields(
    filename, filetype, species=species, genechipid=genechipid,
    studyid=studyid, totallines=totallines)}}

    <fieldset>
      <input type="submit"
	     value="continue"
	     class="btn btn-main form-col-2" />
    </fieldset>
  </form>

  <p class="two-col-sep-separator">OR</p>

  <form method="POST" action="{{url_for('dbinsert.select_study')}}"
	id="select-platform-form" data-genechips="{{genechips_data}}"
	class="two-col-sep-col2">
    <legend>Select from existing study</legend>
    {{hidden_fields(
    filename, filetype, species=species, genechipid=genechipid,
    studyid=studyid, totallines=totallines)}}

    <fieldset>
      <input type="submit"
	     value="go back"
	     class="btn btn-main form-col-2" />
    </fieldset>
  </form>
</div>
{%endblock%}