Make the public html pages valid xhtml, and validate more RDFa cases.
[htsworkflow.git] / htsworkflow / frontend / templates / experiments / flowcell_header.html
index 412d3ac6b16ae4a02d4243f983787677f0bf9173..f71ae0fed0e77a05520b7e35c6f631004d437666 100644 (file)
@@ -1,8 +1,8 @@
-  <div class="flowcell_identity">
+<div class="flowcell_identity" typeof="libns:IlluminaFlowcell" resource="{{flowcell.get_absolute_url}}">
   <h2>About this Flowcell</h2>
   <b>Flowcell</b>:
-    <a href="{{flowcell.get_absolute_url}}" property="libns:flowcell_id">{{flowcell.flowcell_id}}</a>{% if user.is_staff %}<a href="{{flowcell.get_admin_url}}"><img class="icon_button" src="/media/img/admin/icon_changelink.gif" alt="Edit"/></a>{% endif%}
-  <br rel="rdf:type" resource="http://jumpgate.caltech.edu/wiki/LibraryOntology#IlluminaFlowcell"/>
+    <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="/media/img/admin/icon_changelink.gif" alt="Edit"/></a>{% endif%}
+  <br/>
   <div rel="libns:sequenced_by">
   <div typeof="libns:Sequencer"
        about="{{flowcell.sequencer.get_absolute_url}}">
   <b>Type</b>:
     <span property="libns:flowcell_type">{{flowcell.flowcell_type}}</span><br/>
   <b>Read Length</b>:
-    <span property="libns:read_length" datatype="xsd:decimal">{{flowcell.read_length}}</span><br/>
+    <span property="libns:read_length" datatype="xsd:integer">{{flowcell.read_length}}</span><br/>
   <b>Control Lane</b>:
-    <span property="libns:control_lane" datatype="xsd:decimal">{{flowcell.control_lane}}</span><br/>
+    <span property="libns:control_lane">{{flowcell.control_lane}}</span><br/>
 
   <b>Notes</b>:
     <pre property="libns:flowcell_notes">{{flowcell.notes}}</pre>
 </div>
+ </div>