aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages/music.blade.php
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2024-02-08 22:40:36 +0000
committerFrankie B <git@diskfloppy.me>2024-02-08 22:40:36 +0000
commit50390e8e05ea17db9fff15fccc10a45700a4ef58 (patch)
treeaa915377496b1e75eee0b1a5d8aaf51fa6b9309a /resources/views/pages/music.blade.php
parent5cadd66a30a3878d4341cf5c61cc862160862019 (diff)
Update music page design
Diffstat (limited to 'resources/views/pages/music.blade.php')
-rw-r--r--resources/views/pages/music.blade.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/resources/views/pages/music.blade.php b/resources/views/pages/music.blade.php
index 0fbcda2..dba0750 100644
--- a/resources/views/pages/music.blade.php
+++ b/resources/views/pages/music.blade.php
@@ -35,14 +35,12 @@
<a href="{{ $current_track->url }}">{{ $current_track->title }} • {{ $current_track->artist }}</a><br>
</td>
</tr>
+ </table>
+ <hr>
+ <table class="music-top10">
<tr>
<td colspan="4">
- <hr>
- </td>
- </tr>
- <tr>
- <td colspan="4">
- <h2>Top {{ $cfg['toptracks'] }} Tracks (Last 7 days)</h2>
+ <h2 style="margin-bottom: 5px">Top {{ $cfg['toptracks'] }} Tracks (Last 7 days)</h2>
</td>
</tr>
<tr>
@@ -58,7 +56,7 @@
@endif
<tr>
<td style="text-align: right">{{ $count }}</td>
- <td style="white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:1px;" width="50%">{{ $track->title }}</td>
+ <td style="white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:1px;" width="50%"><a href="{{ $track->url }}">{{ $track->title }}</a></td>
<td style="white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:1px;" width="50%">{{ $track->artist }}</td>
<td>{{ $track->playcount }}</td>
</tr>