| author | veltr |
| Fri, 06 Apr 2012 16:49:32 +0200 | |
| branch | popcorn-port |
| changeset 842 | 4ae2247a59f4 |
| parent 841 | 8da49ff273e0 |
| child 867 | 43f615b4dc48 |
| permissions | -rw-r--r-- |
| 543 | 1 |
{{! template for the annotation creation widget }} |
2 |
<div class='Ldt-createAnnotationWidget'> |
|
| 830 | 3 |
<!-- ugly div because we want to have a double border --> |
4 |
<div class='Ldt-createAnnotation-DoubleBorder'> |
|
5 |
<div class='Ldt-createAnnotation-screen Ldt-createAnnotation-startScreen'> |
|
6 |
<div style='margin-bottom: 7px; overflow: auto;'> |
|
7 |
<div class='Ldt-createAnnotation-Title'></div> |
|
8 |
<div class='Ldt-createAnnotation-TimeFrame'></div> |
|
9 |
{{^cinecast_version}} <div class='Ldt-createAnnotation-Minimize Ldt-TraceMe' title='Cancel'></div> |
|
10 |
{{/cinecast_version}} |
|
11 |
</div> |
|
| 831 | 12 |
<div class='Ldt-createAnnotation-Container'> |
| 830 | 13 |
{{#show_from_field}} |
| 837 | 14 |
<label>{{l10n.your_name}} : </label><input class='Ldt-createAnnotation-userName Ldt-TraceMe' value='{{user_name}}' /> |
| 830 | 15 |
{{/show_from_field}} |
16 |
<textarea class='Ldt-createAnnotation-Description Ldt-TraceMe'></textarea> |
|
17 |
<div class='Ldt-createAnnotation-userAvatar Ldt-TraceMe'> |
|
18 |
{{^user_avatar}} <img src='https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png'></img> |
|
19 |
{{/user_avatar}} |
|
20 |
{{#user_avatar}} <img src='{{ user_avatar }}'></img> |
|
21 |
{{/user_avatar}} |
|
22 |
</div> |
|
| 831 | 23 |
<div class='Ldt-createAnnotation-profileArrow'></div> |
| 830 | 24 |
</div> |
| 837 | 25 |
<button class='Ldt-createAnnotation-submitButton Ldt-TraceMe'>{{l10n.submit}}</button> |
| 842 | 26 |
{{#tags.length}} |
| 831 | 27 |
<div class='Ldt-createAnnotation-btnblock Ldt-createAnnotation-keywords'> |
| 837 | 28 |
<label>{{l10n.add_keywords}} :</label> |
| 831 | 29 |
<ul class='Ldt-floatList'> |
| 842 | 30 |
{{#tags}} |
31 |
<li><button class='Ldt-createAnnotation-keyword-button Ldt-TraceMe' tag-id='{{id}}'>{{meta.description}}</button></li> |
|
32 |
{{/tags}} |
|
| 831 | 33 |
</ul> |
| 830 | 34 |
</div> |
| 842 | 35 |
{{#random_tags}} |
36 |
<button class='Ldt-createAnnotation-moar-keywordz'>{{l10n.more_tags}}</button> |
|
37 |
{{/random_tags}} |
|
38 |
{{/tags.length}} |
|
| 830 | 39 |
{{#polemic_mode}} |
| 831 | 40 |
{{#polemics.length}} |
41 |
<div class='Ldt-createAnnotation-btnblock Ldt-createAnnotation-polemics'> |
|
| 837 | 42 |
<label>{{l10n.add_polemic_keywords}} :</label> |
| 831 | 43 |
<ul class='Ldt-floatList'> |
| 830 | 44 |
{{#polemics}} |
| 831 | 45 |
<li><button class='Ldt-createAnnotation-polemic-{{className}} Ldt-createAnnotation-polemic-button Ldt-TraceMe'>{{keyword}}</button></li> |
| 830 | 46 |
{{/polemics}} |
| 831 | 47 |
</ul> |
| 830 | 48 |
</div> |
| 831 | 49 |
{{/polemics.length}} |
| 830 | 50 |
{{/polemic_mode}} |
|
627
13b9f14bf49a
added a spinner displayed while submitting an annotation.
hamidouk
parents:
576
diff
changeset
|
51 |
</div> |
| 830 | 52 |
<div class='Ldt-createAnnotation-screen Ldt-createAnnotation-waitScreen' style='display: none; text-align: center'> |
53 |
<div class='Ldt-createAnnotation-spinner'></div> |
|
| 837 | 54 |
{{l10n.wait_while_processed}} |
| 830 | 55 |
</div> |
56 |
<div class='Ldt-createAnnotation-screen Ldt-createAnnotation-errorScreen' style='display: none; text-align: center'> |
|
57 |
<div class='Ldt-createAnnotation-Minimize' title='Hide'></div> |
|
| 837 | 58 |
{{l10n.error_while_contacting}} |
| 830 | 59 |
</div> |
60 |
<div class='Ldt-createAnnotation-screen Ldt-createAnnotation-endScreen' style='display: none'> |
|
61 |
<div class='Ldt-createAnnotation-Minimize' title='Hide'></div> |
|
| 837 | 62 |
{{l10n.annotation_saved}} |
| 830 | 63 |
<br> |
| 841 | 64 |
{{^disable_share}} |
| 837 | 65 |
{{l10n.share_annotation}} |
| 830 | 66 |
<div style='margin-top: 12px; text-align: center;'> |
67 |
<a target='_blank' class='Ldt-createAnnotation-endScreen-TweetLink Ldt-TraceMe'></a> |
|
68 |
<a target='_blank' class='Ldt-createAnnotation-endScreen-FbLink Ldt-TraceMe'></a> |
|
69 |
<a target='_blank' class='Ldt-createAnnotation-endScreen-GplusLink Ldt-TraceMe'></a> |
|
70 |
</div> |
|
| 841 | 71 |
{{/disable_share}} |
| 830 | 72 |
</div> |
| 831 | 73 |
<div class='Ldt-floatClear'></div> |
| 546 | 74 |
</div> |
| 543 | 75 |
</div> |