annotate mysite/templates/band/index.html @ 40:25e00d1b99bf

Get rid of the project name 'mysite' from the source.
author Brian Neal <bgneal@gmail.com>
date Tue, 14 Feb 2012 19:09:57 -0600
parents fb72a1e65121
children
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@32 10 <script type="text/javascript">
bgneal@32 11 $(function() {
bgneal@32 12 $('a.fancybox').fancybox();
bgneal@32 13 });
bgneal@32 14 </script>
bgneal@1 15 {% endblock %}
bgneal@1 16 {% load markup %}
bgneal@1 17 {% block content %}
bgneal@1 18 <h1>The Madeira</h1>
bgneal@1 19 <img class="floatLeftBox" src="{{ config.intro_photo.image.url }}"
bgneal@1 20 alt="{{ config.intro_photo.title }}" title="{{config.intro_photo.title}}" border="0" />
bgneal@1 21 {{ config.intro_text|textile }}
bgneal@1 22 <br />
bgneal@1 23
bgneal@1 24 {% if upcomingDates %}
bgneal@1 25 <div class="center-block">
bgneal@1 26 <h2>Upcoming Shows...</h2>
bgneal@1 27
bgneal@1 28 <center><table border="0" cellspacing="10" cellpadding="3"><tr>
bgneal@1 29 {% for gig in upcomingDates %}
bgneal@1 30 {% if gig.flyer %}
bgneal@1 31 <td>
bgneal@18 32 <a href="{{ gig.flyer.image.url }}" class="fancybox" rel="madeira-gallery">
bgneal@1 33 <img src="{{ gig.flyer.get_thumbnail_url }}" alt="{{ gig.flyer.caption }}" title="{{ gig.flyer.caption }}" /></a>
bgneal@1 34 <br /><center>{{ gig.flyer.caption }}</center>
bgneal@1 35 </td>
bgneal@1 36 {% endif %}
bgneal@1 37 {% endfor %}
bgneal@1 38 </tr></table></center>
bgneal@1 39
bgneal@1 40 <ul>
bgneal@1 41 {% for show in upcomingDates %}
bgneal@1 42 <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 43 {% endif %}
bgneal@6 44 {% ifnotequal show.venue.city.country.name "USA" %}
bgneal@6 45 {{ show.venue.city.country.name }}
bgneal@6 46 {% endifnotequal %}
bgneal@6 47 </li>
bgneal@1 48 {% endfor %}
bgneal@1 49 </ul>
bgneal@40 50 <center><a href="{% url 'band.views.gigs' %}">See all upcoming shows...</a></center>
bgneal@1 51 </div>
bgneal@1 52 {% endif %}
bgneal@1 53
bgneal@13 54 <div>
bgneal@16 55 <center>
bgneal@30 56 <h2>Sandstorm from Sound of the Surf</h2>
bgneal@30 57 <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 58 <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 59 </center>
bgneal@30 60 </div>
bgneal@30 61 <div>
bgneal@30 62 <center>
bgneal@21 63 <h2>New Song Preview!</h2>
bgneal@21 64 <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 65 <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 66 </center>
bgneal@13 67 </div>
bgneal@13 68
bgneal@1 69 <div class="newsflash">
bgneal@12 70 <center>
bgneal@1 71 <table border="0" cellspacing="2" cellpadding="2" width="100%">
bgneal@1 72 <tr><td colspan="2"><center><h1>The Madeira Releases:</h1></center></td></tr>
bgneal@1 73
bgneal@1 74 <tr><td colspan="2"><center>
bgneal@1 75 <img src="{{ carpe.image.url }}" alt="Carpe Noctem Cover" title="Carpe Noctem" border="0" />
bgneal@1 76 </center></td></tr>
bgneal@1 77 <tr><td colspan="2"><center><strong>Available Now: Carpe Noctem!</strong><br />
bgneal@1 78 </center></td></tr>
bgneal@1 79 <tr><td><center><a href="http://www.dblcrown.com"><img src="{{ sandstorm.image.url }}" alt="Sandstorm CD Cover"
bgneal@1 80 title="Sandstorm" border="0" /></a></center></td>
bgneal@1 81
bgneal@1 82 <td><center><a href="http://www.dblcrown.com"><img src="{{ ruins.image.url }}" alt="Ruins EP Cover" title="Ruins"
bgneal@1 83 border="0" /></a></center></td></tr>
bgneal@1 84 <tr><td><center><a href="http://www.dblcrown.com">Sandstorm</a></center></td>
bgneal@1 85 <td><center><a href="http://www.dblcrown.com">Ruins</a></center></td></tr>
bgneal@1 86 </table>
bgneal@12 87 </center>
bgneal@1 88 </div>
bgneal@1 89
bgneal@1 90 {% endblock %}