diff --git a/home/templates/home/user_profile.html b/home/templates/home/user_profile.html index b0db507..8d83a2a 100644 --- a/home/templates/home/user_profile.html +++ b/home/templates/home/user_profile.html @@ -59,54 +59,42 @@

Highscores

{% if games %} {% for game_name, game in games.items %}
-
-

- {{game_name}} -

-

{{game.overall}}

-
- - {% for entry in game.leaderboards %} -
-
-

- {{entry.leaderboard.name}} -

-

{{entry.score|default:"No Score"}}

- {% if entry.score %} - {% if "youtube" in entry.source or "streamable" in entry.source %} - - {% else %} - {% if "https://i.imgur.com/bUUfB8c.png" not in entry.source %} - {{entry.leaderboard.name}} score screenshot +
+

{{ game_name }}

+

Total Score: {{game.overall}}

+ + + + + + + + + + + {% for entry in game.leaderboards %} + + + + + + + {% endfor %} + +
Robot NameScoreTime SetMedia Link
{{ entry.leaderboard.name }}{{ entry.score|default:"No Score" }}{{ entry.source|default:"N/A" }} + {% if entry.score %} + {% if "youtube" in entry.source or "streamable" in entry.source %} + Video + {% else %} + {% if "https://i.imgur.com/bUUfB8c.png" not in entry.source %} + Image + {% endif %} + {% endif %} + {% else %} + N/A {% endif %} - {% endif %} - {% endif %} - - - {% endfor %} +
+
{% endfor %} {% endif %}