From 5fb4b1f7dd6b373786a64dfe0ac59955fb6d964c Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 9 Nov 2024 16:28:47 +0100 Subject: yolo r2con push all --- templates/battleSingle.html | 177 ++++++++++++++++++++++++-------------------- 1 file changed, 98 insertions(+), 79 deletions(-) (limited to 'templates/battleSingle.html') diff --git a/templates/battleSingle.html b/templates/battleSingle.html index 267a0df..b074a75 100644 --- a/templates/battleSingle.html +++ b/templates/battleSingle.html @@ -19,7 +19,7 @@ - + @@ -56,13 +56,6 @@ --> - - - - - - - -
- {{ range $idx, $bot := .battle.Bots }}{{if $idx}},{{end}}{{ $bot.Name }}{{ end }} -
+ - - - - {{ if .res }} - - -
{{ .res }}
- - {{ end }} - -


-


- + + Max Rounds: + + + + - {{ if .myBots }} + + Owners + + {{ $viewerID := .user.ID }} + {{ $owners := .battle.Owners }} + {{ range $idx, $u := .users}}{{if $idx}},{{- end}} + + + {{- end }} + + + -
- - - - {{ range $bot := .myBots }} - - - - - {{ end }} -
- - - -
+ + +
+ + + +
+ + {{ if .res }} - + +
{{ .res }}
-
- - {{ else }} + {{ end }} - - - Upload a bot to get started! - + +


+


+ - {{ end }} + {{ if .myBots }} - - + + + + + + -
+ + - - - + + + + -

+ {{ else }} + + + + + {{ end }} - - - + +
+ + {{ range $bot := .myBots }} + + + + + {{ end }} +
+ + + +
+
+
+ +
+
Upload a bot to get started!

Registered Bots

@@ -194,13 +213,13 @@

Output

- +
{{ .battle.RawOutput }}
+

Debug

+
{{ . }}
-
{{ .battle }}
- {{ template "footer" . }} {{ end }} -- cgit 1.4.1