Update templates to consistently use {% static %} instead of hard coding paths
[htsworkflow.git] / htsworkflow / frontend / templates / experiments / flowcell_header.html
1 {% load staticfiles %}
2 <div class="flowcell_identity" typeof="libns:IlluminaFlowcell" resource="{{flowcell.get_absolute_url}}">
3   <h2>About this Flowcell</h2>
4   <b>Flowcell</b>:
5     <a href="{{flowcell.get_absolute_url}}"><span property="libns:flowcell_id">{{flowcell.flowcell_id}}</span></a>{% if user.is_staff %}<a href="{{flowcell.get_admin_url}}"><img class="icon_button" src="{% static "admin/img/icon_changelink.gif" %}" alt="Edit"/></a>{% endif%}
6   <br/>
7   <div rel="libns:sequenced_by">
8   <div typeof="libns:Sequencer"
9        about="{{flowcell.sequencer.get_absolute_url}}">
10   <b>Instrument</b>:
11     <span property="libns:sequencer_name">{{ flowcell.sequencer.name }}</span>
12     {% if flowcell.sequencer.instrument_name %}
13     (<span property="libns:sequencer_instrument">{{ flowcell.sequencer.instrument_name}}</span>)
14     {% endif %}
15     <br/>
16   <b>Instrument Model</b>:
17     <span property="libns:sequencer_model">{{flowcell.sequencer.model}}</span>
18     <br/>
19   </div>
20   </div>
21   {% for datarun in flowcell.datarun_set.all %}
22   <b>Image Analysis</b>:
23     <span property="libns:image_software">{{datarun.image_software}}</span>
24     <span property="libns:image_version">{{datarun.image_version}}</span><br/>
25   <b>Base Caller</b>:
26     <span property="libns:basecall_software">{{datarun.basecall_software}}</span>
27     <span property="libns:basecall_version">{{datarun.basecall_version}}</span><br/>
28   <b>Alignment</b>:
29     <span property="libns:alignment_software">{{datarun.alignment_software}}</span>
30     <span property="libns:alignment_version">{{datarun.alignment_version}}</span><br/>
31   {% endfor %}
32   <b>Run Date</b>:
33     <span property="libns:date" content="{{flowcell.run_date|date:'Y-m-d\TH:i:s'}}" datatype="xsd:dateTime">{{ flowcell.run_date }}</span><br/>
34   <b>Type</b>:
35     <span property="libns:flowcell_type">{{flowcell.flowcell_type}}</span><br/>
36   <b>Read Length</b>:
37     <span property="libns:read_length" datatype="xsd:integer">{{flowcell.read_length}}</span><br/>
38   <b>Control Lane</b>:
39     <span property="libns:control_lane">{{flowcell.control_lane}}</span><br/>
40
41   <b>Notes</b>:
42     <pre property="libns:flowcell_notes">{{flowcell.notes}}</pre>
43  </div>