|
83
|
1 |
{% extends "bpi_mashup_home.html" %} |
|
|
2 |
{% load static %} |
|
|
3 |
{% load i18n %} |
|
|
4 |
{% load analytics %} |
|
|
5 |
{% load thumbnail %} |
|
84
|
6 |
{% block title %}Profil de '{{username}}'{% endblock %} |
|
83
|
7 |
{% block css_page %} |
|
|
8 |
<link rel="stylesheet" href="{% static 'hashcut/bpi/css/profil.css' %}" /> |
|
|
9 |
{% endblock %} |
|
|
10 |
|
|
|
11 |
{% block wrap_header %} |
|
|
12 |
<div class="wrap-header"> |
|
|
13 |
<div class="header"> |
|
|
14 |
{% include 'partial/bpi_mashup_popin_user.html' %} |
|
|
15 |
{% include 'partial/bpi_hashcut_logo.html' %} |
|
|
16 |
<div class="title-header"></div> |
|
|
17 |
<div class="profil-wrap"> |
|
|
18 |
<ul> |
|
84
|
19 |
<li><a href="{% url mashup_home branding=branding %}" class="all-hashcut">Accueil</a></li> |
|
83
|
20 |
<li><a href="{% url mashup_edit branding=branding %}" class="new-hashcut">Créer un Hashcut</a></li> |
|
|
21 |
<li><a href="#user" class="my-profil open-popin">Mon profil</a></li> |
|
|
22 |
</ul> |
|
|
23 |
</div> |
|
|
24 |
</div><!-- header --> |
|
|
25 |
</div> <!-- wrap-header --> |
|
|
26 |
{% endblock %} |
|
|
27 |
|
|
|
28 |
{% block content %} |
|
|
29 |
<div class="content"> |
|
|
30 |
<h2 class="title-content">Hashcuts de <a>{{username}}</a></h2> |
|
|
31 |
|
|
|
32 |
<div class="hashcut-video-wrap profil"> |
|
|
33 |
{% for m in mashups %} |
|
|
34 |
<div class="video-item"> |
|
|
35 |
<a href="{% url mashup_hashcut branding=branding ldt_id=m.project.ldt_id %}" class="screenshot">{% thumbnail m.project.image "302x202" crop="center" format="PNG" as im %}<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" alt=""/>{% empty %} {% endthumbnail %}</a> |
|
84
|
36 |
<h3><a class="title" href="{% url mashup_hashcut branding=branding ldt_id=m.project.ldt_id %}">{% if m.project.title|length > 30 %}{{m.project.title|slice:":30"}}...{% else %}{{m.project.title}}{% endif %}</a> par {{ m.creator }} | <span class="duration">02:24</span> </h3> |
|
83
|
37 |
</div> |
|
|
38 |
{% endfor %} |
|
|
39 |
</div> |
|
|
40 |
<!--div class="pagination"> |
|
|
41 |
<a href="#" class="active">1</a> |
|
|
42 |
<a href="#">2</a> |
|
|
43 |
<a href="#">3</a> |
|
|
44 |
<a href="#">4</a> |
|
|
45 |
<a href="#">5</a> |
|
|
46 |
<a href="#">6</a> |
|
|
47 |
<a href="#">Suivant</a> |
|
|
48 |
</div--> |
|
|
49 |
</div><!-- content --> |
|
|
50 |
{% endblock %} |
|
|
51 |
|