tibia-website/accounts/templates/index.html

41 lines
1.2 KiB
HTML
Raw Permalink Normal View History

{% extends "base_generic.html" %}
{% block content %}
2019-01-27 13:40:04 +01:00
<h2 class="tibia-headline">Highscore</h2>
2019-01-20 16:48:54 +01:00
{% if best_players %}
<table style="width:50%">
<tr>
<th style="text-align: center;">Name</th>
<th style="text-align: center;">Level</th>
</tr>
{% for player in best_players %}
<tr>
<td>{{ player.name }}</td>
<td style="text-align: right; width: 10%">{{ player.level }}</td>
</tr>
2019-01-20 16:48:54 +01:00
{% endfor %}
</table>
2019-01-20 16:48:54 +01:00
{% else %}
<p>No players registered.</p>
{% endif %}
2019-01-27 14:09:00 +01:00
<img src="../static/screenshots/gratis-premium.png" alt="Gratis Premium" class="img-fluid">
<br>
<p style="text-align: center">
<a href="{% url 'accounts:register' %}">Register now!</a>
</p>
<br>
<img src="../static/screenshots/looten.png" alt="Looten & Leveln" class="img-fluid">
<br>
<p style="text-align: center">
<a href="{% url 'accounts:register' %}">Register now!</a>
</p>
<img src="../static/screenshots/presents.png" alt="Presents"class="img-fluid" >
<br>
<p style="text-align: center">
<a href="{% url 'accounts:register' %}">Register now!</a>
</p>
2019-01-20 16:48:54 +01:00
{% endblock %}