|
|
@@ -485,11 +485,11 @@ TabJs = {'select':[], 'desc':[]} |
|
|
|
<%def name="show_pictures(uprofil)"> \ |
|
|
|
<div class="profile-icon pull-right"> |
|
|
|
<% photos = uprofil.PhotosLinks %> |
|
|
|
<div id="MyPictureCarousel" class="carousel slide"> |
|
|
|
<div id="MyPictureCarousel-${uprofil.uid}" class="carousel slide"> |
|
|
|
% if len(photos)>1: |
|
|
|
<!-- Carousel nav --> |
|
|
|
<a class="Ucarousel-control left" href="#MyPictureCarousel" data-slide="prev">‹</a> |
|
|
|
<a class="Ucarousel-control right" href="#MyPictureCarousel" data-slide="next">›</a> |
|
|
|
<a class="Ucarousel-control left" href="#MyPictureCarousel-${uprofil.uid}" data-slide="prev">‹</a> |
|
|
|
<a class="Ucarousel-control right" href="#MyPictureCarousel-${uprofil.uid}" data-slide="next">›</a> |
|
|
|
% endif |
|
|
|
<!-- Carousel items --> |
|
|
|
<div class="carousel-inner" style="height: 220px;"> |
|
|
@@ -551,6 +551,39 @@ TabJs = {'select':[], 'desc':[]} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</%def> \ |
|
|
|
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
|
|
## Wrapper pour les photos de l'année |
|
|
|
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
|
|
<%def name="show_photos(photos)"> \ |
|
|
|
<div class="profile-icon pull-right"> |
|
|
|
<div id="PhotoCarousel" class="carousel slide"> |
|
|
|
% if photos and len(photos)>1: |
|
|
|
<!-- Carousel nav --> |
|
|
|
<a class="Ucarousel-control left" href="#PhotoCarousel" data-slide="prev">‹</a> |
|
|
|
<a class="Ucarousel-control right" href="#PhotoCarousel" data-slide="next">›</a> |
|
|
|
% endif |
|
|
|
<!-- Carousel items --> |
|
|
|
<div class="carousel-inner" style="height: 220px;"> |
|
|
|
% if photos and len(photos): |
|
|
|
% for num, link in enumerate(photos): |
|
|
|
<div class="${['','active '][num==0]}item" id="UserPic${num}"> |
|
|
|
<div style="margin:auto;"> |
|
|
|
<img src="${link}" class="img-polaroid" style="max-heights:205px;max-widths:235px;" alt="Photo" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
% endfor |
|
|
|
% else: |
|
|
|
## <div class="active item" id="UserPic0"> |
|
|
|
## <div style="margin:auto;widths:170px;"> |
|
|
|
## <img src="/img/default-user.png" class="img-polaroid" alt="Photo ${uprofil.nom} ${uprofil.prenom}" style="max-heights:205px;" /> |
|
|
|
## </div> |
|
|
|
## </div> |
|
|
|
% endif |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</%def> \ |
|
|
|
|
|
|
|
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
|
|
## Wrapper pour les échanges utilisateurs |
|
|
|
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
|
|
@@ -701,3 +734,4 @@ TabJs = {'select':[], 'desc':[]} |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</%def> \ |
|
|
|
|