9 lines
349 B
HTML
9 lines
349 B
HTML
{{define "songs"}}{{template "header" .}}
|
|
{{if .Data.Songs}}{{template "song_rows" .Data.Songs}}{{else}}<p class="text-secondary">No songs yet.</p>{{end}}
|
|
{{if .Data.HasMore}}
|
|
<div class="text-center mt-3">
|
|
<a class="btn btn-outline-secondary btn-sm" href="?offset={{.Data.NextOffset}}">Load more</a>
|
|
</div>
|
|
{{end}}
|
|
{{template "footer" .}}{{end}}
|