This commit adds a lot of files, but most of them have no impact on any other code. The thrust here is to start creating chart pages showing which tracks and artists were most played for various time periods. Lots still not working, but we're getting there.
31 lines
860 B
HTML
31 lines
860 B
HTML
{% extends "base_list.html" %}
|
|
|
|
{% block title %}Artists{% endblock %}
|
|
|
|
{% block lists %}
|
|
<div class="row">
|
|
<div class="col-md">
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-sm">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Artist</th>
|
|
<th scope="col">Scrobbles</th>
|
|
<th scope="col">All time</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for artist in object_list %}
|
|
<tr>
|
|
<td><a href="{{artist.get_absolute_url}}">{{artist}}</a></td>
|
|
<td>{{artist.scrobbles.count}}</td>
|
|
<td></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|