48c28651b8
Boxes takes content directly from the DB and drops it into the django templates. This is rather ugly and goes against keeping as much as we can in static locations. As such, this is being dropped.
26 lines
781 B
HTML
26 lines
781 B
HTML
{% load sponsorship_tags %}
|
|
{% load thumbnail %}
|
|
|
|
{% sponsor_levels as levels %}
|
|
|
|
<h4>Sponsors</h4>
|
|
|
|
<div class="sponsor-list">
|
|
<div>
|
|
<h1>SPONSOR TOP</h1>
|
|
<p>Whatever the hell this means, it's locked in a DB</p>
|
|
<p>Fill this with sponsor spiel</p>
|
|
</div>
|
|
{% for level in levels %}
|
|
{% if level.sponsors %}
|
|
<h3 style="margin-top: 3em;">{{ level.name }}</h3>
|
|
{% for sponsor in level.sponsors %}
|
|
<div style="margin: 10px 0;">
|
|
<a href="{{ sponsor.external_url }}">
|
|
<img src="{% thumbnail sponsor.website_logo '100x60' %}" alt="{{ sponsor.name }}" />
|
|
</a>
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|