- <h1>Playlists!</h1>
- <ul>
+ <h1>Playlist Management</h1>
+ <table>
+ <tr><th>Name</th><th>Enabled?</th><th>Start Time</th><th></th></tr>
{{range .Playlists}}
- <li><b>{{.Name}}</b> {{.StartTime}} <a href="/playlists/{{.Id}}">(Edit)</a></li>
+ <tr><td>{{.Name}}</td><td>{{if .Enabled}}✅{{else}}❌{{end}}</td><td>{{.StartTime}}</td><td><a href="/playlists/{{.Id}}">(Edit)</a></td></tr>
{{end}}
- </ul>
+ </table>
<p><a href="/playlists/new">Add New Playlist</a></p>