feat: complete Task 3 - update web UI and handlers for Live/Remix filtering
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user