From ac76809e9527d51a098ee501864273d34a08e381 Mon Sep 17 00:00:00 2001 From: H3ALY Date: Mon, 24 Mar 2025 22:02:21 +0000 Subject: [PATCH] update index --- templates/index.html | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/templates/index.html b/templates/index.html index 386cdef..df09691 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,29 +1,25 @@ {{ define "index" }} + Add New Draw - -{{ if . }} - - - - + + + + + {{ if . }} {{ range . }} - - - - + + + + + {{ end }} {{ else }} {{ end }}
DateNumbersSpend (£)Return (£)Profit/Loss (£)MachineBall SetBallsThunderball
{{ .Date }}{{ .Numbers }}{{ printf "%.2f" .Spend }}{{ printf "%.2f" .Return }}{{ printf "%.2f" .ProfitLoss }}{{ .Machine }}{{ .Ballset }}{{ .Ball1 }}, {{ .Ball2 }}, {{ .Ball3 }}, {{ .Ball4 }}, {{ .Ball5 }}{{ .Thunderball }}
No draws recorded yet.
-{{ else }} -

No draws recorded yet. Add your first draw

-{{ end }} - {{ end }}