aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/continue_from_create_study.html
blob: 34e6e5e172123aeac55d41367f3af2620295387d (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
{%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="row">
  <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)}}

    <button type="submit" class="btn btn-primary">continue</button>
  </form>
</div>

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

<div class="row">
  <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)}}

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