6c517e648820940d56fde5e42eebab378e3e0cd1
[htsworkflow.git] / htsworkflow / frontend / templates / experiments / flowcell_lane_detail.html
1 {% extends "base_site.html" %}
2 {% load adminmedia humanize i18n %}
3 {% block extrahead %}
4     <!-- App Stuff -->
5     <link type="text/css" rel="stylesheet" href="/static/css/app.css" />
6     <script type="text/javascript" src="/static/js/jquery.min.js"></script>
7
8     {% block additional_javascript %}
9     {% endblock %}
10 {% endblock %}
11
12 {% block content %}
13 <div id="lane_detail" class="htswdetail" rel="rdf:type" resource="libns:IlluminaLane">
14   <div rel="libns:flowcell" resource="{{flowcell.get_absolute_url}}">
15   {% include "experiments/flowcell_header.html" %}
16   <div class="flowcell_lane_detail">
17   <h2>About this lane</h2>
18   <b>Lane</b>:
19     <span property="libns:lane_number" datatype="xsd:decimal">{{lane.lane_number}}</span><br/>
20   <b>pM</b>:
21     <span property="libns:pM" datatype="xsd:decimal">{{ lane.pM }}</span><br/>
22   <b>Cluster Estimate</b>:
23     <span property="libns:cluster_estimate" datatype="xsd:decimal"
24           content="{{lane.cluster_estimate}}">{{ lane.cluster_estimate|intcomma }}</span><br/>
25   <b>Lane Status</b>:
26     <span property="libns:status">{{ lane.status }}</span><br/>
27   <b>Comments</b>:
28     <span property="libns:comment">{{ lane.comment }}</span><br/>
29   </div>
30   <hr/>
31   {% include "sample_header.html" %}
32   <hr/>
33   <div class="htsw_flowcell_ivc">
34   {% for run in flowcell.datarun_set.all %}
35      <h2>Run {{ run.runfolder_name }}</h2>
36      <table>
37        <thead>
38          <tr>
39            <td>Lane</td>
40            <td>IVC All</td>
41            <td>IVC Call</td>
42            <td>IVC Percent Base</td>
43            <td>IVC Percent Base All</td>
44            <td>IVC Percent Base Called</td>
45        </thead>
46        <tbody>
47           {% for run, lane_number, lane_file_set in filtered_dataruns %}
48           {% if lane_file_set.ivc_all %}
49           <tr>
50             <td>{{lane_number}}</td>
51             <td>
52               <a href="{{ lane_file_set.ivc_all.get_absolute_url }}">
53               <img height="84" width="126" src="{{ lane_file_set.ivc_all.get_absolute_url }}"/></a>
54             </td>
55             <td>
56               <a href="{{ lane_file_set.ivc_call.get_absolute_url }}">
57               <img height="84" width="126" src="{{ lane_file_set.ivc_call.get_absolute_url }}"/>
58               </a>
59             </td>
60             <td>
61               <a href="{{ lane_file_set.ivc_percent_base.get_absolute_url }}">
62               <img height="84" width="126" src="{{ lane_file_set.ivc_percent_base.get_absolute_url }}"/>
63               </a>
64             </td>
65             <td>
66               <a href="{{ lane_file_set.ivc_percent_all.get_absolute_url }}">
67               <img height="84" width="126" src="{{ lane_file_set.ivc_percent_all.get_absolute_url }}"/>
68               </a>
69             </td>
70             <td>
71               <a href="{{ lane_file_set.ivc_percent_call.get_absolute_url }}">
72               <img height="84" width="126" src="{{ lane_file_set.ivc_percent_call.get_absolute_url }}"/>
73               </a>
74             </td>
75           </tr>
76           {% endif %}
77           {% endfor %}
78        </tbody>
79      </table>
80   {% endfor %}
81   </div>
82 {% endblock %}