-
{entry.artistName}
-
{entry.title}
-
+ onerror="this.parentElement.innerHTML='
'">
+
+
+
{entry.artistName}
+
{entry.title}
+
{#if entry.primaryType == 'Album'}
Album
{#else if entry.primaryType == 'Single'}
@@ -28,7 +36,7 @@
{entry.primaryType}
{/if}
{#if entry.firstReleaseDate}
- {entry.firstReleaseDate}
+ {entry.firstReleaseDate}
{/if}
diff --git a/src/main/resources/templates/fragments/search-results.html b/src/main/resources/templates/fragments/search-results.html
index 7df83fb..ee6feb9 100644
--- a/src/main/resources/templates/fragments/search-results.html
+++ b/src/main/resources/templates/fragments/search-results.html
@@ -1,32 +1,39 @@
-
+
{#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
+
+
+ Added
+
{#else}
+ 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 41f2f3c..355cf67 100644
--- a/src/main/resources/templates/layouts/base.html
+++ b/src/main/resources/templates/layouts/base.html
@@ -7,7 +7,14 @@
-
-
-
+
+
+
-
-
-
+
{#insert page-content}{/insert}
diff --git a/src/main/resources/templates/releases.html b/src/main/resources/templates/releases.html
index 59292d9..c620102 100644
--- a/src/main/resources/templates/releases.html
+++ b/src/main/resources/templates/releases.html
@@ -1,15 +1,24 @@
{#include layouts/base}
{#page-content}
-