Current work on simplifying the inventory tracking page.
[htsworkflow.git] / htsworkflow / frontend / templates / inventory / inventory_category.html
1 {% extends "base_site.html" %}
2 {% load adminmedia admin_list i18n %}
3 {% block bodyclass %}change-list{% endblock %}
4 {% block coltype %}flex{% endblock %}
5 {% block content %}
6 <div id="inventory-index-div" >
7   <div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist">
8     {% block search %}{% search_form item_changelist %}{% endblock %}
9  
10     {% block pagination %}{% pagination item_changelist %}{% endblock %}
11
12     {% block filters %}
13     {% if item_changelist.has_filters %}
14     <div id="changelist-filter">
15       <h2 >{% trans 'Filter' %}</h2>
16       {% for spec in item_changelist.filter_specs %}
17          {% admin_list_filter cl spec %}
18          {% endfor %}
19        </div>
20     {% endif %}
21     {% endblock %}
22   {% block summary_stats %}
23   <table class="{% if cl.has_filters %} filtered{% endif %}">
24     <thead >
25       <tr >
26         <td >Object Type</td>
27       </tr>
28     </thead>
29     <tbody >
30       {% for item in item_changelist.get_query_set %}
31       <tr >
32         <td >{{ item.name }}</td>
33       </tr>
34       {% endfor %}
35     </tbody>
36   </table>
37   {% endblock %}
38 </div>
39 {% endblock %}