src/templates/createAnnotationWidget.html
author hamidouk
Tue, 14 Feb 2012 17:13:44 +0100
branchpopcorn-port
changeset 808 f7de8a24fc74
parent 806 4ae02249c3ac
child 830 18ca612e9ff0
permissions -rw-r--r--
forgot to remove an image reference. It's in css now.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
543
5856fab9596c WIP - adding widget to create annotations.
hamidouk
parents:
diff changeset
     1
{{! template for the annotation creation widget }}
5856fab9596c WIP - adding widget to create annotations.
hamidouk
parents:
diff changeset
     2
<div class='Ldt-createAnnotationWidget'>
5856fab9596c WIP - adding widget to create annotations.
hamidouk
parents:
diff changeset
     3
  <!-- ugly div because we want to have a double border -->
5856fab9596c WIP - adding widget to create annotations.
hamidouk
parents:
diff changeset
     4
  <div class='Ldt-createAnnotation-DoubleBorder'>
627
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
     5
    <div class='Ldt-createAnnotation-startScreen'>
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
     6
      <div style='margin-bottom: 7px; overflow: auto;'>
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
     7
        <div class='Ldt-createAnnotation-Title'></div>
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
     8
        <div class='Ldt-createAnnotation-TimeFrame'></div>
722
ed12570ebd64 added support for the polemic tweet buttons.
hamidouk
parents: 721
diff changeset
     9
        {{^cinecast_version}}
769
70464200b601 added an error screen.
hamidouk
parents: 763
diff changeset
    10
          <div class='Ldt-createAnnotation-Minimize' title='Cancel'></div>
722
ed12570ebd64 added support for the polemic tweet buttons.
hamidouk
parents: 721
diff changeset
    11
        {{/cinecast_version}}
544
c493cb634b45 got the annotation creation widget in a decent shape.
hamidouk
parents: 543
diff changeset
    12
      </div>
722
ed12570ebd64 added support for the polemic tweet buttons.
hamidouk
parents: 721
diff changeset
    13
      
627
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
    14
      <div class='Ldt-createAnnotation-Container'>
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
    15
        <textarea class='Ldt-createAnnotation-Description'></textarea>
761
69d80dd9c9d8 replaced direct references to images to css classes.
hamidouk
parents: 760
diff changeset
    16
        <div class='Ldt-createAnnotation-profileArrow'>          
627
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
    17
        </div>
763
abaa61b81110 small submit button fixes.
hamidouk
parents: 761
diff changeset
    18
        <div class='Ldt-createAnnotation-userAvatar'>
abaa61b81110 small submit button fixes.
hamidouk
parents: 761
diff changeset
    19
        {{^user_avatar}}
627
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
    20
          <img src='https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png'></img>
763
abaa61b81110 small submit button fixes.
hamidouk
parents: 761
diff changeset
    21
        {{/user_avatar}}
abaa61b81110 small submit button fixes.
hamidouk
parents: 761
diff changeset
    22
        {{#user_avatar}}
abaa61b81110 small submit button fixes.
hamidouk
parents: 761
diff changeset
    23
          <img src='{{ user_avatar }}'></img>
abaa61b81110 small submit button fixes.
hamidouk
parents: 761
diff changeset
    24
        {{/user_avatar}}
627
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
    25
        </div>
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
    26
      </div>
760
3460bee362db moved the submit button a bit higher.
hamidouk
parents: 722
diff changeset
    27
      <div class='Ldt-createAnnotation-submitButton'>
763
abaa61b81110 small submit button fixes.
hamidouk
parents: 761
diff changeset
    28
        <div style='position: absolute; bottom: 5px; right: 5px;'>Submit</div>
760
3460bee362db moved the submit button a bit higher.
hamidouk
parents: 722
diff changeset
    29
      </div>
627
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
    30
      <div class='Ldt-createAnnotation-keywords'>
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
    31
        Add keywords :       
718
c6660cd7bfb3 added buttons for adding polemic annotations.
hamidouk
parents: 627
diff changeset
    32
      </div>
c6660cd7bfb3 added buttons for adding polemic annotations.
hamidouk
parents: 627
diff changeset
    33
      {{#polemic_mode}}
c6660cd7bfb3 added buttons for adding polemic annotations.
hamidouk
parents: 627
diff changeset
    34
      <div class='Ldt-createAnnotation-polemics'>
c6660cd7bfb3 added buttons for adding polemic annotations.
hamidouk
parents: 627
diff changeset
    35
        Add polemic keywords     
c6660cd7bfb3 added buttons for adding polemic annotations.
hamidouk
parents: 627
diff changeset
    36
      </div>
c6660cd7bfb3 added buttons for adding polemic annotations.
hamidouk
parents: 627
diff changeset
    37
      {{/polemic_mode}}
760
3460bee362db moved the submit button a bit higher.
hamidouk
parents: 722
diff changeset
    38
543
5856fab9596c WIP - adding widget to create annotations.
hamidouk
parents:
diff changeset
    39
    </div>
627
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
    40
    <div class='Ldt-createAnnotation-waitScreen' style='display: none; text-align: center'>
808
f7de8a24fc74 forgot to remove an image reference. It's in css now.
hamidouk
parents: 806
diff changeset
    41
      <div class='Ldt-createAnnotation-spinner'></div>
627
13b9f14bf49a added a spinner displayed while submitting an annotation.
hamidouk
parents: 576
diff changeset
    42
      Please wait while your request is being processed...
546
be6b15bd7234 implemented a decent submit button.
hamidouk
parents: 545
diff changeset
    43
    </div>
769
70464200b601 added an error screen.
hamidouk
parents: 763
diff changeset
    44
70464200b601 added an error screen.
hamidouk
parents: 763
diff changeset
    45
    <div class='Ldt-createAnnotation-errorScreen' style='display: none; text-align: center'>
70464200b601 added an error screen.
hamidouk
parents: 763
diff changeset
    46
      <div class='Ldt-createAnnotation-Minimize' title='Hide'></div>
70464200b601 added an error screen.
hamidouk
parents: 763
diff changeset
    47
      An error happened while contacting the server. Your annotation has not been saved.
70464200b601 added an error screen.
hamidouk
parents: 763
diff changeset
    48
    </div>
553
10d08f43c534 widget works now more or less like in samuel's crea.
hamidouk
parents: 548
diff changeset
    49
    
10d08f43c534 widget works now more or less like in samuel's crea.
hamidouk
parents: 548
diff changeset
    50
    <div class='Ldt-createAnnotation-endScreen' style='display: none'>
769
70464200b601 added an error screen.
hamidouk
parents: 763
diff changeset
    51
      <div class='Ldt-createAnnotation-Minimize' title='Hide'></div>
569
7f5d00dd4cd4 added a bit of text.
hamidouk
parents: 568
diff changeset
    52
      Thank you, your annotation has been saved.<br>
568
5a6a256f4ea3 made things display correctly.
hamidouk
parents: 553
diff changeset
    53
      Would you like to share it on social networks ?
5a6a256f4ea3 made things display correctly.
hamidouk
parents: 553
diff changeset
    54
      <div style='margin-top: 12px; text-align: center;'>
806
4ae02249c3ac removed more images from the templates to put them in the css.
hamidouk
parents: 769
diff changeset
    55
          <a target='_blank' class='Ldt-createAnnotation-endScreen-TweetLink'></a>
4ae02249c3ac removed more images from the templates to put them in the css.
hamidouk
parents: 769
diff changeset
    56
          <a target='_blank' class='Ldt-createAnnotation-endScreen-FbLink'></a>
4ae02249c3ac removed more images from the templates to put them in the css.
hamidouk
parents: 769
diff changeset
    57
          <a target='_blank' class='Ldt-createAnnotation-endScreen-GplusLink'></a>                    
553
10d08f43c534 widget works now more or less like in samuel's crea.
hamidouk
parents: 548
diff changeset
    58
      </div>
10d08f43c534 widget works now more or less like in samuel's crea.
hamidouk
parents: 548
diff changeset
    59
    </div>
543
5856fab9596c WIP - adding widget to create annotations.
hamidouk
parents:
diff changeset
    60
  </div>
5856fab9596c WIP - adding widget to create annotations.
hamidouk
parents:
diff changeset
    61
</div>