dkforest

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

commit 9ca788810395eeb080ebcc9c4e57e92945601a3d
parent e300bbdbde35d7309ac35cfca8096a9ab34900eb
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 27 Dec 2023 17:21:02 -0500

highlight active tables

Diffstat:
Mpkg/web/public/views/pages/poker.gohtml | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/public/views/pages/poker.gohtml b/pkg/web/public/views/pages/poker.gohtml @@ -102,7 +102,7 @@ {{ .Name }}<br /> {{ if gt .TableBalance 0 }}(<span style="color: #eaac45;">{{ .TableBalance }} <small>chips</small></span>){{ end }} </td> - <td class="text-center align-middle">{{ .NbSeated }}/6</td> + <td class="text-center align-middle">{{ if gt .NbSeated 0 }}<span style="color: #1ee91e; font-weight: bolder;">{{ .NbSeated }}/6</span>{{ else }}{{ .NbSeated }}/6{{ end }}</td> <td class="align-middle">{{ .MinBuyIn }} - {{ .MaxBuyIn }}</td> <td class="text-center align-middle">{{ .MinBet }}</td> <td class="text-center align-middle">{{ if .IsTest }}FREE{{ else }}XMR{{ end }}</td>