mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-10 11:42:21 +01:00
added descriptions to stats and userstats
This commit is contained in:
@ -18,8 +18,8 @@
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h2>Uploads</h2>
|
||||
<h4>Total: {{ stats.total_uploads }}</h4>
|
||||
<h4>Top {{ stats.stats_top_count }}:</h4>
|
||||
<p>In total <strong> {{ stats.total_uploads }} </strong> songs have been uploaded.
|
||||
These are the {{ stats.stats_top_count }} people who have uploaded the most.</p>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
@ -43,8 +43,8 @@
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h2>Requests</h2>
|
||||
<h4>Total: {{ stats.total_requests }}</h4>
|
||||
<h4>Top {{ stats.stats_top_count }}:</h4>
|
||||
<p>In total <strong> {{ stats.total_requests }} </strong> songs have been requested.
|
||||
These are the {{ stats.stats_top_count }} people who have requested the most songs.</p>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
@ -68,8 +68,9 @@
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h2>Time requested</h2>
|
||||
<h4>Total: {{stats.total_time_requested}}</h4>
|
||||
<h4>Top {{ stats.stats_top_count }}:</h4>
|
||||
<p>In total <strong> {{ stats.total_time_requested }} </strong> of music have been requested, with an
|
||||
average song length of <strong>{{ stats.total_average }}</strong>.
|
||||
These are the {{ stats.stats_top_count }} people with the longest total time queued</p>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
@ -95,8 +96,9 @@
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h2>Unique requests</h2>
|
||||
<h4>Total: {{stats.total_unique_requests.total}}</h4>
|
||||
<h4>Top {{ stats.stats_top_count }}:</h4>
|
||||
<p>In total <strong> {{stats.total_unique_requests.total}}</strong> different songs
|
||||
have been requested. The {{ stats.stats_top_count }} people that have requested the largest number of
|
||||
different songs are shown below.
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
@ -120,7 +122,7 @@
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h2>Most played songs</h2>
|
||||
<h4>Top {{ stats.stats_top_count }}:</h4>
|
||||
<p>These are the {{ stats.stats_top_count }} most played songs ever.</p>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
@ -146,22 +148,25 @@
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h2>Most played uploaders</h2>
|
||||
<h4>Top {{ stats.stats_top_count }}:</h4>
|
||||
<p>The left column shows the {{ stats.stats_top_count }} people whose songs are requested most often by other people
|
||||
people. The right column shows how many times that person has queued his own songs.</p>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>User</th>
|
||||
<th># Songs</th>
|
||||
<th># Others</th>
|
||||
<th># Own</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for stat in stats.most_requested_uploaders %}
|
||||
<tr>
|
||||
<th>{{ forloop.counter }}</th>
|
||||
<td>{{ stat.song__user__name }}</td>
|
||||
<td>{{ stat.total }} ({% widthratio stat.total stats.total_requests 100 %}%)</td>
|
||||
<td>{{ stat.name }}</td>
|
||||
<td>{{ stat.total }}</td>
|
||||
<td>{{ stat.own_total}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
@ -170,7 +175,7 @@
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h2>Most played songs last 14 days</h2>
|
||||
<h4>Top {{ stats.stats_top_count }}:</h4>
|
||||
<p>These songs are played the {{ stats.stats_top_count }} most in the last two weeks.</p>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
|
||||
@ -19,11 +19,11 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<h4>Total uploads: {{ stats.total_uploads }}</h4>
|
||||
<h4>Unique requests: {{ stats.unique_requests }} ({% widthratio stats.unique_requests stats.total_requests 100 %}%)</h4>
|
||||
<div class="col-md-6">
|
||||
<h2>Most played songs</h2>
|
||||
<h4>Total: {{ stats.total_requests }}</h4>
|
||||
<p>You have requested <strong> {{ stats.unique_requests }} </strong> different
|
||||
songs a total of <strong> {{ stats.total_requests }} </strong> times. This
|
||||
means <strong> {% widthratio stats.unique_requests stats.total_requests 100 %}% </strong> of your requests have been unique. </p>
|
||||
<h4>Top {{ stats.stats_top_count }}:</h4>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
@ -51,8 +51,11 @@
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h2>Uploads requested</h2>
|
||||
<h4>Total played by you: {{stats.total_played_user_uploads}}</h4>
|
||||
<h4>Total played by others: {{stats.total_played_uploads}}</h4>
|
||||
<p> You have uploaded a total of <strong> {{stats.total_uploads }} </strong> songs. The left column
|
||||
shows how many times these have been requested by other people. The right column shows
|
||||
how many times you requested your own songs. In total your songs
|
||||
have been queued <strong> {{stats.total_played_uploads }} </strong> times by others and
|
||||
<strong> {{stats.total_played_user_uploads }} </strong> by yourself.
|
||||
<h4>Top {{ stats.stats_top_count }}:</h4>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
@ -81,7 +84,7 @@
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h2>Most played uploaders</h2>
|
||||
<h4>Top {{ stats.stats_top_count }}:</h4>
|
||||
<p> The people whose songs you have queued the most are:</p>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
|
||||
Reference in New Issue
Block a user