1 {% extends "base_site.html" %}
2 {% load adminmedia admin_list i18n %}
5 <link type="text/css" rel="stylesheet" href="/static/css/app.css" />
7 {% block additional_javascript %}
8 <script type="text/javascript" src="/static/js/jquery.min.js"></script>
9 <script type="text/javascript" src="/static/js/htsw.js"></script>
10 <script type="text/javascript">
11 $(document).ready(function() {
12 $(window).resize(function() {
13 var window_height = $(window).height();
14 var position = $("#changelist table").position();
15 height = window_height - position.top;
16 $("#changelist table.filtered").height(height);
17 $("#changelist-filter").height(height);
24 {% block bodyclass %}change-list{% endblock %}
25 {% block coltype %}flex{% endblock %}
28 <div id="library-index-div" >
29 <div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist">
30 {% block search %}{% search_form cl %}{% endblock %}
32 {% block pagination %}{% pagination cl %}{% endblock %}
35 {% if cl.has_filters %}
36 <div id="changelist-filter">
37 <h2 >{% trans 'Filter' %}</h2>
38 {% for spec in cl.filter_specs %}
39 {% admin_list_filter cl spec %}
44 {% block summary_stats %}
45 <table class="{% if cl.has_filters %} filtered{% endif %}">
51 <td >Library Name</td>
52 <td colspan="3" >Single</td>
53 <td colspan="3" >Paired</td>
68 {% for lib in library_list %}
69 <tr about="/library/{{lib.library_id}}">
70 <td ><a href="/library/{{ lib.library_id }}">{{ lib.amplified_from }}</a></td>
71 <td ><a href="/library/{{ lib.library_id }}" property="libns:library_id">{{ lib.library_id }}</a></td>
72 <td ><a href="/library/{{ lib.library_id }}" property="libns:species_name">{{ lib.species_name }}</a></td>
73 <td ><a href="/library/{{ lib.library_id }}" property="libns:library_name">{{ lib.library_name }}</a></td>
74 <td bgcolor="#00BFFF">{{ lib.lanes_run.0.0 }}</td>
75 <td bgcolor="#00BFFF">{{ lib.lanes_run.0.1 }}</td>
76 <td bgcolor="#00BFFF">{{ lib.lanes_run.0.2 }}</td>
77 <td bgcolor="#66CDAA">{{ lib.lanes_run.1.0 }}</td>
78 <td bgcolor="#66CDAA">{{ lib.lanes_run.1.1 }}</td>
79 <td bgcolor="#66CDAA">{{ lib.lanes_run.1.2 }}</td>
80 {% if lib.is_archived %}
81 <td ><img src="/static/img/hdd_unmount.png" alt="Archived" /></td>