Remove deprecated adminmedia template tag from loader.
[htsworkflow.git] / htsworkflow / frontend / templates / samples / lanes_for.html
1 {% extends "base_site.html" %}
2 {% load admin_list i18n %}
3
4 {% block bodyclass %}change-list{% endblock %}
5 {% block coltype %}flex{% endblock %}
6
7 {% block content %}
8 <div id="lanes-index-div">
9   <div class="module{% if cl.has_filters %} filtered{% endif %}" id="changelist">
10     {% block search %}{% search_form lanes %}{% endblock %}
11
12     {% block filters %}
13     {% if lanes.has_filters %}
14     <div id="changelist-filter">
15       <h2 >{% trans 'Filter' %}</h2>
16       {% for spec in lanes.filter_specs %}
17          {% admin_list_filter lanes spec %}
18          {% endfor %}
19        </div>
20        {% endif %}
21        {% endblock %}
22
23   
24  {% block pagination %}{% pagination lanes %}{% endblock %}
25
26 {% block body %}
27 <table >
28   <thead >
29     <tr >
30       <td >Run Date</td>
31       <td >Flowcell Type</td>
32       <td >Cycles</td>
33       <td >Flowcell ID</td>
34       <td >Lane</td>
35       <td >Library ID</td>
36       <td >Library Name</td>
37   </tr>
38   </thead>
39   <tbody >
40     {% for lane in lanes.query_set %}
41     <tr >
42       <td >
43         {{ lane.flowcell.run_date|date:"Y-M-d" }}
44       </td>
45       <td >
46         {{ lane.flowcell.flowcell_type }}
47       </td>
48       <td >
49         {{ lane.flowcell.read_length }}
50       </td>
51       <td >
52         {{ lane.flowcell.flowcell_id }}
53       </td>
54       <td >
55         {{ lane.lane_number }}
56       </td>
57       <td >
58         <a href="/library/{{ lane.library_id }}">{{ lane.library_id }}</a>
59       </td>
60       <td >
61         <a href="/library/{{ lane.library_id }}">{{ lane.library.library_name }}</a>
62       </td>
63    </tr>
64     {% endfor %}
65   </tbody>
66 </table>
67 </div>
68 {% endblock %}
69 {% endblock %}