UI improvements
This commit is contained in:
parent
dc0837bfee
commit
1998a36d6d
13 changed files with 148 additions and 241 deletions
|
@ -80,19 +80,17 @@
|
|||
</ul>
|
||||
{{end}}
|
||||
|
||||
{{if .IsSingle}}
|
||||
{{if .Description}}
|
||||
|
||||
<p id="description">{{.Description}}</p>
|
||||
|
||||
{{else if .IsSingle}}
|
||||
|
||||
{{$Track := index .Tracks 0}}
|
||||
{{if $Track.Description}}
|
||||
<p id="description">{{$Track.Description}}</p>
|
||||
{{end}}
|
||||
|
||||
{{else}}
|
||||
|
||||
{{if .Description}}<p id="description">{{.Description}}
|
||||
</p>
|
||||
{{end}}
|
||||
|
||||
{{end}}
|
||||
|
||||
<button id="share">share</button>
|
||||
|
@ -102,7 +100,7 @@
|
|||
|
||||
{{if .Credits}}
|
||||
<div id="credits">
|
||||
<h2>credits:</h2>
|
||||
<h2>CREDITS</h2>
|
||||
<ul>
|
||||
{{range .Credits}}
|
||||
{{$Artist := .Artist}}
|
||||
|
@ -132,7 +130,7 @@
|
|||
|
||||
{{else if .Tracks}}
|
||||
<div id="tracks">
|
||||
<h2>tracks:</h2>
|
||||
<h2>TRACKS</h2>
|
||||
{{range $i, $track := .Tracks}}
|
||||
<details>
|
||||
<summary class="album-track-title">{{$track.Number}}. {{$track.Title}}</summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue