dumb/views/lyrics.tmpl

37 lines
896 B
Cheetah
Raw Permalink Normal View History

2022-06-30 20:32:56 +00:00
<!DOCTYPE html>
<html>
<head>
<title>{{.Artist}} - {{.Title}} lyrics</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="/static/style.css" />
<script type="text/javascript" src="/static/script.js" defer></script>
2022-06-30 20:32:56 +00:00
</head>
<body>
<h1 id="nav">DUMB</h1>
<div id="container">
<div id="metadata">
<img src="{{.Image}}"/>
<h2>{{.Artist}}</h2>
<h1>{{.Title}}</h1>
</div>
<div id="lyrics">{{.Lyrics}}</div>
<div id="info">
<div id="about">
<h1 id="title">About</h1>
<p class="hidden" id="full_about">{{index .About 0}}</p>
<p id="summary">{{index .About 1}}</p>
</div>
<div id="credits">
<h1 id="title">Credits</h1>
{{range $key, $val := .Credits}}
<details>
<summary>{{$key}}</summary>
<p>{{$val}}</p>
</details>
{{end}}
</div>
</div>
2022-06-30 20:32:56 +00:00
</div>
</body>
</html>