src/templates/annotationsListWidget.html
branchpopcorn-port
changeset 842 4ae2247a59f4
parent 836 526f91f5253e
child 870 2c025db10a10
equal deleted inserted replaced
841:8da49ff273e0 842:4ae2247a59f4
     1 {{! template for the annotation list widget }}
     1 {{! template for the annotation list widget }}
     2 <div class='Ldt-AnnotationsListWidget'>
     2 <div class='Ldt-AnnotationsListWidget'>
     3     <ul class='Ldt-AnnotationsList-ul'>
     3     <ul class='Ldt-AnnotationsList-ul'>
     4         {{#annotations}}
     4         {{#annotations}}
     5         <li id='Ldt-Annotation-li-{{id}}' class='Ldt-AnnotationsList-li Ldt-TraceMe'>
     5         <li id='Ldt-Annotation-li-{{id}}' class='Ldt-AnnotationsList-li Ldt-TraceMe'>
     6             <img class='Ldt-AnnotationsList-Thumbnail' src='{{thumbnail}}' />
     6             {{^url}} <a href='#id={{id}}'> {{/url}}
       
     7             {{! otherwise link to url }}
       
     8             {{#url}} <a href='{{url}}'> {{/url}}
       
     9                 <img class='Ldt-AnnotationsList-Thumbnail' src='{{thumbnail}}' />
       
    10             </a>
     7             <div class='Ldt-AnnotationsList-Duration'>
    11             <div class='Ldt-AnnotationsList-Duration'>
     8                 <span class='Ldt-AnnotationsList-Begin'>{{begin}}</span>
    12                 <span class='Ldt-AnnotationsList-Begin'>{{begin}}</span>
     9                 <span class='Ldt-AnnotationsList-TcSeparator'>-</span>
    13                 <span class='Ldt-AnnotationsList-TcSeparator'>-</span>
    10                 <span class='Ldt-AnnotationsList-End'>{{end}}</span>
    14                 <span class='Ldt-AnnotationsList-End'>{{end}}</span>
    11             </div>
    15             </div>
    12             <div class='Ldt-AnnotationsList-Title'>
    16             <div class='Ldt-AnnotationsList-Title'>
    13             {{! if the url is not present, it means that the annotation exists
    17             {{! if the url is not present, it means that the annotation exists
    14             in the current project }}
    18             in the current project }}
       
    19                 {{title}}
       
    20             </div>
       
    21             <div class='Ldt-AnnotationsList-Description'>
    15             {{^url}} <a href='#id={{id}}'> {{/url}}
    22             {{^url}} <a href='#id={{id}}'> {{/url}}
    16             {{! otherwise link to url }}
    23             {{! otherwise link to url }}
    17             {{#url}} <a href='{{url}}'> {{/url}}
    24             {{#url}} <a href='{{url}}'> {{/url}}
    18                 {{title}}
       
    19             </a>
       
    20             </div>
       
    21             <div class='Ldt-AnnotationsList-Description'>
       
    22                 {{desc}}
    25                 {{desc}}
       
    26                 </a>
    23             </div>
    27             </div>
    24             {{#tags.length}}
    28             {{#tags.length}}
    25             <ul class='Ldt-AnnotationsList-Tags'>
    29             <ul class='Ldt-AnnotationsList-Tags'>
    26                 {{#tags}}
    30                 {{#tags}}
    27                 <li class='Ldt-AnnotationsList-Tag-Li'>
    31                 <li class='Ldt-AnnotationsList-Tag-Li'>