src/templates/annotationsListWidget.html
branchpopcorn-port
changeset 585 44a4a4a179c1
child 588 78cf49152d4a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/templates/annotationsListWidget.html	Thu Jan 05 13:15:24 2012 +0100
@@ -0,0 +1,20 @@
+{{! template for the annotation list widget }}
+<div class='Ldt-AnnotationsListWidget'>
+  <!-- ugly div because we want to have a double border -->
+  <div class='Ldt-Annotation-DoubleBorder'>
+    <ul>
+    {{#annotations}}
+      <li>
+        <a href='#a={{id}}'>
+          <div style='overflow: auto; margin-bottom: 10px;'>
+            <img src='http://i.imgur.com/aoUlC.jpg' style='display: block; float: left;'></img>
+            <div class='Ldt-AnnotationsList-Duration'>{{begin}} - {{end}}</div>
+            <div class='Ldt-AnnotationsList-Title'>{{title}}</div>
+            <div class='Ldt-AnnotationsList-Description'>{{desc}}</div>
+          </div>
+        </a>
+      </li>
+    {{/annotations}}
+    </ul>
+  </div>
+</div>