Preventing the line breaking of some of the "# Requests" columns in the stats pages

This commit is contained in:
William Kuijltjes
2023-10-13 13:08:29 +02:00
parent f516a31476
commit f4f6cd6eed
2 changed files with 8 additions and 8 deletions

View File

@ -134,7 +134,7 @@
<th>#</th> <th>#</th>
<th>Artist</th> <th>Artist</th>
<th>Title</th> <th>Title</th>
<th># Requests</th> <th style="white-space: nowrap; text-align: right;"># Requests</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -143,7 +143,7 @@
<th>{{ forloop.counter }}</th> <th>{{ forloop.counter }}</th>
<td>{{ stat.song__artist }}</td> <td>{{ stat.song__artist }}</td>
<td>{{ stat.song__title }}</td> <td>{{ stat.song__title }}</td>
<td>{{ stat.total }}</td> <td style="text-align: right;">{{ stat.total }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
@ -151,7 +151,7 @@
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<h2>Most played Artists</h2> <h2>Most played artists</h2>
<p>These are the {{ stats.stats_top_count }} most played artists ever.</p> <p>These are the {{ stats.stats_top_count }} most played artists ever.</p>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped"> <table class="table table-striped">
@ -210,7 +210,7 @@
<th>#</th> <th>#</th>
<th>Artist</th> <th>Artist</th>
<th>Title</th> <th>Title</th>
<th># Requests</th> <th style="white-space: nowrap; text-align: right;"># Requests</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -219,7 +219,7 @@
<th>{{ forloop.counter }}</th> <th>{{ forloop.counter }}</th>
<td>{{ stat.song__artist }}</td> <td>{{ stat.song__artist }}</td>
<td>{{ stat.song__title }}</td> <td>{{ stat.song__title }}</td>
<td>{{ stat.total }}</td> <td style="text-align: right;">{{ stat.total }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>

View File

@ -32,7 +32,7 @@
<th>#</th> <th>#</th>
<th>Artist</th> <th>Artist</th>
<th>Title</th> <th>Title</th>
<th># Requests</th> <th style="white-space: nowrap; text-align: right;"># Requests</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -41,7 +41,7 @@
<th>{{ forloop.counter }}</th> <th>{{ forloop.counter }}</th>
<td>{{ stat.song__artist }}</td> <td>{{ stat.song__artist }}</td>
<td>{{ stat.song__title }}</td> <td>{{ stat.song__title }}</td>
<td style="text-align: middle;">{{ stat.total }}</td> <td style="text-align: right;">{{ stat.total }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
@ -49,7 +49,7 @@
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<h2>Most played Artists</h2> <h2>Most played artists</h2>
<h4>Top {{ stats.stats_top_count }}:</h4> <h4>Top {{ stats.stats_top_count }}:</h4>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped"> <table class="table table-striped">