From c685cc8f25adc5b2b72e4bda185fef7ec8dd6592 Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 8 Nov 2024 11:39:04 +0100 Subject: push all, yolo --- templates/battleSingle.html | 266 ++++++++++++++++++++++---------------------- 1 file changed, 136 insertions(+), 130 deletions(-) (limited to 'templates/battleSingle.html') diff --git a/templates/battleSingle.html b/templates/battleSingle.html index b5bb6d6..267a0df 100644 --- a/templates/battleSingle.html +++ b/templates/battleSingle.html @@ -11,116 +11,115 @@ Settings Registered Bots Output +Debug

Settings

-
-
- - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - + + - + id="bit-{{$bit.ID}}" + name="bit-{{$bit.ID}}" + {{if $bit.Enabled}}checked{{end}}/> + + {{- end }} + + + + + + + + - - - - - - - - - - - {{ if .res }} - + {{ end }} @@ -131,41 +130,38 @@ {{ if .myBots }} - - - - - - - - - + + + + + + + + + {{ else }} @@ -176,6 +172,7 @@ {{ end }} +
- {{ range $idx, $bot := .battle.Bots }}{{if $idx}},{{end}}{{ $bot.Name }}{{ end }} +
+ {{ range $idx, $bot := .battle.Bots }}{{if $idx}},{{end}}{{ $bot.Name }}{{ end }} +
Archs + {{ range $idx, $arch := .archs }}{{if $idx}},{{end}} + + + {{- end }} +
Archs - {{ range $idx, $arch := .archs }}{{if $idx}},{{end}} +
Bits{{ range $idx, $bit := .bits }}{{if $idx}},{{end}} - - {{- end }} -
+ + + + + + +
+ +
+
Bits{{ range $idx, $bit := .bits }}{{if $idx}},{{end}} - - - {{- end }} -
- - - - - - -
- -
-
{{ .res }}
{{ .res }}
- - - {{ range $bot := .myBots }} - - - - - {{ end }} - - -
- - - -
-
+ + {{ range $bot := .myBots }} + + + + + {{ end }} +
+ + + +
+

@@ -184,6 +181,12 @@ +

+ + + + +

Registered Bots

@@ -194,7 +197,10 @@
{{ .battle.RawOutput }}
- + +

Debug

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