src/templates/annotation.html
author hamidouk
Thu, 22 Dec 2011 16:06:25 +0100
branchcalage-segmentsWidget
changeset 510 c7f18d6be7a1
parent 483 0bb36c79836c
child 512 9206956532c3
permissions -rw-r--r--
added integration test for jsonp
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
221
2a83d308dba6 added short descriptions to all the template files.
hamidouk
parents: 165
diff changeset
     1
{{! template for an annotation displayed in a segmentWidget }}
43
59a78986f19e templatized the annotation code
hamidouk
parents:
diff changeset
     2
<div title='{{divTitle}}' id='{{id}}'
334
e20f97514d44 move the styling of a segment from the templates to the css.
hamidouk
parents: 325
diff changeset
     3
	class='Ldt-iri-chapter' 
225
53a712511a08 changed the formatting of the annotation template.
hamidouk
parents: 221
diff changeset
     4
	style='left: {{startPourcent}}%; 
483
0bb36c79836c fixed positioning bug.
hamidouk
parents: 479
diff changeset
     5
         width: {{endPixel}}px; 
479
24308670f1bb fixed the display of colors.
hamidouk
parents: 334
diff changeset
     6
         background-color:#{{hexa_color}};' 
105
1c991d6a5305 cleanup of the template files.
hamidouk
parents: 43
diff changeset
     7
	>
325
caa276ab3430 got a minimized version of the segmentWidget which looks like the one in the
hamidouk
parents: 225
diff changeset
     8
</div>