diff --git a/templates/watchlist.gohtml b/templates/watchlist.gohtml index a4823b7..99d4d74 100644 --- a/templates/watchlist.gohtml +++ b/templates/watchlist.gohtml @@ -2,52 +2,51 @@ {{define "content"}} {{if .WatchlistIDs}}{{end}}
-

Watchlist

+

Watchlist

-
- - - - - +
+ + + + +
-
- + - -
- + +
+ +
+ +
- -
+
{{range $.AllEntries}}
-
+
{{.DisplayTitle}} @@ -59,7 +58,7 @@ data-watchlist-remove data-mal-id="{{.AnimeID}}" data-watchlist-title="{{.DisplayTitle}}" - class="text-white/70 transition-colors hover:text-white focus:outline-none pointer-events-auto disabled:opacity-50" + class="text-white/70 transition-colors hover:text-white focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-white/70 pointer-events-auto disabled:opacity-50" aria-label="Remove from Watchlist" > @@ -76,13 +75,13 @@ {{end}} {{if eq (len $.AllEntries) 0}} -
- -

Your watchlist is empty

-

Start adding anime to keep track of what you want to watch

-
- Browse anime - Discover new +
+ +

Your watchlist is empty.

+

Start adding anime to keep track of what you want to watch.

+
{{end}} @@ -99,9 +98,13 @@ parent.querySelectorAll('button').forEach(function(b) { b.classList.remove('text-foreground') b.classList.add('text-foreground-muted') + b.classList.remove('border-accent') + b.classList.add('border-transparent') }) btn.classList.remove('text-foreground-muted') btn.classList.add('text-foreground') + btn.classList.remove('border-transparent') + btn.classList.add('border-accent') // Show/hide items document.querySelectorAll('.watchlist-item').forEach(function(item) {