Web UI: setup wizard, auth pages, library browsing, player, admin, streaming, cover art
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{{define "home"}}{{template "header" .}}
|
||||
{{if not .Data.HasLibrary}}
|
||||
<div class="alert alert-info">
|
||||
Your library is empty so far. <a href="/admin/folders">Add a music folder</a> to get started.
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
<h2 class="h6 text-secondary">Recently added</h2>
|
||||
<div class="vs-grid mb-4">
|
||||
{{range .Data.RecentlyAdded}}{{template "album_card" .}}{{end}}
|
||||
</div>
|
||||
|
||||
<h2 class="h6 text-secondary">Recently played</h2>
|
||||
<div class="vs-grid">
|
||||
{{range .Data.RecentlyPlayedAlbums}}{{template "album_card" .}}{{end}}
|
||||
</div>
|
||||
{{template "footer" .}}{{end}}
|
||||
Reference in New Issue
Block a user