src/templates/annotationsListWidget.html
author hamidouk
Wed, 25 Jan 2012 17:27:21 +0100
branchpopcorn-port
changeset 713 2857dc5aad3b
parent 697 638313aab3f2
child 717 2dce6b9a04c4
permissions -rw-r--r--
fixed a bug in a template.
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>
697
638313aab3f2 added a condition in case url are defined or not.
hamidouk
parents: 680
diff changeset
     8
        {{^url}}
680
28ffcd88cdfd follow mediafragment conventions for links.
hamidouk
parents: 588
diff changeset
     9
        <a href='#id={{id}}'>
697
638313aab3f2 added a condition in case url are defined or not.
hamidouk
parents: 680
diff changeset
    10
        {{/url}}
713
2857dc5aad3b fixed a bug in a template.
hamidouk
parents: 697
diff changeset
    11
        {{#url}}
697
638313aab3f2 added a condition in case url are defined or not.
hamidouk
parents: 680
diff changeset
    12
        <a href='{{url}}#id={{id}}'>
713
2857dc5aad3b fixed a bug in a template.
hamidouk
parents: 697
diff changeset
    13
        {{/url}}
588
78cf49152d4a got a decent-looking list.
hamidouk
parents: 585
diff changeset
    14
          <div style='overflow: auto; margin-top: 5px; margin-bottom: 5px;'>
78cf49152d4a got a decent-looking list.
hamidouk
parents: 585
diff changeset
    15
            <div class='Ldt-AnnotationsList-Caption'>
78cf49152d4a got a decent-looking list.
hamidouk
parents: 585
diff changeset
    16
              <img src='http://i.imgur.com/aoUlC.jpg'></img>
78cf49152d4a got a decent-looking list.
hamidouk
parents: 585
diff changeset
    17
            </div>
585
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    18
            <div class='Ldt-AnnotationsList-Duration'>{{begin}} - {{end}}</div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    19
            <div class='Ldt-AnnotationsList-Title'>{{title}}</div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    20
            <div class='Ldt-AnnotationsList-Description'>{{desc}}</div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    21
          </div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    22
        </a>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    23
      </li>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    24
    {{/annotations}}
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    25
    </ul>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    26
  </div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    27
</div>