initial attempt to use django restframework
[htsworkflow.git] / htsworkflow / templates / samples / species_list.html
1 {% extends "base_site.html" %}
2 {% load admin_list i18n %}
3 {% load staticfiles %}
4 {% block bodyclass %}change-list{% endblock %}
5 {% block coltype %}flex{% endblock %}
6
7 {% block content %}
8 <div id="species-index-div" >
9   <div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist">
10   {% block summary_stats %}
11   <table class="{% if cl.has_filters %} filtered{% endif %}">
12     <thead >
13       <tr >
14         <td >Species</td>
15         <td >Common Name</td>
16       </tr>
17     </thead>
18     <tbody >
19       {% for s in species %}
20       <tr>
21         <td><a href="{{s.url}}">{{ s.scientific_name }}</a></td>
22         <td>{{ s.common_name }}</td>
23       </tr>
24       {% endfor %}
25     </tbody>
26   </table>
27   </div>
28   {% endblock %}
29 </div>
30 {% endblock %}