Mercurial > public > madeira
comparison madeira/templates/band/index.html @ 44:42a6bde9913c
For ticket #1, create a separate gigs application.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 12 Mar 2012 16:57:38 -0500 |
parents | ab83b727d97f |
children |
comparison
equal
deleted
inserted
replaced
43:ab83b727d97f | 44:42a6bde9913c |
---|---|
1 {% extends 'band/base.html' %} | 1 {% extends 'band/base.html' %} |
2 {% load url from future %} | 2 {% load url from future %} |
3 {% load gig_tags %} | |
3 {% block title %}The Madeira{% endblock %} | 4 {% block title %}The Madeira{% endblock %} |
4 {% block custom_css %} | 5 {% block custom_css %} |
5 <link rel="stylesheet" href="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" /> | 6 <link rel="stylesheet" href="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" /> |
6 {% endblock %} | 7 {% endblock %} |
7 {% block custom_js %} | 8 {% block custom_js %} |
24 <p>On these pages you will find the latest news from the band, show dates, songs & videos to download, photos, and merchandise information.</p> | 25 <p>On these pages you will find the latest news from the band, show dates, songs & videos to download, photos, and merchandise information.</p> |
25 | 26 |
26 <p>Please also visit <a href="http://myspace.com/themadeira">The Madeira on Myspace</a> and <a href="http://facebook.com/themadeira">The Madeira on Facebook</a>. Send us email at: <a href="mailto:themadeira@themadeira.net">themadeira@themadeira.net</a>.</p> | 27 <p>Please also visit <a href="http://myspace.com/themadeira">The Madeira on Myspace</a> and <a href="http://facebook.com/themadeira">The Madeira on Facebook</a>. Send us email at: <a href="mailto:themadeira@themadeira.net">themadeira@themadeira.net</a>.</p> |
27 <br /> | 28 <br /> |
28 | 29 |
29 {% if upcomingDates %} | 30 {% upcoming_gigs %} |
30 <div class="center-block"> | |
31 <h2>Upcoming Shows...</h2> | |
32 | |
33 <center><table border="0" cellspacing="10" cellpadding="3"><tr> | |
34 {% for gig in upcomingDates %} | |
35 {% if gig.flyer %} | |
36 <td> | |
37 <a href="{{ gig.flyer.image.url }}" class="fancybox" rel="madeira-gallery"> | |
38 <img src="{{ gig.flyer.get_thumbnail_url }}" alt="{{ gig.flyer.caption }}" title="{{ gig.flyer.caption }}" /></a> | |
39 <br /><center>{{ gig.flyer.caption }}</center> | |
40 </td> | |
41 {% endif %} | |
42 {% endfor %} | |
43 </tr></table></center> | |
44 | |
45 <ul> | |
46 {% for show in upcomingDates %} | |
47 <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 }} | |
48 {% endif %} | |
49 {% ifnotequal show.venue.city.country.name "USA" %} | |
50 {{ show.venue.city.country.name }} | |
51 {% endifnotequal %} | |
52 </li> | |
53 {% endfor %} | |
54 </ul> | |
55 <center><a href="{% url 'band.views.gigs' %}">See all upcoming shows...</a></center> | |
56 </div> | |
57 {% endif %} | |
58 | 31 |
59 <div> | 32 <div> |
60 <center> | 33 <center> |
61 <h2>Sandstorm from Sound of the Surf</h2> | 34 <h2>Sandstorm from Sound of the Surf</h2> |
62 <object width="640" height="390"><param name="movie" value="http://www.youtube-nocookie.com/v/IFnyaCPyJSk?fs=1&hl=en_US&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/IFnyaCPyJSk?fs=1&hl=en_US&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="390"></embed></object> | 35 <object width="640" height="390"><param name="movie" value="http://www.youtube-nocookie.com/v/IFnyaCPyJSk?fs=1&hl=en_US&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/IFnyaCPyJSk?fs=1&hl=en_US&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="390"></embed></object> |