6340c53fc0643b0d81cb7ee2eb35511e8e46b12c
[django-sponsors.git] / sponsors / templates / sponsors / page.html
1 <div class="sponsors-page">
2     {% for column in sponsors %}
3         <div class="sponsors-column">
4             <p class="sponsors-column-name">{{ column.name|default:"&nbsp;" }}</p>
5             <div class='sponsor-logos'>
6                 {% for offset, sponsor in column.sponsors %}
7                     <a href="{{ sponsor.url }}" title="{{ sponsor.description }}" 
8                         style='display:block; background: url({{ page.sprite.url }}) 0px {{ offset }}px no-repeat; width: 120px; height: 120px;'>
9                     </a>
10                 {% endfor %}
11             </div>
12         </div>
13     {% endfor %}
14     <div style="clear: both"></div>
15 </div>