dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit d4658ee5291a06f1ae1bcaa3894052b85a756e4a
parent 40920e87567599b74aa051d6eebc41d599617082
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun, 18 Jun 2023 00:36:20 -0700

better ui

Diffstat:
Mpkg/web/handlers/chess.go | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pkg/web/handlers/chess.go b/pkg/web/handlers/chess.go @@ -136,11 +136,12 @@ func ChessGameAnalyzeHandler(c echo.Context) error { if c.Request().Method == http.MethodGet && !g.IsAnalyzing() { return c.HTML(http.StatusOK, ` -<style>html, body { background-color: #222; }</style> +<style>html, body { background-color: #222; color: #eee; }</style> <form method="post"> <input type="hidden" name="csrf" value="`+csrf+`" /> + Total time (15-60): <input type="number" name="t" value="15" min="15" max=60 /> - <button type="submit">Analyze</button> + <button type="submit">Start analyze</button> </form>`) }