1 {% extends "base_site.html" %}
2 {% load adminmedia admin_list i18n %}
4 <script type="text/javascript">
5 $(document).ready(function() {
6 $(window).resize(function() {
7 var window_height = $(window).height();
8 var position = $("#changelist table").position();
9 height = window_height - position.top;
10 $("#changelist table.filtered").height(height);
11 $("#changelist-filter").height(height);
17 {% block bodyclass %}change-list{% endblock %}
18 {% block coltype %}flex{% endblock %}
20 <div id="inventory-index-div" >
21 <div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist">
22 {% block search %}{% search_form item_changelist %}{% endblock %}
24 {% block pagination %}{% pagination item_changelist %}{% endblock %}
27 {% if item_changelist.has_filters %}
28 <div id="changelist-filter">
29 <h2 >{% trans 'Filter' %}</h2>
30 {% for spec in item_changelist.filter_specs %}
31 {% admin_list_filter cl spec %}
36 {% block summary_stats %}
37 <table class="{% if cl.has_filters %} filtered{% endif %}">
50 {% for item in item_changelist.get_query_set %}
52 <td >{{ item.uuid }}</td>
53 <td >{{ item.barcode_id}}</td>
54 <td >{{ item.location }}</td>
55 <td >{{ item.item_type }}</td>
57 <td >{{ item.creation_date }}</td>
59 {% for content in item.longtermstorage_set.all %}
60 {{ content.flowcell }}