src/templates/annotationsListWidget.html
author veltr
Wed, 18 Apr 2012 18:58:44 +0200
branchnew-model
changeset 870 2c025db10a10
parent 842 4ae2247a59f4
child 874 38b65761a7d5
permissions -rw-r--r--
Migrated playerWidget and started annotationsListWidget

{{! template for the annotation list widget }}
<div class='Ldt-AnnotationsListWidget'>
    <ul class='Ldt-AnnotationsList-ul'>
        {{#annotations}}
        <li id='Ldt-Annotation-li-{{id}}' class='Ldt-AnnotationsList-li Ldt-TraceMe'>
            {{#url}} <a href='{{url}}'> {{/url}}
                <img class='Ldt-AnnotationsList-Thumbnail' src='{{thumbnail}}' />
            </a>
            <div class='Ldt-AnnotationsList-Duration'>
                <span class='Ldt-AnnotationsList-Begin'>{{begin}}</span>
                <span class='Ldt-AnnotationsList-TcSeparator'>-</span>
                <span class='Ldt-AnnotationsList-End'>{{end}}</span>
            </div>
            <div class='Ldt-AnnotationsList-Title'>
            {{#url}} <a href='{{url}}'> {{/url}}
                {{title}}
            </a>
            </div>
            <div class='Ldt-AnnotationsList-Description'>
                {{description}}
            </div>
            {{#tags.length}}
            <ul class='Ldt-AnnotationsList-Tags'>
                {{#tags}}
                <li class='Ldt-AnnotationsList-Tag-Li'>
                    <div class='Ldt-AnnotationsList-Tag-Div'>{{.}}</div>
                </li>
                {{/tags}}
            </ul>
            {{/tags.length}}
        </li>
        {{/annotations}}
    </ul>
</div>