-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (33 loc) · 894 Bytes
/
index.html
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
31
32
33
34
{% extends "base.html" %}
{% import 'bootstrap/wtf.html' as wtf %}
{% block app_content %}
<h1>
In progress matches
</h1>
<hr>
<table class="table table-hover">
<tr>
<th>Attacker Team</th>
<th>Defender Team</th>
<th>Round</th>
<th>Match State</th>
</tr>
{% for match in matches %}
{% include '_match.html' %}
{% endfor %}
</table>
<nav aria-label="...">
<ul class="pager">
<li class="previous{% if not prev_url %} disabled{% endif %}">
<a href="{{ prev_url or '#' }}">
<span aria-hidden="true">←</span> Newer matches
</a>
</li>
<li class="next{% if not next_url %} disabled{% endif %}">
<a href="{{ next_url or '#' }}">
Older matches <span aria-hidden="true">→</span>
</a>
</li>
</ul>
</nav>
{% endblock %}