Mercurial > public > madeira
comparison mysite/templates/band/index.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 | fa724fb48b2c |
comparison
equal
deleted
inserted
replaced
0:df0370bfe3f0 | 1:0dcfcdf50c62 |
---|---|
1 {% extends 'band/base.html' %} | |
2 {% block title %}The Madeira{% 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 {% load markup %} | |
11 {% block content %} | |
12 <h1>The Madeira</h1> | |
13 <img class="floatLeftBox" src="{{ config.intro_photo.image.url }}" | |
14 alt="{{ config.intro_photo.title }}" title="{{config.intro_photo.title}}" border="0" /> | |
15 {{ config.intro_text|textile }} | |
16 <br /> | |
17 | |
18 {% if upcomingDates %} | |
19 <div class="center-block"> | |
20 <h2>Upcoming Shows...</h2> | |
21 | |
22 <center><table border="0" cellspacing="10" cellpadding="3"><tr> | |
23 {% for gig in upcomingDates %} | |
24 {% if gig.flyer %} | |
25 <td> | |
26 <a href="{{ gig.flyer.image.url }}" class="thickbox" rel="madeira-gallery"> | |
27 <img src="{{ gig.flyer.get_thumbnail_url }}" alt="{{ gig.flyer.caption }}" title="{{ gig.flyer.caption }}" /></a> | |
28 <br /><center>{{ gig.flyer.caption }}</center> | |
29 </td> | |
30 {% endif %} | |
31 {% endfor %} | |
32 </tr></table></center> | |
33 | |
34 <ul> | |
35 {% for show in upcomingDates %} | |
36 <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 }} | |
37 {% endif %}</li> | |
38 {% endfor %} | |
39 </ul> | |
40 <center><a href="{% url mysite.band.views.gigs %}">See all upcoming shows...</a></center> | |
41 </div> | |
42 {% endif %} | |
43 | |
44 <div class="newsflash"> | |
45 <table border="0" cellspacing="2" cellpadding="2" width="100%"> | |
46 <tr><td colspan="2"><center><h1>The Madeira Releases:</h1></center></td></tr> | |
47 | |
48 <tr><td colspan="2"><center> | |
49 <img src="{{ carpe.image.url }}" alt="Carpe Noctem Cover" title="Carpe Noctem" border="0" /> | |
50 </center></td></tr> | |
51 <tr><td colspan="2"><center><strong>Available Now: Carpe Noctem!</strong><br /> | |
52 </center></td></tr> | |
53 <tr><td><center><a href="http://www.dblcrown.com"><img src="{{ sandstorm.image.url }}" alt="Sandstorm CD Cover" | |
54 title="Sandstorm" border="0" /></a></center></td> | |
55 | |
56 <td><center><a href="http://www.dblcrown.com"><img src="{{ ruins.image.url }}" alt="Ruins EP Cover" title="Ruins" | |
57 border="0" /></a></center></td></tr> | |
58 <tr><td><center><a href="http://www.dblcrown.com">Sandstorm</a></center></td> | |
59 <td><center><a href="http://www.dblcrown.com">Ruins</a></center></td></tr> | |
60 </table> | |
61 </div> | |
62 | |
63 {% endblock %} |