annotate mysite/templates/band/index.html @ 26:efb2da0b5d10

Merging the django1.3 branch into trunk.
author Brian Neal <bgneal@gmail.com>
date Wed, 30 Mar 2011 00:16:32 +0000
parents f3052378ab47
children e492aa7c70de
rev   line source
bgneal@1 1 {% extends 'band/base.html' %}
bgneal@26 2 {% load url from future %}
bgneal@1 3 {% block title %}The Madeira{% endblock %}
bgneal@1 4 {% block custom_css %}
bgneal@26 5 <link rel="stylesheet" href="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />
bgneal@1 6 {% endblock %}
bgneal@1 7 {% block custom_js %}
bgneal@15 8 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
bgneal@26 9 <script type="text/javascript" src="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.pack.js"></script>
bgneal@1 10 {% endblock %}
bgneal@1 11 {% load markup %}
bgneal@1 12 {% block content %}
bgneal@1 13 <h1>The Madeira</h1>
bgneal@1 14 <img class="floatLeftBox" src="{{ config.intro_photo.image.url }}"
bgneal@1 15 alt="{{ config.intro_photo.title }}" title="{{config.intro_photo.title}}" border="0" />
bgneal@1 16 {{ config.intro_text|textile }}
bgneal@1 17 <br />
bgneal@1 18
bgneal@1 19 {% if upcomingDates %}
bgneal@1 20 <div class="center-block">
bgneal@1 21 <h2>Upcoming Shows...</h2>
bgneal@1 22
bgneal@1 23 <center><table border="0" cellspacing="10" cellpadding="3"><tr>
bgneal@1 24 {% for gig in upcomingDates %}
bgneal@1 25 {% if gig.flyer %}
bgneal@1 26 <td>
bgneal@18 27 <a href="{{ gig.flyer.image.url }}" class="fancybox" rel="madeira-gallery">
bgneal@1 28 <img src="{{ gig.flyer.get_thumbnail_url }}" alt="{{ gig.flyer.caption }}" title="{{ gig.flyer.caption }}" /></a>
bgneal@1 29 <br /><center>{{ gig.flyer.caption }}</center>
bgneal@1 30 </td>
bgneal@1 31 {% endif %}
bgneal@1 32 {% endfor %}
bgneal@1 33 </tr></table></center>
bgneal@1 34
bgneal@1 35 <ul>
bgneal@1 36 {% for show in upcomingDates %}
bgneal@1 37 <li><strong>{{ show.date|date:"l, F d" }}</strong>: {{ show.venue.name }}, {{ show.venue.city.name }}{% if show.venue.city.state %}, {{ show.venue.city.state.name }}
bgneal@6 38 {% endif %}
bgneal@6 39 {% ifnotequal show.venue.city.country.name "USA" %}
bgneal@6 40 {{ show.venue.city.country.name }}
bgneal@6 41 {% endifnotequal %}
bgneal@6 42 </li>
bgneal@1 43 {% endfor %}
bgneal@1 44 </ul>
bgneal@26 45 <center><a href="{% url 'mysite.band.views.gigs' %}">See all upcoming shows...</a></center>
bgneal@1 46 </div>
bgneal@1 47 {% endif %}
bgneal@1 48
bgneal@13 49 <div>
bgneal@16 50 <center>
bgneal@21 51 <h2>New Song Preview!</h2>
bgneal@21 52 <object width="480" height="385"><param name="movie" value="http://www.youtube.com/p/B67E923C98CCECD8?hl=en_US&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/p/B67E923C98CCECD8?hl=en_US&fs=1" type="application/x-shockwave-flash" width="480" height="385" allowscriptaccess="always" allowfullscreen="true"></embed></object>
bgneal@21 53 <p>Check out this set of 6 videos from our show at Mahogany's in February. Five of the songs are new originals slated for our new album! Video courtesy of TikiTim.</p>
bgneal@16 54 </center>
bgneal@13 55 </div>
bgneal@13 56
bgneal@1 57 <div class="newsflash">
bgneal@12 58 <center>
bgneal@1 59 <table border="0" cellspacing="2" cellpadding="2" width="100%">
bgneal@1 60 <tr><td colspan="2"><center><h1>The Madeira Releases:</h1></center></td></tr>
bgneal@1 61
bgneal@1 62 <tr><td colspan="2"><center>
bgneal@1 63 <img src="{{ carpe.image.url }}" alt="Carpe Noctem Cover" title="Carpe Noctem" border="0" />
bgneal@1 64 </center></td></tr>
bgneal@1 65 <tr><td colspan="2"><center><strong>Available Now: Carpe Noctem!</strong><br />
bgneal@1 66 </center></td></tr>
bgneal@1 67 <tr><td><center><a href="http://www.dblcrown.com"><img src="{{ sandstorm.image.url }}" alt="Sandstorm CD Cover"
bgneal@1 68 title="Sandstorm" border="0" /></a></center></td>
bgneal@1 69
bgneal@1 70 <td><center><a href="http://www.dblcrown.com"><img src="{{ ruins.image.url }}" alt="Ruins EP Cover" title="Ruins"
bgneal@1 71 border="0" /></a></center></td></tr>
bgneal@1 72 <tr><td><center><a href="http://www.dblcrown.com">Sandstorm</a></center></td>
bgneal@1 73 <td><center><a href="http://www.dblcrown.com">Ruins</a></center></td></tr>
bgneal@1 74 </table>
bgneal@12 75 </center>
bgneal@1 76 </div>
bgneal@1 77
bgneal@1 78 {% endblock %}