src/templates/annotationsListWidget.html
author veltr
Fri, 20 Apr 2012 19:13:11 +0200
branchnew-model
changeset 874 38b65761a7d5
parent 870 2c025db10a10
permissions -rw-r--r--
TooltipWidget, SliderWidget, corrections in AnnotationList, CSS are now split

{{! 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'>
            <div class='Ldt-AnnotationsList-ThumbContainer'>
                <a href='{{url}}'>
                    <img class='Ldt-AnnotationsList-Thumbnail' src='{{thumbnail}}' />
                </a>
            </div>
            <div class='Ldt-AnnotationsList-Duration'>{{begin}} - {{end}}</div>
            <h3 class='Ldt-AnnotationsList-Title'>
                <a href='{{url}}'>{{title}}</a>
            </h3>
            <p class='Ldt-AnnotationsList-Description'>{{description}}</p>
            {{#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>