Mercurial > public > madeira
comparison mysite/templates/band/photos.html @ 1:0dcfcdf50c62
Initial import of Madeira project from the private repository.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 06 Apr 2009 03:10:59 +0000 |
parents | |
children | 10be1f4f121b |
comparison
equal
deleted
inserted
replaced
0:df0370bfe3f0 | 1:0dcfcdf50c62 |
---|---|
1 {% extends 'band/base.html' %} | |
2 {% block title %}The Madeira | Photo Galleries{% endblock %} | |
3 {% block custom_css %} | |
4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/thickbox.css" /> | |
5 {% endblock %} | |
6 {% block custom_js %} | |
7 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js"></script> | |
8 <script type="text/javascript" src="{{ MEDIA_URL }}js/thickbox.js"></script> | |
9 {% endblock %} | |
10 {% block content %} | |
11 <h1>Madeira Photo Galleries</h1> | |
12 {% if galleries %} | |
13 <ul> | |
14 {% for gallery in galleries %} | |
15 <li><a href="{% url mysite.band.views.photo_detail gallery.id %}">{{ gallery.title }}</a></li> | |
16 {% endfor %} | |
17 </ul> | |
18 {% else %} | |
19 No photo galleries available at this time. | |
20 {% endif %} | |
21 {% if randomPhotos %} | |
22 <div class="madeira-photo-list"> | |
23 <h2>Random Photos:</h2> | |
24 {% for photo in randomPhotos %} | |
25 <a href="{{ photo.image.url }}" class="thickbox" rel="madeira-gallery"> | |
26 <img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.caption }}" title="{{ photo.caption }}" /></a> | |
27 {% endfor %} | |
28 </div> | |
29 {% endif %} | |
30 {% endblock %} |