feat: complete Task 3 - update web UI and handlers for Live/Remix filtering

This commit is contained in:
2026-08-05 17:19:31 +03:00
parent a3b8aa8a74
commit 0dcc86015d
4 changed files with 135 additions and 15 deletions

View File

@@ -30,6 +30,21 @@
{{ if .IgnoreSingles }}<span class="sub"> (singles currently ignored)</span>{{ end }}
</form>
<form class="toggle" method="POST" action="/artist/{{ .ID }}/ignore-compilations">
<button type="submit">{{ if .IgnoreCompilations }}Enable compilations{{ else }}Ignore all compilations{{ end }}</button>
{{ if .IgnoreCompilations }}<span class="sub"> (compilations currently ignored)</span>{{ end }}
</form>
<form class="toggle" method="POST" action="/artist/{{ .ID }}/ignore-live">
<button type="submit">{{ if .IgnoreLive }}Enable live{{ else }}Ignore all live{{ end }}</button>
{{ if .IgnoreLive }}<span class="sub"> (live recordings currently ignored)</span>{{ end }}
</form>
<form class="toggle" method="POST" action="/artist/{{ .ID }}/ignore-remix">
<button type="submit">{{ if .IgnoreRemix }}Enable remixes{{ else }}Ignore all remixes{{ end }}</button>
{{ if .IgnoreRemix }}<span class="sub"> (remixes currently ignored)</span>{{ end }}
</form>
<h2>Local albums (Subsonic)</h2>
{{ if .LocalAlbums }}
<table>