Website to manage tibia accounts and characters
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 713B

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Highscore</title>
  6. </head>
  7. <body>
  8. <h1>Highscore</h1>
  9. {% if best_players %}
  10. <table style="width:50%">
  11. <tr>
  12. <th style="text-align: center;">Name</th>
  13. <th style="text-align: center;">Level</th>
  14. </tr>
  15. {% for player in best_players %}
  16. <tr>
  17. <td>{{ player.name }}</td>
  18. <td style="text-align: right; width: 10%">{{ player.level }}</td>
  19. </tr>
  20. {% endfor %}
  21. </table>
  22. {% else %}
  23. <p>No players registered.</p>
  24. {% endif %}
  25. <a href="{% url 'accounts:register' %}">Register now!</a>
  26. <a href="{% url 'accounts:login' %}">Login</a>
  27. </body>
  28. </html>