src/hashcut/templates/iri_mashup_edit.html
author veltr
Fri, 30 Nov 2012 15:36:06 +0100
changeset 84 0c699d2767f8
parent 82 e36c35fb4468
child 90 1a78608617aa
permissions -rw-r--r--
Some corrections
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
     1
{% extends "iri_mashup_home.html" %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
     2
{% load static %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
     3
{% load i18n %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
     4
{% load analytics %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
     5
{% load thumbnail %}
82
e36c35fb4468 Corrected some bugs
veltr
parents: 78
diff changeset
     6
    {% block title %}Création de Hashcut{% endblock %}
e36c35fb4468 Corrected some bugs
veltr
parents: 78
diff changeset
     7
    {% block css_page %}
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
     8
    <link rel="stylesheet" href="{% static 'hashcut/lib/jquery.tagit.css' %}" />
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
     9
    <link rel="stylesheet" href="{% static 'hashcut/iri/css/edition.css' %}" />
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    10
    {% endblock %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    11
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    12
{% block wrap_header %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    13
<div class="wrap-header"> 
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    14
    <div class="header">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    15
    {% include 'partial/iri_mashup_popin_user.html' %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    16
    <!-- popin update-title -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    17
        <div class="popin update-title" id="update-title">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    18
            <div class="pointer"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    19
            <div class="popin-content">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    20
                <form class="clearfix" action="#" id="hashcut-form" method="">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    21
                    <p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    22
                        <label for="hashcut-title">Titre :</label>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    23
                        <input type="text" id="hashcut-title" name="" value="Hashcut sans titre" />
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    24
                    </p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    25
                    <p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    26
                        <label for="hashcut-description">Description :</label>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    27
                        <textarea name="" id="hashcut-description"></textarea>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    28
                    </p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    29
                </form>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    30
            </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    31
        </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    32
    <!-- /popin update-title -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    33
        
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    34
    {% include 'partial/iri_hashcut_logo.html' %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    35
    
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    36
        <div class="title-video-wrap">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    37
            <p class="title-video">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    38
                <a title="Modifier le titre et la description" class="open-popin" href="#update-title">Hashcut sans titre</a>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    39
            </p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    40
            <p class="time-length">Durée: <span class="mashup-total-duration">00:00</span></p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    41
        </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    42
        <div class="profil-wrap">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    43
	        <ul class="space-top">
84
0c699d2767f8 Some corrections
veltr
parents: 82
diff changeset
    44
	            <li><a href="{% url mashup_home branding=branding %}" class="all-hashcut">Accueil</a></li>
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    45
	            <li><a href="#user" class="my-profil open-popin">Mon profil</a></li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    46
	        </ul>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    47
	    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    48
    </div><!-- header -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    49
</div> <!-- wrap-header -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    50
{% endblock %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    51
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    52
{% block content %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    53
<div class="content clearfix">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    54
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    55
    <div class="col-left">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    56
        <div class="left-head">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    57
            <h2>Sélectionner les vidéos</h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    58
            <input type="text" name="" placeholder="Rechercher une vidéo" />
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    59
        </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    60
        <ul class="list-video">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    61
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    62
        </ul>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    63
    </div><!-- col-left -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    64
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    65
    <div class="col-middle empty-mode">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    66
        
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    67
        <div class="col-middle-header">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    68
            <a href="#" class="tab tab-segment">Segmenter <span class="tab-media-title"></span></a>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    69
            <a href="#" class="tab tab-pvw">Prévisualiser</a>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    70
        </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    71
        
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    72
        <div class="video">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    73
            <div class="tutorial">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    74
                <h2>Créer un Hashcut, c’est facile !</h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    75
                <ol>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    76
                    <li>Commencez par choisir une vidéo dans le volet de gauche</li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    77
                    <li>Créez un segment dans la vidéo et profitez-en pour annoter votre segment</li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    78
                    <li>Ajoutez votre segment à la liste, réorganisez les segments entre eux</li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    79
                    <li>Rajoutez quelques commentaires à votre Hashcut. Vous êtes prêts à publier !</li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    80
                </ol>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    81
            </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    82
            <div class="video-wait"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    83
            <a class="publier-button disable" title="Publier" href="#"></a>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    84
        </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    85
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    86
        <div class="widget">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    87
            <div class="Ldt-Slider-Container">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    88
                <div class="Ldt-Slider"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    89
            </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    90
            <div class="Ldt-Slider-Time">00:00</div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    91
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    92
            <div class="Ldt-Ctrl">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    93
                <div class="Ldt-Ctrl-Left">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    94
                    <div class="Ldt-Ctrl-button Ldt-Ctrl-Play Ldt-Ctrl-Play-PlayState" title="Lecture/Pause"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    95
                    <div class="Ldt-Ctrl-spacer"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    96
                    <div class="Ldt-Ctrl-InOutBlock">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    97
                        <div class="Ldt-Ctrl-button Ldt-Ctrl-SetIn" title="Débuter le segment ici"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    98
                        <div class="Ldt-Ctrl-spacer"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
    99
                        <div class="Ldt-Ctrl-button Ldt-Ctrl-SetOut" title="Finir le segment ici"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   100
                        <div class="Ldt-Ctrl-spacer"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   101
                    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   102
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   103
                <div class="Ldt-Ctrl-Right">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   104
                   <div class="Ldt-Ctrl-spacer"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   105
                   <div class="Ldt-Ctrl-Time">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   106
                       <div class="Ldt-Ctrl-Time-Elapsed" title="Temps écoulé">00:00</div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   107
                       <div class="Ldt-Ctrl-Time-Separator">/</div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   108
                       <div class="Ldt-Ctrl-Time-Total" title="Temps total">00:00</div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   109
                   </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   110
                   <div class="Ldt-Ctrl-spacer"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   111
                   <div class="Ldt-Ctrl-button Ldt-Ctrl-Sound Ldt-Ctrl-Sound-Full" title="Couper/Activer le son"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   112
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   113
                <div class="Ldt-Ctrl-Volume-Control" title="Changer le volume">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   114
                   <div class="Ldt-Ctrl-Volume-Bar"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   115
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   116
            </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   117
            
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   118
        </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   119
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   120
        <div class="bloc-segmentation">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   121
            <div class="Ldt-Slice"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   122
            <div class="segmentation">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   123
                <div class="pointer-padder">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   124
                    <div class="pointer"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   125
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   126
                <div class="popin-content">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   127
                    <div class="validate">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   128
                        <div class="validate-tooltip"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   129
                    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   130
                    <h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   131
                        <span class="create-or-edit">Créer un nouveau segment</span>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   132
                        de
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   133
                        <span class="time-tangle tangle-start"></span>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   134
                        à
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   135
                        <span class="time-tangle tangle-end"></span>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   136
                        (durée:
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   137
                        <span class="time-tangle tangle-duration"></span>)
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   138
                    </h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   139
                    <form action="#" id="segment-form">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   140
                        <div class="form-segment-left">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   141
                            <p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   142
                                <label for="segment-title">Titre :</label>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   143
                                <input type="text" id="segment-title" />
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   144
                            </p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   145
                            <p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   146
                                <label for="segment-tags">Tags :</label>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   147
                                <ul id="segment-tags"></ul>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   148
                            </p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   149
                        </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   150
                        <div class="form-segment-right">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   151
                            <p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   152
                                <label for="segment-description">Description :</label>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   153
                                <textarea id="segment-description"></textarea>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   154
                            </p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   155
                        </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   156
                        <input class="button add-segment" type="submit" value="Ajouter au Hashcut" />
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   157
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   158
                    </form>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   159
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   160
            </div><!-- popin segmentation -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   161
            
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   162
            <div class="media-segments self-media-segments">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   163
                <h2>Mes segments sur ce média :</h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   164
                <div class="media-segments-list">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   165
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   166
            </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   167
            
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   168
            <div class="media-segments other-media-segments">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   169
                <h2>Segments existants sur ce média :</h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   170
                <div class="media-segments-list">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   171
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   172
            </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   173
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   174
        </div><!-- bloc-segmentation -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   175
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   176
        <div class="bloc-pvw">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   177
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   178
            <div class="frise mashup-frise">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   179
                <div class="frise-overflow">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   180
                    <div class="frise-segments">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   181
                    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   182
                    <div class="frise-indications">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   183
                    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   184
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   185
                <div class="frise-position"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   186
                <div class="mashup-tooltip segment-tooltip-wrapper">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   187
                    <div class="segment-tooltip"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   188
                    <div class="segment-tooltip-tip"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   189
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   190
                
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   191
            </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   192
                
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   193
                <div class="segment-info mashup-description">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   194
                    <div class="pointer-padder">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   195
                        <div class="pointer"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   196
                    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   197
                    <div class="popin-content">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   198
                        <ul class="tools">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   199
                            <li><a title="Éditer" class="edit" href="#"></a></li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   200
                        </ul>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   201
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   202
                        <h2><span class="annotation-title"></span></h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   203
                        <table>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   204
                            <tbody>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   205
                                <tr>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   206
                                    <th>Extrait de :</th>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   207
                                    <td><span class="annotation-media-title"></span> (<span class="annotation-time annotation-begin"></span> - <span class="annotation-time annotation-end"></span>)</td>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   208
                                </tr>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   209
                                <tr>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   210
                                    <th>Description :</th>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   211
                                    <td><span class="annotation-description"></span></td>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   212
                                </tr>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   213
                                <tr>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   214
                                    <th>Tags :</th>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   215
                                    <td><span class="annotation-tags"></span></td>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   216
                                </tr>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   217
                            </tbody>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   218
                        </table>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   219
                    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   220
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   221
        </div><!-- bloc-pvw -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   222
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   223
    </div><!-- col-middle -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   224
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   225
    <div class="col-right">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   226
        <div class="liste-segment">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   227
            <div class="validate critical">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   228
                <div class="validate-tooltip"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   229
            </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   230
            <h2>Liste des segments</h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   231
            <div class="frise mashup-frise">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   232
                <p class="aucun-segment">Aucun segment</p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   233
                <div class="frise-overflow">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   234
                    <div class="frise-segments">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   235
                    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   236
                    <div class="frise-indications">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   237
                    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   238
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   239
                <div class="mashup-tooltip segment-tooltip-wrapper">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   240
                    <div class="segment-tooltip"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   241
                    <div class="segment-tooltip-tip"></div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   242
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   243
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   244
            </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   245
        </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   246
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   247
        <ul class="list-video organize-segments">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   248
            
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   249
        </ul>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   250
    </div><!-- col-right -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   251
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   252
</div><!-- content -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   253
{% endblock %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   254
<!-- JavaScript -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   255
{% block js_import %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   256
{{ block.super }}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   257
<script type="text/javascript" src="{% static 'hashcut/lib/tag-it.js' %}"></script>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   258
<script type="text/javascript" src="{% static 'hashcut/lib/underscore-min.js' %}"></script>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   259
<script type="text/javascript" src="{% static 'hashcut/lib/popcorn-complete.min.js' %}"></script>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   260
<script type="text/javascript" src="{% static 'hashcut/js/hashcut.js' %}"></script>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   261
<script type="text/javascript">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   262
    IriSP.endpoints = {
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   263
        content: "{% url api_dispatch_list api_name='1.0' resource_name='contents' %}",
78
ac3e789bced2 Model for branding and mashup, 1st datamigration for iri and bpi branding. Post url to save mashup project.
cavaliet
parents: 76
diff changeset
   264
        //project: "{% url api_dispatch_list api_name='1.0' resource_name='projects' %}",
ac3e789bced2 Model for branding and mashup, 1st datamigration for iri and bpi branding. Post url to save mashup project.
cavaliet
parents: 76
diff changeset
   265
        project: "{% url mashup_save branding=branding %}",
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   266
        segment: "{% url api_dispatch_list api_name='1.0' resource_name='segments' %}",
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   267
        ldt: "{% url projectjson_id id='' %}",
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   268
        hashcut_page: "{% url mashup_hashcut branding=branding ldt_id='' %}"
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   269
    };
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   270
    $(function() {
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   271
   	    IriSP.video_url_transform = function(oldurl) {
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   272
   		    var newurl = oldurl.replace(/mp4:/i,'');
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   273
   		    newurl = newurl.replace(/ddc_player\//i,'');
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   274
   		    newurl = newurl.replace(/rtmp/i,'http');
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   275
   		    return newurl;
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   276
   		};
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   277
        var hashcut = IriSP.editor({
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   278
            creator: "{{creator}}",
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   279
            csrf_token: "{{csrf_token}}",
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   280
            filter: {
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   281
                tags__icontains: "BPI"
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   282
            }
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   283
       });
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   284
    });
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   285
</script>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   286
{% endblock %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents:
diff changeset
   287