commit 6ba3d230fb48e3daaafc6eafcd70a2edf89ea757
parent 8f17f0103db0f191473cd34e70d8a10b47855e9e
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Tue, 5 Dec 2023 02:07:49 -0500
main pot label
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/pkg/web/handlers/poker.go b/pkg/web/handlers/poker.go
@@ -661,6 +661,7 @@ body {
#callBtn { width: 50px; height: 30px; }
#betBtn { width: 145px; height: 30px; }
#countdown { position: absolute; display: none; z-index: 100; }
+#mainPot { position: absolute; top: 240px; left: 250px; }
</style>`)
drawCountDownStyle := func(evt PokerWaitTurnEvent) {
@@ -736,6 +737,7 @@ body {
actions += `<iframe src="/poker/` + roomID + `/unsit" id="unSitBtn"></iframe>`
send(actions)
deckHash := deckMd5
+ send(`<div id="mainPot">POT: 0</div>`)
send(`<div id="countdown">CD</div>`)
if g.Ongoing != nil {
drawCountDownStyle(g.Ongoing.WaitTurnEvent)