1 {% extends "base_site.html" %}
2 {% load 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 item_changelist.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 item_changelist spec %}
36 {% block summary_stats %}
37 <table class="{% if item_changelist.has_filters %} filtered{% endif %}">
50 {% for item in item_changelist.result_list %}
51 <tr about="{{ item.get_absolute_url }}">
52 <td ><a href="{{ item.get_absolute_url}}" rel="invns:uuid">{{ item.uuid }}</a></td>
53 <td ><a href="/inventory/{{ item.barcode_id }}/" rel="invns:barcode">{{ item.barcode_id }}</a></td>
54 <td property="invns:location">{{ item.location }}</td>
55 <td property="invns:item_type">{{ item.item_type }}</td>
57 <td property="invnfs:creation_date" content="{{item.creation_date|date:'Y-m-d\TH:i:s'}}" datatype="xsd:dateTime">{{ item.creation_date }}</td>
58 <td class="cell_list" >
59 {% for content in item.longtermstorage_set.all %}
60 <a href="{{content.flowcell.get_absolute_url}}" rel="libns:flowcell_id">{{ content.flowcell }}</a>