mirror of
https://github.com/nikdoof/evestandings.git
synced 2025-12-24 07:19:24 +00:00
Instead of doing a lot of if checks for type, just use the type directly, as its already in the format we need.
20 lines
612 B
HTML
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 %}
|