src/templates/annotationsListWidget.html
author hamidouk
Thu, 05 Jan 2012 13:15:24 +0100
branchpopcorn-port
changeset 585 44a4a4a179c1
child 588 78cf49152d4a
permissions -rw-r--r--
first version of the AnnotationListWidget.
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>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
     8
        <a href='#a={{id}}'>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
     9
          <div style='overflow: auto; margin-bottom: 10px;'>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    10
            <img src='http://i.imgur.com/aoUlC.jpg' style='display: block; float: left;'></img>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    11
            <div class='Ldt-AnnotationsList-Duration'>{{begin}} - {{end}}</div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    12
            <div class='Ldt-AnnotationsList-Title'>{{title}}</div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    13
            <div class='Ldt-AnnotationsList-Description'>{{desc}}</div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    14
          </div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    15
        </a>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    16
      </li>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    17
    {{/annotations}}
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    18
    </ul>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    19
  </div>
44a4a4a179c1 first version of the AnnotationListWidget.
hamidouk
parents:
diff changeset
    20
</div>