Files
evestandings/standings/templates/standings_list.html
Andrew Williams d793e6c55c Simplify template
Instead of doing a lot of if checks for type, just use the type directly, as its already in the format we need.
2014-08-06 14:47:35 +01:00

20 lines
612 B
HTML

{% extends "base.html" %}
{% block head %}
<title>{{ name }} Standings</title>
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.3.0/bootstrap.min.css">
{% endblock %}
{% block content %}
{% for type in standings %}
<div class="row" id="{{ type }}">
<p><h1 class="muted">{{ type }}</h1></p>
<p>
{% for type, id, entname, standing in standings[type] %}
<img src="http://image.eveonline.com/{{ type }}/{{ id }}_64.png" title="{{ entname }} ({{ standing }})"></li>
{% endfor %}
</p>
</div>
{% endfor %}
{% endblock %}