8839d71ef1de38e3610ae9b2917d35ce7c6c39d6
[htsworkflow.git] / htsworkflow / frontend / templates / sample_header.html
1 <div id="librarydetail">
2   <div class="library_identity">
3     <h2>Library Name</h2>  
4     <b>Library ID</b>: <a href="{{lib.get_absolute_url}}">{{ lib.id }}</a><br/>
5     <b>Name</b>: 
6       <span property="libns:name">{{ lib.library_name }}</span>
7     <br/>
8     <b>Affiliations</b>:
9     <ul>
10       {% for individual in lib.affiliations.all %}
11         <li property="libns:affiliation" content="{{individual.name}}">
12           {{ individual.name }} ( {{ individual.contact }} )
13         </li>
14       {% endfor %}
15     </ul>
16   </div>
17   <div class="library_sample_detail">
18     <h2>Sample Details</h2>
19     <b>Species</b>: 
20       <a href="{{lib.library_species.get_absolute_url}}" property="libns:species">{{ lib.library_species.scientific_name }}</a>
21     <br/>
22     <b>Experiment Type</b>:
23        <span property="libns:experiment_type">{{ lib.experiment_type }}</span>
24     <br/>
25     {% if lib.antibody %}
26     <b>Antibody</b>:
27        <span property="libns:antibody">{{ lib.antibody.antibodies }}</span>
28        {% if lib.antibody.antibodies.nuckname %}
29        (<span property="libns:antibody_term">{{ lib.antibody.nickname }}</span>)
30        {% endif %}
31     <br/>
32     {% endif %}
33     {% if lib.cell_line %}
34     <b>Background or Cell Line</b>:
35        <span property="libns:cell_line">{{ lib.cell_line }}</span>
36     <br/>
37     {% endif %}
38     {% if lib.condition %}
39     <b>Condition</b>:
40        <span property="libns:condition">{{ lib.condition.condition_name }}</span>
41        {% if lib.condition.nickname %}
42        (<span property="libns:condition_term">{{ lib.condition.nickname }}</span>)
43        {% endif %}
44     <br/>
45     {% endif %}
46     {% if lib.replicate %}
47     <b>Replicate</b>: 
48        <span property="libns:replicate">{{ lib.replicate }}</span>
49     <br/>
50     {% endif %}
51   </div>
52   <div class="library_library_detail">
53     <h2>Library Details</h2>
54     <b>Library Type</b>:
55        <span property="libns:library_type">{{ lib.library_type }}</span>
56     <br/>
57     <b>Creation Date</b>
58       <span property="libns:date" content="{{lib.creation_date|date:'Y-m-d'}}T00:00:00" datatype="xsd:dateTime">{{ lib.creation_date }}</span>
59     <br/> 
60     <b>Made By</b>: 
61       <span property="libns:made_by">{{ lib.made_by }}</span>
62     <br/>
63     {% if lib.gel_cut_size %}
64     <b>Gel Cut Size</b>: 
65       <span property="libns:gel_cut">{{ lib.gel_cut_size }}</span>
66     <br/>
67     {% endif %}
68     {% if lib.insert_size %}
69     <b>Insert Size</b>: 
70       <span property="libns:insert_size">{{ lib.insert_size }}</span>
71     <br/>
72     {% endif %}
73     {% if lib.undiluted_concentration %}
74     <b>Concentration</b>: 
75       <span property="libns:concentration">{{ lib.undiluted_concentration }} ng/µl</span>
76     <br/>
77     {% endif %}
78     {% if lib.stopping_point_name %}
79     <b>Protocol Stopping Point</b>
80       <span property="libns:stopping_point">{{ lib.stopping_point_name }}</span>
81     <br/>
82     {% endif %}
83   </div>