diff --git a/vrobbler/templates/scrobbles/_top_charts.html b/vrobbler/templates/scrobbles/_top_charts.html index 149a60b..ed99efe 100644 --- a/vrobbler/templates/scrobbles/_top_charts.html +++ b/vrobbler/templates/scrobbles/_top_charts.html @@ -1,173 +1,176 @@ {% load static %} -

Top Artist

- -
- {% for key, artists in current_artist_charts.items %} -
-
-
-
-
#1 {{artists.0.name}}
- {% if artists.0 %} - {% if artists.0.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} -
-
-
-
-
-
#2 {{artists.1.name}}
- {% if artists.1 %} - {% if artists.1.thumbnail %} - + +
+

Top Artist

+ + +
+ {% for key, artists in current_artist_charts.items %} +
+
+
+
+
#1 {{artists.0.name}}
+ {% if artists.0 %} + {% if artists.0.thumbnail %} + {% else %} - - {% endif %} - {% endif %} -
-
-
#3 {{artists.2.name}}
- {% if artists.2 %} - {% if artists.2.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} -
-
-
#4 {{artists.3.name}}
- {% if artists.3 %} - {% if artists.3.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} -
-
-
#5 {{artists.4.name}}
- {% if artists.4 %} - {% if artists.4.thumbnail %} - - {% else %} - + {% endif %} {% endif %}
-
-
-
-
-
#6 {{artists.5.name}}
- {% if artists.5 %} - {% if artists.5.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} +
+
+
+
#2 {{artists.1.name}}
+ {% if artists.1 %} + {% if artists.1.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
#3 {{artists.2.name}}
+ {% if artists.2 %} + {% if artists.2.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
#4 {{artists.3.name}}
+ {% if artists.3 %} + {% if artists.3.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
#5 {{artists.4.name}}
+ {% if artists.4 %} + {% if artists.4.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
-
-
#7 {{artists.6.name}}
- {% if artists.6 %} - {% if artists.6.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} -
-
-
#8 {{artists.7.name}}
- {% if artists.7 %} - {% if artists.7.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} -
-
-
#9 {{artists.8.name}}
- {% if artists.8 %} - {% if artists.8.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} -
-
-
#10 {{artists.9.name}}
- {% if artists.9 %} - {% if artists.9.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} -
-
-
#11 {{artists.10.name}}
- {% if artists.10 %} - {% if artists.10.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} -
-
-
#12 {{artists.11.name}}
- {% if artists.11 %} - {% if artists.11.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} -
-
-
#13 {{artists.12.name}}
- {% if artists.12 %} - {% if artists.12.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} -
-
-
#14 {{artists.13.name}}
- {% if artists.13 %} - {% if artists.13.thumbnail %} - - {% else %} - - {% endif %} - {% endif %} +
+
+
+
+
#6 {{artists.5.name}}
+ {% if artists.5 %} + {% if artists.5.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
#7 {{artists.6.name}}
+ {% if artists.6 %} + {% if artists.6.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
#8 {{artists.7.name}}
+ {% if artists.7 %} + {% if artists.7.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
#9 {{artists.8.name}}
+ {% if artists.8 %} + {% if artists.8.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
#10 {{artists.9.name}}
+ {% if artists.9 %} + {% if artists.9.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
#11 {{artists.10.name}}
+ {% if artists.10 %} + {% if artists.10.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
#12 {{artists.11.name}}
+ {% if artists.11 %} + {% if artists.11.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
#13 {{artists.12.name}}
+ {% if artists.12 %} + {% if artists.12.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
#14 {{artists.13.name}}
+ {% if artists.13 %} + {% if artists.13.thumbnail %} + + {% else %} + + {% endif %} + {% endif %} +
+ {% endfor %}
- {% endfor %} -
diff --git a/vrobbler/templates/scrobbles/chart_index.html b/vrobbler/templates/scrobbles/chart_index.html index 9755b6c..043dd1b 100644 --- a/vrobbler/templates/scrobbles/chart_index.html +++ b/vrobbler/templates/scrobbles/chart_index.html @@ -2,12 +2,54 @@ {% block title %}{{name}}{% endblock %} +{% block head_extra %} + +{% endblock %} + {% block lists %} -
- +{% if chart_type == "maloja" %} +{% include "scrobbles/_top_charts.html" %} +{% else %}
{% if artist_charts %}
@@ -151,5 +193,6 @@
{% endif %}
+{% endif %} {% endblock %}