From d66b6e884fbc2fa440480b7aece0ca5cf5c4fe4e Mon Sep 17 00:00:00 2001 From: droideparanoico Date: Fri, 3 Jul 2026 11:04:41 +0200 Subject: [PATCH] Fix UI: replace Tailwind classes with inline styles for CDN compatibility --- .../templates/fragments/artist-list.html | 46 ++++++++--------- .../templates/fragments/feed-entries.html | 36 +++++-------- .../templates/fragments/search-results.html | 20 ++++---- .../resources/templates/layouts/base.html | 50 +++++++++---------- src/main/resources/templates/releases.html | 12 ++--- 5 files changed, 77 insertions(+), 87 deletions(-) diff --git a/src/main/resources/templates/fragments/artist-list.html b/src/main/resources/templates/fragments/artist-list.html index 72b662c..c5d2b0e 100644 --- a/src/main/resources/templates/fragments/artist-list.html +++ b/src/main/resources/templates/fragments/artist-list.html @@ -1,84 +1,84 @@
{#if artists.isEmpty()} -
- +
+ -

No artists tracked yet

-

Search for artists using the search bar above and click + Add

+

No artists tracked yet

+

Search for artists using the search bar above

{#else}
- + - + {#for artist in artists} - + - + diff --git a/src/main/resources/templates/fragments/feed-entries.html b/src/main/resources/templates/fragments/feed-entries.html index ec62085..b38a620 100644 --- a/src/main/resources/templates/fragments/feed-entries.html +++ b/src/main/resources/templates/fragments/feed-entries.html @@ -1,45 +1,35 @@ {#if entries.isEmpty()} -
- +
+ -

No releases found

-

Add artists to your collection to see their releases here

+

No releases found

+

Add artists to your collection to see their releases here

{#else}
Artist Since Release TypesActionsActions
-
{artist.name}
+
{artist.name}
{#if artist.disambiguation} -
{artist.disambiguation}
+
{artist.disambiguation}
{/if}
{artist.createdAt}{artist.createdAt} -
-
-
- - + + - + {#for entry in entries} - + + - @@ -54,7 +44,7 @@ {entry.primaryType} {/if} - + {/for} diff --git a/src/main/resources/templates/fragments/search-results.html b/src/main/resources/templates/fragments/search-results.html index 126d58e..681aaac 100644 --- a/src/main/resources/templates/fragments/search-results.html +++ b/src/main/resources/templates/fragments/search-results.html @@ -1,27 +1,27 @@ -
+
{#if artists.isEmpty()} -
No artists found
+
No artists found
{#else} {#for artist in artists} -
+
-
- {artist.name} +
+ {artist.name} {#if artist.type} {artist.type} {/if}
{#if artist.disambiguation} -
{artist.disambiguation}
+
{artist.disambiguation}
{/if} {#if artist.area} -
{artist.area}
+
{artist.area}
{/if}
-
+
{#if artist.alreadyTracked} - + Added {#else} @@ -30,7 +30,7 @@ hx-target="#search-results" hx-swap="innerHTML" onclick="document.getElementById('search-input').value=''"> - + Add {/if} diff --git a/src/main/resources/templates/layouts/base.html b/src/main/resources/templates/layouts/base.html index b363fb9..c81f880 100644 --- a/src/main/resources/templates/layouts/base.html +++ b/src/main/resources/templates/layouts/base.html @@ -4,23 +4,23 @@ DiscDrop - - + + -
Cover
Cover Artist Release TypeDateDate
- - Cover + + Cover {entry.artistName} - {entry.artistName} - - + {entry.title} {entry.firstReleaseDate}{entry.firstReleaseDate}