aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes/select-population.html
blob: d6e6aa1ceacfb6f520c8714b8eb052b4b5e57c04 (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-display-species-card.html" import display_species_card%}
{%from "populations/macro-select-population.html" import select_population_form%}

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

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


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


<div class="row">
  {{select_population_form(url_for("species.populations.phenotypes.select_population", species_id=species.SpeciesId), species, populations)}}
</div>
{%endblock%}

{%block sidebarcontents%}
{{display_species_card(species)}}
{%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/populations.js"></script>
<script type="text/javascript">
  $(function() {
      populationDataTable(JSON.parse($("#tbl-select-population").attr("data-populations-list")));
  });
  </script>
{%endblock%}