view bns_website/templates/bands/band_list.html @ 52:12a39a6f5247 bands-experimental-ui

This is a simple change to just make every band it's own hero box. Next up is to try the slider box approach.
author Chris Ridgway <ckridgway@gmail.com>
date Sun, 13 Nov 2011 21:20:13 -0600
parents 59dd574fcfff
children 98cc19041d8f
line wrap: on
line source
{% extends 'base.html' %}
{% load core_tags %}
{% block title %}Bands{% endblock %}

{% block custom_css %}
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/redmond/jquery-ui.css">
{% endblock %}
{% block custom_js %}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
<script type="text/javascript">
	$(function() {
      $("#accordion").accordion({active: false});
	});
</script>
{% endblock %}

{% block content %}
{% navbar 'bands' %}


{% for band in object_list %}
<div class="hero-unit">
      <h1>{{ band.name }}</h1>
      <div class="row">
         <div class="span10">
            <br/>
            <span>{{ band.notes }}</span>
            <p style="margin-top:1em"><a class="btn default" href="">Band Site</a></p>
         </div>
         <div class="span4">
            <img src="http://placehold.it/200x200&text={{ band.name|escapejs }}">
         </div>
      </div>

</div>
{% endfor %}

{% endblock %}