From 1a57267a17c2fc17fb6e104846fabc3e363c326c Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 16 Aug 2024 19:50:26 +0200 Subject: initial commit --- templates/battles.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 templates/battles.html (limited to 'templates/battles.html') diff --git a/templates/battles.html b/templates/battles.html new file mode 100644 index 0000000..bdc4d4b --- /dev/null +++ b/templates/battles.html @@ -0,0 +1,27 @@ +{{ define "battles" }} + +{{ template "head" . }} + + {{ template "nav" . }} + + +

All Battles

+ +

A battle is a collection of matches. It plays through all matches in the elimination ladder in order to determine an overall winner.

+
+ + + {{ range $battle := .battles }} + + + + + {{ end }} +
+ - {{ $battle.Name }} + + {{ range $idx, $bot := $battle.Bots }}{{if $idx}},{{end}}{{ $bot.Name }}{{ end }} +
+ +{{ template "footer" . }} +{{ end }} -- cgit 1.4.1