Web UI: podcasts, radio, shares, bookmarks pages; admin podcast/jukebox management; per-user Subsonic permission editor

This commit is contained in:
2026-08-23 00:34:58 -05:00
parent 2e222bd193
commit f1fdd8d2c2
21 changed files with 688 additions and 9 deletions
+24
View File
@@ -0,0 +1,24 @@
{{define "bookmarks"}}{{template "header" .}}
{{if .Data}}
<table class="table vs-table table-sm">
<thead><tr><th>Song</th><th>Position</th><th>Comment</th><th></th></tr></thead>
<tbody>
{{range .Data}}
<tr>
<td>{{.Song.Title}} <span class="text-secondary small">— {{.Song.ArtistName}}</span></td>
<td>{{fmtDuration (millisToSec .Bookmark.PositionMs)}}</td>
<td class="text-secondary small">{{.Bookmark.Comment}}</td>
<td class="text-end">
<form method="post" action="/bookmarks/{{.Bookmark.SongID}}/delete">
{{template "csrf_field" $.CSRFToken}}
<button type="submit" class="btn btn-sm btn-outline-danger">Remove</button>
</form>
</td>
</tr>
{{end}}
</tbody>
</table>
{{else}}
<p class="text-secondary">No bookmarks yet.</p>
{{end}}
{{template "footer" .}}{{end}}