|
a |
|
b/qiita_pet/templates/ebi_submission.html |
|
|
1 |
{% extends sitebase.html %} |
|
|
2 |
{% block content %} |
|
|
3 |
|
|
|
4 |
<h1>Submission summary for study: <b>{{study_title}}</b></h1> |
|
|
5 |
|
|
|
6 |
<form role="form" action="{% raw qiita_config.portal_dir %}/ebi_submission/{{preprocessed_data_id}}" method="post"> |
|
|
7 |
<div class="panel panel-default"> |
|
|
8 |
<div class="panel-heading"> |
|
|
9 |
The information below describes information contained in the sample |
|
|
10 |
and prep templates which will be submitted to EBI. |
|
|
11 |
</div> |
|
|
12 |
|
|
|
13 |
{% if level != 'danger' %} |
|
|
14 |
<table class="table"> |
|
|
15 |
{% for category, summary in stats %} |
|
|
16 |
<tr> |
|
|
17 |
<th colspan="2" align="center">{{category}}</th> |
|
|
18 |
</tr> |
|
|
19 |
<tr> |
|
|
20 |
<td>{{summary}}</td> |
|
|
21 |
</tr> |
|
|
22 |
{% end %} |
|
|
23 |
{% end %} |
|
|
24 |
</table> |
|
|
25 |
</div> |
|
|
26 |
The investigation type is: <b>{{investigation_type}}</b> |
|
|
27 |
<br/><br/> |
|
|
28 |
{% if investigation_type %} |
|
|
29 |
{% if level != 'danger' %} |
|
|
30 |
{% if allow_submission %} |
|
|
31 |
<br/> |
|
|
32 |
What kind of submission do you want to do? |
|
|
33 |
<select name="submission_type"> |
|
|
34 |
<option value="ADD">ADD</option> |
|
|
35 |
<option value="MODIFY">MODIFY</option> |
|
|
36 |
</select> |
|
|
37 |
<br/><br/> |
|
|
38 |
<input type="submit" class="btn btn-primary" value="Submit to EBI"> |
|
|
39 |
{% else %} |
|
|
40 |
<b>{% raw ebi_disabled_msg %} |
|
|
41 |
{% end %} |
|
|
42 |
{% end %} |
|
|
43 |
{% else %} |
|
|
44 |
<b>You need to set an investigation type to continue!</b> |
|
|
45 |
{% end %} |
|
|
46 |
<br/><br/> |
|
|
47 |
<a class="btn btn-primary" href="{% raw qiita_config.portal_dir %}/study/description/{{study_id}}?top_tab=preprocessed_data_tab&sub_tab={{preprocessed_data_id}}">Return to study</a> |
|
|
48 |
</form> |
|
|
49 |
{% end %} |