diff mysite/templates/band/index.html @ 1:0dcfcdf50c62

Initial import of Madeira project from the private repository.
author Brian Neal <bgneal@gmail.com>
date Mon, 06 Apr 2009 03:10:59 +0000
parents
children fa724fb48b2c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mysite/templates/band/index.html	Mon Apr 06 03:10:59 2009 +0000
@@ -0,0 +1,63 @@
+{% extends 'band/base.html' %}
+{% block title %}The Madeira{% endblock %}
+{% block custom_css %}
+<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/thickbox.css" />
+{% endblock %}
+{% block custom_js %}
+<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js"></script>
+<script type="text/javascript" src="{{ MEDIA_URL }}js/thickbox.js"></script>
+{% endblock %}
+{% load markup %}
+{% block content %}
+<h1>The Madeira</h1>
+<img class="floatLeftBox" src="{{ config.intro_photo.image.url }}" 
+   alt="{{ config.intro_photo.title }}" title="{{config.intro_photo.title}}" border="0" />
+{{ config.intro_text|textile }}
+<br />
+
+{% if upcomingDates %}
+<div class="center-block">
+<h2>Upcoming Shows...</h2>
+ 
+<center><table border="0" cellspacing="10" cellpadding="3"><tr>
+{% for gig in upcomingDates %}
+   {% if gig.flyer %}
+   <td>
+   <a href="{{ gig.flyer.image.url }}" class="thickbox" rel="madeira-gallery">
+      <img src="{{ gig.flyer.get_thumbnail_url }}" alt="{{ gig.flyer.caption }}" title="{{ gig.flyer.caption }}" /></a>
+   <br /><center>{{ gig.flyer.caption }}</center>
+   </td>
+   {% endif %}
+{% endfor %}
+</tr></table></center>
+
+<ul>
+{% for show in upcomingDates %}
+<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 }}
+{% endif %}</li>
+{% endfor %}
+</ul>
+<center><a href="{% url mysite.band.views.gigs %}">See all upcoming shows...</a></center>
+</div>
+{% endif %}
+
+<div class="newsflash">
+   <table border="0" cellspacing="2" cellpadding="2" width="100%">
+      <tr><td colspan="2"><center><h1>The Madeira Releases:</h1></center></td></tr>
+
+      <tr><td colspan="2"><center>
+                  <img src="{{ carpe.image.url }}" alt="Carpe Noctem Cover" title="Carpe Noctem" border="0" />
+               </center></td></tr>
+      <tr><td colspan="2"><center><strong>Available Now: Carpe Noctem!</strong><br />
+                  </center></td></tr>
+      <tr><td><center><a href="http://www.dblcrown.com"><img src="{{ sandstorm.image.url }}" alt="Sandstorm CD Cover"
+                  title="Sandstorm" border="0" /></a></center></td>
+
+          <td><center><a href="http://www.dblcrown.com"><img src="{{ ruins.image.url }}" alt="Ruins EP Cover" title="Ruins"
+                  border="0" /></a></center></td></tr>
+      <tr><td><center><a href="http://www.dblcrown.com">Sandstorm</a></center></td>
+         <td><center><a href="http://www.dblcrown.com">Ruins</a></center></td></tr>
+   </table>
+</div>
+
+{% endblock %}