From fbfee6c9d2d7bb6b40ed0defbc5a94d15182171f Mon Sep 17 00:00:00 2001 From: Emile Date: Wed, 6 Nov 2024 19:02:14 +0100 Subject: battle updates --- templates/battleQuick.html | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 templates/battleQuick.html (limited to 'templates/battleQuick.html') diff --git a/templates/battleQuick.html b/templates/battleQuick.html new file mode 100644 index 0000000..e309346 --- /dev/null +++ b/templates/battleQuick.html @@ -0,0 +1,57 @@ +{{ define "battleQuick" }} + +{{ template "head" . }} + + {{ template "nav" . }} + + +

Quick battle

+ +

Just quickly want to try out two bots? Select them here and we'll let them fight quickly!

+ +
+ +
+ + {{ range $bot := .bots }} + + + + + + + + + + + {{ end }} + + + + +
+ {{ $bot.Name }} + + + + + + + + {{ range $idx, $usr := $bot.Users }}{{if $idx}},{{end}}{{ $usr.Name }}{{ end }} +
{{ .res }}
+ +
+
+ +
+ + + + +{{ template "footer" . }} +{{ end }} -- cgit 1.4.1