This repository has been archived on 2019-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
scoreboard/templates/gameDetail.html

24 lines
650 B
HTML
Raw Permalink Normal View History

2019-05-27 21:46:09 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Abistreiche</title>
</head>
<body>
<a href="/groups">Gruppen</a>
<h1>{{.Group.Name}}</h1>
<input type="text" placeholder="Search...">
<ul>
{{range .Group.Scores}}
<li>
{{$gameID := .GameID}}
{{range $.Games}}
{{if eq .ID $gameID}}
<a href="/games/{{$gameID}}">{{.Name}}</a>
{{end}}
{{end}}
<p>{{.Points}}</p>
</li>
{{end}}
</ul>
</body>
</html>