summaryrefslogtreecommitdiff
path: root/views/leaderboards.html
blob: 1ebabc4ff8154ed963e313369bd5cf9cdb7d35b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends "base.html" %}

{% block head %}
	<link rel="stylesheet" href="/styles/leaderboards.css">
{% endblock %}

{% block content %}
	<div class="intro">
		<h1>Leaderboard</h1>
		<p>See who is the most 1337 guild member!</p>
	</div>
	<table class="leaderboard" cellspacing="0">
		<thead>
			<tr>
				<th>Character name</th>
				<th>Time in guild</th>
				<th>Ranking</th>
			</tr>
		</thead>
		<tbody>
			{% for username, join_time in all_members %}
				<tr>
					<td>{{ username | e}}</td>
					<td>{{ human_time_since(join_time) | e }}</td>
					<td>{{ loop.index }}</td>
				</tr>
			{% endfor %}
		</tbody>
	</table>
{% endblock %}