src/templates/annotationsListWidget.html
author hamidouk
Thu, 19 Jan 2012 12:21:37 +0100
branchpopcorn-port
changeset 680 28ffcd88cdfd
parent 588 78cf49152d4a
child 697 638313aab3f2
permissions -rw-r--r--
follow mediafragment conventions for links.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
585
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
     1
{{! template for the annotation list widget }}
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
     2
<div class='Ldt-AnnotationsListWidget'>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
     3
  <!-- ugly div because we want to have a double border -->
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
     4
  <div class='Ldt-Annotation-DoubleBorder'>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
     5
    <ul>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
     6
    {{#annotations}}
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
     7
      <li>
680
28ffcd88cdfd follow mediafragment conventions for links.
hamidouk
parents: 588
diff changeset
     8
        <a href='#id={{id}}'>
588
78cf49152d4a got a decent-looking list.
hamidouk
parents: 585
diff changeset
     9
          <div style='overflow: auto; margin-top: 5px; margin-bottom: 5px;'>
78cf49152d4a got a decent-looking list.
hamidouk
parents: 585
diff changeset
    10
            <div class='Ldt-AnnotationsList-Caption'>
78cf49152d4a got a decent-looking list.
hamidouk
parents: 585
diff changeset
    11
              <img src='http://i.imgur.com/aoUlC.jpg'></img>
78cf49152d4a got a decent-looking list.
hamidouk
parents: 585
diff changeset
    12
            </div>
585
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    13
            <div class='Ldt-AnnotationsList-Duration'>{{begin}} - {{end}}</div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    14
            <div class='Ldt-AnnotationsList-Title'>{{title}}</div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    15
            <div class='Ldt-AnnotationsList-Description'>{{desc}}</div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    16
          </div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    17
        </a>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    18
      </li>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    19
    {{/annotations}}
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    20
    </ul>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    21
  </div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    22
</div>