aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes/index.html
blob: 93159be802cfa242c3992040b4aaae195acc1dfb (about) (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
{%extends "phenotypes/base.html"%}
{%from "flash_messages.html" import flash_all_messages%}
{%from "species/macro-select-species.html" import select_species_form%}

{%block title%}Phenotypes{%endblock%}

{%block pagetitle%}Phenotypes{%endblock%}

{%block css%}
<link rel="stylesheet"
      href="{{url_for('base.datatables', filename='css/jquery.dataTables.css')}}" />
{%endblock%}


{%block contents%}
{{flash_all_messages()}}

<div class="row">
  {{select_species_form(url_for("species.populations.phenotypes.index"), species)}}
</div>
{%endblock%}


{%block javascript%}
<script type="text/javascript"
        src="{{url_for('base.datatables',
             filename='js/jquery.dataTables.js')}}"></script>
<script type="text/javascript" src="/static/js/species.js"></script>
<script type="text/javascript">
  $(function() {
      speciesDataTable(JSON.parse($("#tbl-select-species").attr("data-species-list")));
  });
  </script>
{%endblock%}