Mercurial > public > madeira
annotate mysite/templates/band/photo_detail.html @ 38:1ff89e01b4ff
Adding a .hgignore file.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 14 Feb 2012 18:52:09 -0600 |
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 %} |