annotate mysite/templates/band/photo_detail.html @ 36:7236f526e414
Remove unused sqllog.py middleware.
author |
Brian Neal <bgneal@gmail.com> |
date |
Wed, 30 Nov 2011 00:16:44 +0000 |
parents |
f61db5f82549 |
children |
25e00d1b99bf |
rev |
line source |
bgneal@1
|
1 {% extends 'band/base.html' %}
|
bgneal@26
|
2 {% load url from future %}
|
bgneal@1
|
3 {% load markup %}
|
bgneal@1
|
4 {% block title %}The Madeira | Photos: {{ gallery.title }}{% endblock %}
|
bgneal@1
|
5 {% block custom_css %}
|
bgneal@26
|
6 <link rel="stylesheet" href="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />
|
bgneal@1
|
7 {% endblock %}
|
bgneal@1
|
8 {% block custom_js %}
|
bgneal@18
|
9 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
|
bgneal@26
|
10 <script type="text/javascript" src="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.pack.js"></script>
|
bgneal@18
|
11 <script type="text/javascript">
|
bgneal@18
|
12 $(function() {
|
bgneal@18
|
13 $('a.fancybox').fancybox();
|
bgneal@18
|
14 });
|
bgneal@18
|
15 </script>
|
bgneal@1
|
16 {% endblock %}
|
bgneal@1
|
17 {% block content %}
|
bgneal@1
|
18 <h1>Madeira Photos: {{ gallery.title }}</h1>
|
bgneal@1
|
19 {{ gallery.description|textile }}
|
bgneal@1
|
20
|
bgneal@1
|
21 <div class="madeira-photo-list">
|
bgneal@29
|
22 {% for photo in photos %}
|
bgneal@18
|
23 <a href="{{ photo.image.url }}" class="fancybox" rel="madeira-gallery">
|
bgneal@1
|
24 <img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.caption }}" title="{{ photo.caption }}" /></a>
|
bgneal@1
|
25 {% endfor %}
|
bgneal@1
|
26 </div>
|
bgneal@26
|
27 <center><a href="{% url 'mysite.band.views.photos_index' %}">Photo gallery index</a></center>
|
bgneal@1
|
28
|
bgneal@1
|
29 {% endblock %}
|