src/hashcut/templates/iri_mashup_home.html
author veltr
Fri, 30 Nov 2012 16:49:12 +0100
changeset 87 32629f6a3b82
parent 86 4857ac3892e3
parent 85 4e0dc6a0e0f3
child 90 1a78608617aa
permissions -rw-r--r--
Merge with 4e0dc6a0e0f35583dc8e5e6eebe50ec63d2c6286
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
59
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
     1
{% load static %}
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
     2
{% load i18n %}
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
     3
{% load analytics %}
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
     4
{% load thumbnail %}
59
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
     5
<!DOCTYPE html>
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
     6
<html>
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
     7
<head>
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
     8
{% block head %}
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
     9
    <meta charset="utf-8">
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    10
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    11
    <meta name="description" content="Interface d'édition de Hashcuts (Mashups vidéo cliquables)" />
59
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    12
    <meta name="copyright" content="Institut de Recherche et d'Innovation (IRI), 2012" />
82
e36c35fb4468 Corrected some bugs
veltr
parents: 80
diff changeset
    13
    <meta name="author" content="Anthony Ly, Raphaël Velt, Thibaut Cavalié" />
84
0c699d2767f8 Some corrections
veltr
parents: 83
diff changeset
    14
    <title>Hashcut &raquo; {% block title %}Accueil{% endblock %}</title>
59
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    15
    {% block css_declaration %}
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    16
    {% endblock %}
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    17
    
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    18
    {% block css_import %}
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    19
    <link rel="stylesheet" href="{% static 'hashcut/lib/jquery-ui.css' %}" />
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    20
    <link rel="stylesheet" href="{% static 'hashcut/iri/css/reset.css' %}" />
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    21
    <link rel="stylesheet" href="{% static 'hashcut/iri/css/common.css' %}" />
82
e36c35fb4468 Corrected some bugs
veltr
parents: 80
diff changeset
    22
    {% endblock %}
e36c35fb4468 Corrected some bugs
veltr
parents: 80
diff changeset
    23
    {% block css_page %}
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    24
    <link rel="stylesheet" href="{% static 'hashcut/iri/css/home.css' %}" />
59
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    25
    {% endblock %}
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    26
    
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    27
    {% block js_declaration %}
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    28
    {% endblock %}
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    29
{% endblock %}
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    30
</head>
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    31
<body>
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
    32
{% block body %}
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    33
<div class="wrap-header-top">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    34
    <div class="wrap-header-top-content">
80
3515d39ce155 Home with real links to branding hashcut.
cavaliet
parents: 76
diff changeset
    35
        <a title="Institut de recherche et d'innovation" href="{% url mashup_home branding=branding %}"><img src="{% static 'hashcut/iri/img/logo-iri.png' %}" alt="Institut de recherche et d'innovation" /></a>
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    36
    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    37
</div><!-- wrap-header-top -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    38
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    39
{% block wrap_header %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    40
<div class="wrap-header">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    41
    <div class="header">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    42
        {% include 'partial/iri_mashup_popin_user.html' %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    43
        {% include 'partial/iri_hashcut_logo.html' %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    44
        <div class="title-header">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    45
            <h2><a href="{% url mashup_edit branding=branding %}">Créer un hashcut !</a></h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    46
        </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    47
        <div class="profil-wrap">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    48
            <ul class="space-top-2">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    49
                <li><a href="#user" class="my-profil open-popin">Mon profil</a></li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    50
            </ul>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    51
        </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    52
    </div><!-- header -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    53
</div><!-- wrap-header -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    54
{% endblock %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    55
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    56
{% block wrapper %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    57
<div class="wrapper">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    58
    <div class="wrap">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    59
        {% block content %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    60
        <div class="content">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    61
            <div class="left-content">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    62
                <h2>Hashcuts à la Une</h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    63
                <div class="hashcut-video-wrap news">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    64
                    <div class="video-item">
80
3515d39ce155 Home with real links to branding hashcut.
cavaliet
parents: 76
diff changeset
    65
                        {% if m1 %}
3515d39ce155 Home with real links to branding hashcut.
cavaliet
parents: 76
diff changeset
    66
                        <a href="{% url mashup_hashcut branding=branding ldt_id=m1.project.ldt_id %}" class="screenshot">{% thumbnail m1.project.image "302x202" crop="center" format="PNG" as im %}<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" alt=""/>{% empty %}&nbsp;{% endthumbnail %}</a>
84
0c699d2767f8 Some corrections
veltr
parents: 83
diff changeset
    67
                        <h3><a class="title" href="{% url mashup_hashcut branding=branding ldt_id=m2.project.ldt_id %}">{{ m1.project.title }}</a> par <a class="author" href="{% url mashup_profile branding=branding username=m1.creator %}">{{ m1.creator }}</a> | <span class="duration">02:24</span> </h3>
80
3515d39ce155 Home with real links to branding hashcut.
cavaliet
parents: 76
diff changeset
    68
                        {% endif %}
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    69
                    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    70
                    <div class="video-item">
80
3515d39ce155 Home with real links to branding hashcut.
cavaliet
parents: 76
diff changeset
    71
                        {% if m2 %}
3515d39ce155 Home with real links to branding hashcut.
cavaliet
parents: 76
diff changeset
    72
                        <a href="{% url mashup_hashcut branding=branding ldt_id=m2.project.ldt_id %}" class="screenshot">{% thumbnail m2.project.image "302x202" crop="center" format="PNG" as im %}<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" alt=""/>{% empty %}&nbsp;{% endthumbnail %}</a>
84
0c699d2767f8 Some corrections
veltr
parents: 83
diff changeset
    73
                        <h3><a class="title" href="{% url mashup_hashcut branding=branding ldt_id=m2.project.ldt_id %}">{{ m2.project.title }}</a> par <a class="author" href="{% url mashup_profile branding=branding username=m2.creator %}">{{ m2.creator }}</a> | <span class="duration">02:24</span> </h3>
80
3515d39ce155 Home with real links to branding hashcut.
cavaliet
parents: 76
diff changeset
    74
                        {% endif %}
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    75
                    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    76
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    77
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    78
                <h2>Derniers Hashcuts</h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    79
                <div class="hashcut-video-wrap last">
80
3515d39ce155 Home with real links to branding hashcut.
cavaliet
parents: 76
diff changeset
    80
                    {% for m in mashups %}
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    81
                    <div class="video-item">
80
3515d39ce155 Home with real links to branding hashcut.
cavaliet
parents: 76
diff changeset
    82
                        <a href="{% url mashup_hashcut branding=branding ldt_id=m.project.ldt_id %}" class="screenshot">{% thumbnail m.project.image "142x95" crop="center" format="PNG" as im %}<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" alt=""/>{% empty %}&nbsp;{% endthumbnail %}</a>
84
0c699d2767f8 Some corrections
veltr
parents: 83
diff changeset
    83
                        <h3><a class="title" href="{% url mashup_hashcut branding=branding ldt_id=m2.project.ldt_id %}">{% if m.project.title|length > 30 %}{{m.project.title|slice:":30"}}...{% else %}{{m.project.title}}{% endif %}</a> par <a class="author" href="{% url mashup_profile branding=branding username=m.creator %}">{{ m.creator }}</a> | <span class="duration">02:24</span> </h3>
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    84
                    </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    85
                    {% endfor %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    86
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    87
                
84
0c699d2767f8 Some corrections
veltr
parents: 83
diff changeset
    88
                <div class="pagination">
85
4e0dc6a0e0f3 page for all mashups for one branding
cavaliet
parents: 84
diff changeset
    89
                    <a href="{% url mashup_all branding=branding %}">Tous les Hashcuts</a>
84
0c699d2767f8 Some corrections
veltr
parents: 83
diff changeset
    90
                </div>
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    91
           
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    92
            </div><!-- left-content -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    93
            <div class="right-content">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    94
                <div class="definition">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    95
                    <h2>Hashcuts ?</h2>
82
e36c35fb4468 Corrected some bugs
veltr
parents: 80
diff changeset
    96
                    <p>Un <strong>Hashcut</strong> est à la fois une <a href="http://fr.wikipedia.org/wiki/Hypervid%C3%A9o" target="_blank">Hypervidéo</a> (vidéo cliquable) et un <a href="http://fr.wikipedia.org/wiki/Mashup_%28video%29" target="_blank">Mashup</a> (mélange de médias, de l’anglais mash, «purée»).</p>
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    97
                    <p>Un <strong>Hashcut</strong> est un assemblage de citations de vidéos, mises bout à bout, sans altération des médias d’origine, et permet à chacun de proposer un nouveau regard, une porte d’entrée éditorialisée sur ces médias.</p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    98
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
    99
                <div class="how-to">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   100
                    <h2>Comment faire ?</h2>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   101
                    <ul>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   102
                        <li class="inscription">
82
e36c35fb4468 Corrected some bugs
veltr
parents: 80
diff changeset
   103
                            <h3><a href="#">1. S’inscrire</a></h3>
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   104
                            <p>Commencez par créer votre espace personnel sur cette plateforme !</p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   105
                        </li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   106
                        <li class="next-step"></li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   107
                        <li class="creation">
82
e36c35fb4468 Corrected some bugs
veltr
parents: 80
diff changeset
   108
                            <h3><a href="{% url mashup_edit branding=branding %}">2. Créer un hashcut</a></h3>
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   109
                            <p>Choisissez des médias, segmentez les, assemblez les segments et rajoutez des commentaires sur le Hashcut.</p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   110
                        </li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   111
                        <li class="next-step"></li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   112
                        <li class="publier">
82
e36c35fb4468 Corrected some bugs
veltr
parents: 80
diff changeset
   113
                            <h3><a href="#">3. Publier et partager</a></h3>
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   114
                            <p>Une fois le hashcut terminé, publiez-le sur cette plateforme etpartagez votre création sur les réseaux sociaux</p>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   115
                        </li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   116
                    </ul>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   117
                </div>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   118
                
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   119
            </div><!-- left-content -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   120
        </div><!-- content -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   121
        {% endblock %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   122
        {% block footer %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   123
        <div class="footer clearfix">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   124
            <ul class="links-left">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   125
                <li><a href="#">Mentions légales</a></li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   126
                <li><a href="#">Contacts</a></li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   127
            </ul>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   128
            <ul class="links-right">
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   129
                <li><a title="IRI" href="http://www.iri.centrepompidou.fr/" target="_blank"> <img src="{% static 'hashcut/iri/img/logo-iri.png' %}" alt="iri" /></a></li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   130
                <li><a title="cinecast" href="http://cinecast.fr/" target="_blank"><img src="{% static 'hashcut/iri/img/logo-cinecast.png' %}" alt="cinecast" /></a></li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   131
                <li>© 2012</li>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   132
            </ul>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   133
        </div><!-- footer -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   134
        {% endblock %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   135
    </div><!-- wrap -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   136
</div><!-- wrapper -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   137
{% endblock %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   138
<!-- JavaScript -->
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   139
{% block js_import %}
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   140
<script type="text/javascript" src="{% static 'hashcut/lib/jquery.min.js' %}"></script>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   141
<script type="text/javascript" src="{% static 'hashcut/lib/jquery-ui.min.js' %}"></script>
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   142
<script type="text/javascript" src="{% static 'hashcut/js/common.js' %}"></script>
86
4857ac3892e3 Minor changes
veltr
parents: 84
diff changeset
   143
<script type="text/javascript" src="{% static 'hashcut/js/social.js' %}"></script>
4857ac3892e3 Minor changes
veltr
parents: 84
diff changeset
   144
<script type="text/javascript" src="{% static 'hashcut/lib/ZeroClipboard.js' %}"></script>
76
903a22d6c535 iri templates (work but css not finished)
cavaliet
parents: 60
diff changeset
   145
{% endblock %}
59
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
   146
{% endblock %}
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
   147
{% analytics %}
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
   148
</body>
c62fe82604ef first home view and static files
cavaliet
parents:
diff changeset
   149
</html>