[views] Move elaborate charts to the charts page
This commit is contained in:
@ -3,6 +3,11 @@
|
||||
{% block title %}{{name}}{% endblock %}
|
||||
|
||||
{% block lists %}
|
||||
|
||||
<div "calss="row>
|
||||
{% include "scrobbles/_top_charts.html" %}
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{% if artist_charts %}
|
||||
<div class="col-md">
|
||||
|
||||
@ -82,19 +82,14 @@
|
||||
{% if not user.is_authenticated %}
|
||||
<p>Today <b>{{counts.today}}</b> | This Week <b>{{counts.week}}</b> | This Month <b>{{counts.month}}</b> | This Year <b>{{counts.year}}</b> | All Time <b>{{counts.alltime}}</b></p>
|
||||
<canvas class="my-4 w-100" id="myChart" width="900" height="300"></canvas>
|
||||
{% endif %}
|
||||
|
||||
{% else %}
|
||||
<div class="container">
|
||||
{% if user.is_authenticated %}
|
||||
<div class="row">
|
||||
{% include "scrobbles/_top_charts.html" %}
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{% include "scrobbles/_last_scrobbles.html" %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</main>
|
||||
|
||||
<div class="modal fade" id="importModal" tabindex="-1" role="dialog" aria-labelledby="importModalLabel"
|
||||
|
||||
Reference in New Issue
Block a user