Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
CoNekT/planet/templates/async/family_stats.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
27 lines (27 sloc)
937 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="table-responsive"> | |
<table class="table table-striped stupidtable"> | |
<thead> | |
<tr> | |
<th data-sort="string-ins">Label</th> | |
<th data-sort="int">Sequence count</th> | |
<th data-sort="int">Species count</th> | |
</tr> | |
</thead> | |
<tbody> | |
{% for family_id, family_stat in family_stats.items() %} | |
<tr> | |
<td><a href="{{ url_for('family.family_view', family_id=family_id) }}">{{ family_stat.family.name }}</a></td> | |
<td>{{ family_stat.count }}</td> | |
<td>{{ family_stat.species_count }}</td> | |
</tr> | |
{% else %} | |
<tr> | |
<td> | |
<p>No associated families for this item in the database.</p> | |
</td> | |
<td></td> | |
</tr> | |
{% endfor %} | |
</tbody> | |
</table> | |
</div> |