src/hashcut/templates/bpi_mashup_profile.html
changeset 83 fa742e491ce1
child 84 0c699d2767f8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/hashcut/templates/bpi_mashup_profile.html	Fri Nov 30 14:21:52 2012 +0100
@@ -0,0 +1,51 @@
+{% extends "bpi_mashup_home.html" %}
+{% load static %}
+{% load i18n %}
+{% load analytics %}
+{% load thumbnail %}
+    {% block title %}Hashcut Profile - BPI{% endblock %}
+    {% block css_page %}
+    <link rel="stylesheet" href="{% static 'hashcut/bpi/css/profil.css' %}" />
+    {% endblock %}
+
+{% block wrap_header %}
+<div class="wrap-header"> 
+    <div class="header">
+    {% include 'partial/bpi_mashup_popin_user.html' %}
+    {% include 'partial/bpi_hashcut_logo.html' %}
+        <div class="title-header"></div>
+        <div class="profil-wrap">
+            <ul>
+                <li><a href="{% url mashup_home branding=branding %}" class="all-hashcut">Tous les Hashcuts</a></li>
+                <li><a href="{% url mashup_edit branding=branding %}" class="new-hashcut">Créer un Hashcut</a></li>
+                <li><a href="#user" class="my-profil open-popin">Mon profil</a></li>
+            </ul>
+        </div>
+    </div><!-- header -->
+</div> <!-- wrap-header -->
+{% endblock %}
+
+{% block content %}
+<div class="content">
+    <h2 class="title-content">Hashcuts de <a>{{username}}</a></h2>
+
+    <div class="hashcut-video-wrap profil">
+        {% for m in mashups %}
+        <div class="video-item">
+            <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 %}&nbsp;{% endthumbnail %}</a>
+            <h3><strong>{% if m.project.title|length > 30 %}{{m.project.title|slice:":30"}}...{% else %}{{m.project.title}}{% endif %}</strong> par {{ m.creator }} | <span>02:24</span> </h3>
+        </div>
+        {% endfor %}
+    </div>
+    <!--div class="pagination">
+            <a href="#" class="active">1</a>
+            <a href="#">2</a>
+            <a href="#">3</a>
+            <a href="#">4</a>
+            <a href="#">5</a>
+            <a href="#">6</a>
+            <a href="#">Suivant</a>
+    </div-->
+</div><!-- content -->
+{% endblock %}
+