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
+25
View File
@@ -0,0 +1,25 @@
{{define "shares"}}{{template "header" .}}
{{if .Data}}
<table class="table vs-table table-sm">
<thead><tr><th>Description</th><th>Owner</th><th>Visits</th><th>Link</th><th></th></tr></thead>
<tbody>
{{range .Data}}
<tr>
<td>{{if .Description}}{{.Description}}{{else}}<span class="text-secondary">(no description)</span>{{end}}</td>
<td class="text-secondary small">{{.OwnerID}}</td>
<td>{{.VisitCount}}</td>
<td><a href="/share/{{.Token}}" target="_blank">/share/{{.Token}}</a></td>
<td class="text-end">
<form method="post" action="/shares/{{.ID}}/delete">
{{template "csrf_field" $.CSRFToken}}
<button type="submit" class="btn btn-sm btn-outline-danger">Delete</button>
</form>
</td>
</tr>
{{end}}
</tbody>
</table>
{{else}}
<p class="text-secondary">No shares yet. Create one from an album page.</p>
{{end}}
{{template "footer" .}}{{end}}