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 }}