From 9a0823854e8bea6e04182fe4bfa329387a5ceb9f Mon Sep 17 00:00:00 2001 From: droideparanoico Date: Fri, 3 Jul 2026 11:26:51 +0200 Subject: [PATCH] Change feed to vertical list with horizontal cards - Replaced multi-column grid with single vertical list (flex-direction:column) - Each item is a horizontal card: cover (100px) on the left, details on the right - Newest first (DESC order with NULLS LAST) --- .../templates/fragments/feed-entries.html | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/main/resources/templates/fragments/feed-entries.html b/src/main/resources/templates/fragments/feed-entries.html index d9161d9..5ceaa73 100644 --- a/src/main/resources/templates/fragments/feed-entries.html +++ b/src/main/resources/templates/fragments/feed-entries.html @@ -8,36 +8,36 @@

Add artists to your collection to see their releases here

{#else} -
+
{#for entry in entries} -
+ class="bg-base-100 shadow-sm rounded-box border border-base-300 overflow-hidden" + style="display:flex;text-decoration:none;transition:box-shadow 0.15s" + onmouseover="this.style.boxShadow='0 2px 8px rgba(0,0,0,0.12)'" + onmouseout="this.style.boxShadow=''"> +
Cover for {entry.title} + onerror="this.parentElement.innerHTML='
'">
-
-
{entry.artistName}
-
{entry.title}
-
+
+
{entry.artistName}
+
{entry.title}
+
{#if entry.primaryType == 'Album'} - Album + Album {#else if entry.primaryType == 'Single'} - Single + Single {#else if entry.primaryType == 'EP'} - EP + EP {#else} - {entry.primaryType} + {entry.primaryType} {/if} {#if entry.firstReleaseDate} - {entry.firstReleaseDate} + {entry.firstReleaseDate} {/if}