annotate mysite/templates/band/index.html @ 30:e492aa7c70de

Updating home page; adding Sandstorm video from Sound of the Surf.
author Brian Neal <bgneal@gmail.com>
date Mon, 25 Apr 2011 22:53:45 +0000
parents efb2da0b5d10
children fb72a1e65121
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@30 51 <h2>Sandstorm from Sound of the Surf</h2>
bgneal@30 52 <object width="640" height="390"><param name="movie" value="http://www.youtube-nocookie.com/v/IFnyaCPyJSk?fs=1&amp;hl=en_US&amp;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&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="390"></embed></object>
bgneal@30 53 <p>Another clip from the upcoming film <a href="http://soundofthesurf.com">Sound of the Surf</a> has just been released, and it is our performance of Sandstorm! This movie cannot come out soon enough!</p>
bgneal@30 54 </center>
bgneal@30 55 </div>
bgneal@30 56 <div>
bgneal@30 57 <center>
bgneal@21 58 <h2>New Song Preview!</h2>
bgneal@21 59 <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 60 <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 61 </center>
bgneal@13 62 </div>
bgneal@13 63
bgneal@1 64 <div class="newsflash">
bgneal@12 65 <center>
bgneal@1 66 <table border="0" cellspacing="2" cellpadding="2" width="100%">
bgneal@1 67 <tr><td colspan="2"><center><h1>The Madeira Releases:</h1></center></td></tr>
bgneal@1 68
bgneal@1 69 <tr><td colspan="2"><center>
bgneal@1 70 <img src="{{ carpe.image.url }}" alt="Carpe Noctem Cover" title="Carpe Noctem" border="0" />
bgneal@1 71 </center></td></tr>
bgneal@1 72 <tr><td colspan="2"><center><strong>Available Now: Carpe Noctem!</strong><br />
bgneal@1 73 </center></td></tr>
bgneal@1 74 <tr><td><center><a href="http://www.dblcrown.com"><img src="{{ sandstorm.image.url }}" alt="Sandstorm CD Cover"
bgneal@1 75 title="Sandstorm" border="0" /></a></center></td>
bgneal@1 76
bgneal@1 77 <td><center><a href="http://www.dblcrown.com"><img src="{{ ruins.image.url }}" alt="Ruins EP Cover" title="Ruins"
bgneal@1 78 border="0" /></a></center></td></tr>
bgneal@1 79 <tr><td><center><a href="http://www.dblcrown.com">Sandstorm</a></center></td>
bgneal@1 80 <td><center><a href="http://www.dblcrown.com">Ruins</a></center></td></tr>
bgneal@1 81 </table>
bgneal@12 82 </center>
bgneal@1 83 </div>
bgneal@1 84
bgneal@1 85 {% endblock %}