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.

{{! 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='#id={{id}}'>
          <div style='overflow: auto; margin-top: 5px; margin-bottom: 5px;'>
            <div class='Ldt-AnnotationsList-Caption'>
              <img src='http://i.imgur.com/aoUlC.jpg'></img>
            </div>
            <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>