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="library-index-div" >
21 <div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist">
22 {% block search %}{% search_form cl %}{% endblock %}
24 {% block pagination %}{% pagination cl %}{% endblock %}
27 {% if cl.has_filters %}
28 <div id="changelist-filter">
29 <h2 >{% trans 'Filter' %}</h2>
30 {% for spec in cl.filter_specs %}
31 {% admin_list_filter cl spec %}
36 {% block summary_stats %}
37 <table class="{% if cl.has_filters %} filtered{% endif %}">
43 <td >Library Name</td>
44 <td colspan="3" >Single</td>
45 <td colspan="3" >Paired</td>
60 {% for lib in library_list %}
62 <td ><a href="/library/{{ lib.library_id }}">{{ lib.amplified_from }}</a></td>
63 <td ><a href="/library/{{ lib.library_id }}">{{ lib.library_id }}</a></td>
64 <td ><a href="/library/{{ lib.library_id }}">{{ lib.species_name }}</a></td>
65 <td ><a href="/library/{{ lib.library_id }}">{{ lib.library_name }}</a></td>
66 <td bgcolor="#00BFFF">{{ lib.lanes_run.0.0 }}</td>
67 <td bgcolor="#00BFFF">{{ lib.lanes_run.0.1 }}</td>
68 <td bgcolor="#00BFFF">{{ lib.lanes_run.0.2 }}</td>
69 <td bgcolor="#66CDAA">{{ lib.lanes_run.1.0 }}</td>
70 <td bgcolor="#66CDAA">{{ lib.lanes_run.1.1 }}</td>
71 <td bgcolor="#66CDAA">{{ lib.lanes_run.1.2 }}</td>
72 {% if lib.is_archived %}
73 <td ><img src="/static/img/hdd_unmount.png" alt="Archived" /></td>