diff --git a/website/templates/leaderboard.html b/website/templates/leaderboard.html index 71ab31b40..d330b9bf4 100644 --- a/website/templates/leaderboard.html +++ b/website/templates/leaderboard.html @@ -1,5 +1,20 @@ {% extends "base.html" %} {% load gravatar %} + +{% block style %} +.list-group-item img { + width: 50px; + height: 50px; +} +.list-group-item .badge { + margin-top: 15px; +} +.list-group-item a { + text-decoration: none; + margin-left: 10px; +} +{% endblock %} + {% block content %}
@@ -8,24 +23,18 @@

Global Leaderboard

-
- -
-
- {% for leader in leaderboard %} -
- {% if leader.socialaccount_set.all.0.get_avatar_url %} - - {% else %} - {% gravatar leader.email 50 %} - {% endif %} - {{leader.username}} - {{leader.total_score}} points - -
- {% endfor %} +
+ {% for leader in leaderboard %} +
+ {% if leader.socialaccount_set.all.0.get_avatar_url %} + + {% else %} + + {% endif %} + {{leader.username}} + {{leader.total_score}} Points
-
+ {% endfor %}