diff --git a/templates/components/watchlist_actions.gohtml b/templates/components/watchlist_actions.gohtml index 81274f7..549d90e 100644 --- a/templates/components/watchlist_actions.gohtml +++ b/templates/components/watchlist_actions.gohtml @@ -36,12 +36,13 @@ Dropped -
-
- -
+ {{template "watchlist_remove_button" dict + "ID" $anime.MalID + "ContainerClass" "hidden" + "DividerClass" "my-1 h-px bg-border" + "ButtonClass" "flex w-full items-center px-5 py-2.5 transition-colors focus:outline-none hover:bg-red-500/10 focus:bg-red-500/10" + "SpanClass" "font-medium text-sm text-red-500 text-left whitespace-nowrap" + }} @@ -50,4 +51,13 @@ {{if and .ContinueWatchingEp (ne .ContinueWatchingEp 1)}}Continue Episode {{.ContinueWatchingEp}}{{else}}Watch Now{{end}} +{{end}} + +{{define "watchlist_remove_button"}} +
+
+ +
{{end}} \ No newline at end of file diff --git a/templates/watch.gohtml b/templates/watch.gohtml index 7a5e54d..52007b3 100644 --- a/templates/watch.gohtml +++ b/templates/watch.gohtml @@ -37,12 +37,13 @@ - + {{template "watchlist_remove_button" dict + "ID" $anime.MalID + "ContainerClass" "hidden" + "DividerClass" "border-t border-border my-1" + "ButtonClass" "flex w-full items-center px-5 py-2.5 transition-colors focus:outline-none hover:bg-red-500/10" + "SpanClass" "text-sm text-red-400 whitespace-nowrap" + }}