--- a +++ b/qiita_pet/templates/vamps_submission.html @@ -0,0 +1,40 @@ +{% extends sitebase.html %} +{% block content %} + +<h1>Submission summary for study: <b>{{study_title}}</b></h1> + +<form role="form" action="{% raw qiita_config.portal_dir %}/vamps/{{preprocessed_data_id}}" method="post"> + <div class="panel panel-default"> + <div class="panel-heading"> + The information below describes information contained in the sample + and prep templates which will be submitted to VAMPS. + </div> + + {% if level != 'danger' %} + <table class="table"> + {% for category, summary in stats %} + <tr> + <th colspan="2" align="center">{{category}}</th> + </tr> + <tr> + <td>{{summary}}</td> + </tr> + {% end %} + {% end %} + </table> + </div> + The investigation type is: <b>{{investigation_type}}</b> + <br/><br/> + + {% if level != 'danger' %} + {% if allow_submission %} + <input type="submit" class="btn btn-primary" value="Submit to VAMPS"> + {% else %} + <b>{% raw disabled_msg %} + {% end %} + {% end %} + + <br/><br/> + <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> +</form> +{% end %}