| author | veltr |
| Fri, 09 Mar 2012 17:29:23 +0100 | |
| branch | popcorn-port |
| changeset 831 | 0dd21c298380 |
| parent 830 | 18ca612e9ff0 |
| child 837 | 353a78021ebc |
| 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}} |
14 |
<label>Your name : </label><input class='Ldt-createAnnotation-userName Ldt-TraceMe' value='{{user_name}}' /> |
|
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> |
| 831 | 25 |
<button class='Ldt-createAnnotation-submitButton Ldt-TraceMe'>Submit</button> |
| 830 | 26 |
{{#keywords.length}} |
| 831 | 27 |
<div class='Ldt-createAnnotation-btnblock Ldt-createAnnotation-keywords'> |
28 |
<label>Add keywords :</label> |
|
29 |
<ul class='Ldt-floatList'> |
|
| 830 | 30 |
{{#keywords}} |
| 831 | 31 |
<li><button class='Ldt-createAnnotation-keyword-button Ldt-TraceMe'>{{.}}</button></li> |
| 830 | 32 |
{{/keywords}} |
| 831 | 33 |
</ul> |
| 830 | 34 |
</div> |
35 |
{{/keywords.length}} |
|
36 |
{{#polemic_mode}} |
|
| 831 | 37 |
{{#polemics.length}} |
38 |
<div class='Ldt-createAnnotation-btnblock Ldt-createAnnotation-polemics'> |
|
39 |
<label>Add polemic keywords :</label> |
|
40 |
<ul class='Ldt-floatList'> |
|
| 830 | 41 |
{{#polemics}} |
| 831 | 42 |
<li><button class='Ldt-createAnnotation-polemic-{{className}} Ldt-createAnnotation-polemic-button Ldt-TraceMe'>{{keyword}}</button></li> |
| 830 | 43 |
{{/polemics}} |
| 831 | 44 |
</ul> |
| 830 | 45 |
</div> |
| 831 | 46 |
{{/polemics.length}} |
| 830 | 47 |
{{/polemic_mode}} |
|
627
13b9f14bf49a
added a spinner displayed while submitting an annotation.
hamidouk
parents:
576
diff
changeset
|
48 |
</div> |
| 830 | 49 |
<div class='Ldt-createAnnotation-screen Ldt-createAnnotation-waitScreen' style='display: none; text-align: center'> |
50 |
<div class='Ldt-createAnnotation-spinner'></div> |
|
51 |
Please wait while your request is being processed... |
|
52 |
</div> |
|
53 |
<div class='Ldt-createAnnotation-screen Ldt-createAnnotation-errorScreen' style='display: none; text-align: center'> |
|
54 |
<div class='Ldt-createAnnotation-Minimize' title='Hide'></div> |
|
55 |
An error happened while contacting the server. Your annotation has not been saved. |
|
56 |
</div> |
|
57 |
<div class='Ldt-createAnnotation-screen Ldt-createAnnotation-endScreen' style='display: none'> |
|
58 |
<div class='Ldt-createAnnotation-Minimize' title='Hide'></div> |
|
59 |
Thank you, your annotation has been saved. |
|
60 |
<br> |
|
61 |
Would you like to share it on social networks ? |
|
62 |
<div style='margin-top: 12px; text-align: center;'> |
|
63 |
<a target='_blank' class='Ldt-createAnnotation-endScreen-TweetLink Ldt-TraceMe'></a> |
|
64 |
<a target='_blank' class='Ldt-createAnnotation-endScreen-FbLink Ldt-TraceMe'></a> |
|
65 |
<a target='_blank' class='Ldt-createAnnotation-endScreen-GplusLink Ldt-TraceMe'></a> |
|
66 |
</div> |
|
67 |
</div> |
|
| 831 | 68 |
<div class='Ldt-floatClear'></div> |
| 546 | 69 |
</div> |
| 543 | 70 |
</div> |