Web UI: podcasts, radio, shares, bookmarks pages; admin podcast/jukebox management; per-user Subsonic permission editor
This commit is contained in:
@@ -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}}
|
||||
Reference in New Issue
Block a user