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