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