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@15
|
7 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
|
bgneal@1
|
8 <script type="text/javascript" src="{{ MEDIA_URL }}js/thickbox.js"></script>
|
bgneal@13
|
9 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.cross-slide.min.js"></script>
|
bgneal@13
|
10 <script type="text/javascript">
|
bgneal@13
|
11 $(function() {
|
bgneal@13
|
12 $('#slideshow').crossSlide({
|
bgneal@13
|
13 speed: 45,
|
bgneal@13
|
14 fade: 1
|
bgneal@13
|
15 }, [
|
bgneal@13
|
16 { src: '{{ MEDIA_URL }}images/slideshow/1.jpg', dir: 'up' },
|
bgneal@13
|
17 { src: '{{ MEDIA_URL }}images/slideshow/2.jpg', dir: 'down' },
|
bgneal@13
|
18 { src: '{{ MEDIA_URL }}images/slideshow/3.jpg', dir: 'up' },
|
bgneal@13
|
19 { src: '{{ MEDIA_URL }}images/slideshow/4.jpg', dir: 'down' },
|
bgneal@13
|
20 { src: '{{ MEDIA_URL }}images/slideshow/5.jpg', dir: 'up' },
|
bgneal@13
|
21 { src: '{{ MEDIA_URL }}images/slideshow/6.jpg', dir: 'down' }
|
bgneal@13
|
22 ]);
|
bgneal@13
|
23 });
|
bgneal@13
|
24 </script>
|
bgneal@1
|
25 {% endblock %}
|
bgneal@1
|
26 {% load markup %}
|
bgneal@1
|
27 {% block content %}
|
bgneal@1
|
28 <h1>The Madeira</h1>
|
bgneal@1
|
29 <img class="floatLeftBox" src="{{ config.intro_photo.image.url }}"
|
bgneal@1
|
30 alt="{{ config.intro_photo.title }}" title="{{config.intro_photo.title}}" border="0" />
|
bgneal@1
|
31 {{ config.intro_text|textile }}
|
bgneal@1
|
32 <br />
|
bgneal@1
|
33
|
bgneal@1
|
34 {% if upcomingDates %}
|
bgneal@1
|
35 <div class="center-block">
|
bgneal@1
|
36 <h2>Upcoming Shows...</h2>
|
bgneal@1
|
37
|
bgneal@1
|
38 <center><table border="0" cellspacing="10" cellpadding="3"><tr>
|
bgneal@1
|
39 {% for gig in upcomingDates %}
|
bgneal@1
|
40 {% if gig.flyer %}
|
bgneal@1
|
41 <td>
|
bgneal@1
|
42 <a href="{{ gig.flyer.image.url }}" class="thickbox" rel="madeira-gallery">
|
bgneal@1
|
43 <img src="{{ gig.flyer.get_thumbnail_url }}" alt="{{ gig.flyer.caption }}" title="{{ gig.flyer.caption }}" /></a>
|
bgneal@1
|
44 <br /><center>{{ gig.flyer.caption }}</center>
|
bgneal@1
|
45 </td>
|
bgneal@1
|
46 {% endif %}
|
bgneal@1
|
47 {% endfor %}
|
bgneal@1
|
48 </tr></table></center>
|
bgneal@1
|
49
|
bgneal@1
|
50 <ul>
|
bgneal@1
|
51 {% for show in upcomingDates %}
|
bgneal@1
|
52 <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
|
53 {% endif %}
|
bgneal@6
|
54 {% ifnotequal show.venue.city.country.name "USA" %}
|
bgneal@6
|
55 {{ show.venue.city.country.name }}
|
bgneal@6
|
56 {% endifnotequal %}
|
bgneal@6
|
57 </li>
|
bgneal@1
|
58 {% endfor %}
|
bgneal@1
|
59 </ul>
|
bgneal@1
|
60 <center><a href="{% url mysite.band.views.gigs %}">See all upcoming shows...</a></center>
|
bgneal@1
|
61 </div>
|
bgneal@1
|
62 {% endif %}
|
bgneal@1
|
63
|
bgneal@13
|
64 <div>
|
bgneal@16
|
65 <center>
|
bgneal@16
|
66 <h2>Highlights of Summer 2010</h2>
|
bgneal@14
|
67 <div id="slideshow">
|
bgneal@13
|
68 </div>
|
bgneal@16
|
69 <p>The Madeira at FesTiki 2010. Photos by <a href="http://www.fennerphotography.com/">Fenner Photography</a>.</p>
|
bgneal@16
|
70 <object width="500" height="405"><param name="movie" value="http://www.youtube.com/v/-vSs2SoIBkI?fs=1&hl=en_US&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/-vSs2SoIBkI?fs=1&hl=en_US&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="405"></embed></object>
|
bgneal@16
|
71 </center>
|
bgneal@13
|
72 </div>
|
bgneal@13
|
73
|
bgneal@1
|
74 <div class="newsflash">
|
bgneal@12
|
75 <center>
|
bgneal@1
|
76 <table border="0" cellspacing="2" cellpadding="2" width="100%">
|
bgneal@1
|
77 <tr><td colspan="2"><center><h1>The Madeira Releases:</h1></center></td></tr>
|
bgneal@1
|
78
|
bgneal@1
|
79 <tr><td colspan="2"><center>
|
bgneal@1
|
80 <img src="{{ carpe.image.url }}" alt="Carpe Noctem Cover" title="Carpe Noctem" border="0" />
|
bgneal@1
|
81 </center></td></tr>
|
bgneal@1
|
82 <tr><td colspan="2"><center><strong>Available Now: Carpe Noctem!</strong><br />
|
bgneal@1
|
83 </center></td></tr>
|
bgneal@1
|
84 <tr><td><center><a href="http://www.dblcrown.com"><img src="{{ sandstorm.image.url }}" alt="Sandstorm CD Cover"
|
bgneal@1
|
85 title="Sandstorm" border="0" /></a></center></td>
|
bgneal@1
|
86
|
bgneal@1
|
87 <td><center><a href="http://www.dblcrown.com"><img src="{{ ruins.image.url }}" alt="Ruins EP Cover" title="Ruins"
|
bgneal@1
|
88 border="0" /></a></center></td></tr>
|
bgneal@1
|
89 <tr><td><center><a href="http://www.dblcrown.com">Sandstorm</a></center></td>
|
bgneal@1
|
90 <td><center><a href="http://www.dblcrown.com">Ruins</a></center></td></tr>
|
bgneal@1
|
91 </table>
|
bgneal@12
|
92 </center>
|
bgneal@1
|
93 </div>
|
bgneal@1
|
94
|
bgneal@1
|
95 {% endblock %}
|