Mercurial > public > madeira
changeset 73:dc3b4368fb4e
Tweak upcoming gigs tag HTML to prevent overflow.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 14 Jul 2012 13:51:12 -0500 |
parents | e882e1c9f0c0 |
children | 49f704e58400 |
files | madeira/templates/gigs/upcoming_gigs_tag.html |
diffstat | 1 files changed, 14 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/madeira/templates/gigs/upcoming_gigs_tag.html Sat Apr 14 17:13:10 2012 -0500 +++ b/madeira/templates/gigs/upcoming_gigs_tag.html Sat Jul 14 13:51:12 2012 -0500 @@ -3,17 +3,22 @@ <div class="center-block"> <h2>Upcoming Shows...</h2> -<center><table border="0" cellspacing="10" cellpadding="3"><tr> -{% for gig in gigs %} - {% if gig.flyer %} - <td> +<div class="thumb-box"> + <div style="width:90%; margin-left:auto;"> + {% for gig in gigs %} + {% if gig.flyer %} + <div style="display:inline-table;"> + <table class="image-table"> + <tr><td> <a href="{{ gig.flyer.image.url }}" class="fancybox" 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> + </td></tr> + </table> + </div> + {% endif %} + {% endfor %} + </div> +</div> <ul> {% for gig in gigs %}