diff --git a/src/main/resources/templates/artists.html b/src/main/resources/templates/artists.html index fa5edcb..d0b0b0b 100644 --- a/src/main/resources/templates/artists.html +++ b/src/main/resources/templates/artists.html @@ -1,9 +1,9 @@ {#include layouts/base} {#page-content} -
-

🎤 Artists

+
+

🎤 Tracked Artists

- +
{/page-content} diff --git a/src/main/resources/templates/fragments/artist-list.html b/src/main/resources/templates/fragments/artist-list.html index 3989515..72b662c 100644 --- a/src/main/resources/templates/fragments/artist-list.html +++ b/src/main/resources/templates/fragments/artist-list.html @@ -1,80 +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 and click + Add

{#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 f09b09a..ec62085 100644 --- a/src/main/resources/templates/fragments/feed-entries.html +++ b/src/main/resources/templates/fragments/feed-entries.html @@ -1,46 +1,60 @@ {#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}
{#if artist.disambiguation} -
{artist.disambiguation}
+
{artist.disambiguation}
{/if}
{artist.createdAt}{artist.createdAt} -
-
-
+
+
- - + + - + {#for entry in entries} - + - + - + {/for} diff --git a/src/main/resources/templates/fragments/search-results.html b/src/main/resources/templates/fragments/search-results.html index f14c48d..126d58e 100644 --- a/src/main/resources/templates/fragments/search-results.html +++ b/src/main/resources/templates/fragments/search-results.html @@ -1,27 +1,37 @@ -
+
{#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}
{/if} -
- {artist.area}
-
+
{#if artist.alreadyTracked} - ✓ Added + + + Added + {#else} {/if}
diff --git a/src/main/resources/templates/layouts/base.html b/src/main/resources/templates/layouts/base.html index 07a3196..b363fb9 100644 --- a/src/main/resources/templates/layouts/base.html +++ b/src/main/resources/templates/layouts/base.html @@ -18,6 +18,9 @@ z-index: 50; width: 100%; } + body { + margin: 0; + } -
Cover
Cover Artist Release TypeDateDate
- Cover + onerror="this.style.display='none'"> {entry.artistName} + {entry.artistName} + + class="link link-hover font-medium"> {entry.title} - {entry.primaryType} + {#if entry.primaryType == 'Album'} + Album + {#else if entry.primaryType == 'Single'} + Single + {#else if entry.primaryType == 'EP'} + EP + {#else} + {entry.primaryType} + {/if} {entry.firstReleaseDate}{entry.firstReleaseDate}