blob: 6b5f1e0a3843f42657e3c178d1b978ec549bd226 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
{%from "species/macro-display-species-card.html" import display_species_card,display_sui_species_card%}
{%macro display_population_card(species, population)%}
{{display_species_card(species)}}
<div class="card">
<div class="card-body">
<h5 class="card-title">Population</h5>
<div class="card-text">
<table class="table">
<tbody>
<tr>
<td>Name</td>
<td>{{population.Name}}</td>
</tr>
<tr>
<td>Full Name</td>
<td>{{population.FullName}}</td>
</tr>
<tr>
<td>Code</td>
<td>{{population.InbredSetCode}}</td>
</tr>
<tr>
<td>Genetic Type</td>
<td>{{population.GeneticType}}</td>
</tr>
<tr>
<td>Family</td>
<td>{{population.Family}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
{%endmacro%}
{%macro display_sui_population_card(species, population)%}
{{display_sui_species_card(species)}}
<div class="row">
<table class="table">
<caption>Current population</caption>
<tbody>
<tr>
<th>Name</th>
<td>{{population.Name}}</td>
</tr>
<tr>
<th>Full Name</th>
<td>{{population.FullName}}</td>
</tr>
<tr>
<th>Code</th>
<td>{{population.InbredSetCode}}</td>
</tr>
<tr>
<th>Genetic Type</th>
<td>{{population.GeneticType}}</td>
</tr>
<tr>
<th>Family</th>
<td>{{population.Family}}</td>
</tr>
</tbody>
</table>
</div>
{%endmacro%}
|