dkforest

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

commit c19a205ef55c6a1da80891946a897c021338c3bb
parent 2c0333774c93c7e08888d3fe52322768de7666c9
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sat, 16 Dec 2023 00:24:33 -0500

improve ui

Diffstat:
Mpkg/web/public/views/pages/poker.gohtml | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/pkg/web/public/views/pages/poker.gohtml b/pkg/web/public/views/pages/poker.gohtml @@ -20,9 +20,9 @@ </div> <div class="mb-3"> Balance: {{ .Data.XmrBalance }}<br /> - <small>({{ .Data.XmrBalance.XmrStr }} XMR | ~{{ .Data.XmrBalance.UsdStr }})</small><br /> + <small>({{ .Data.XmrBalance.XmrStr }} XMR | {{ .Data.XmrBalance.ToPokerChip }} chips | ~{{ .Data.XmrBalance.UsdStr }})</small><br /> <br /> - Free tables balance: {{ .Data.ChipsTest }} + Free tables balance: {{ .Data.ChipsTest }} chips <form method="post" class="d-inline ml-3"> <input type="hidden" name="csrf" value="{{ .CSRF }}" /> <input type="hidden" name="form_name" value="reset_chips" /> @@ -41,6 +41,7 @@ <input type="number" name="withdraw_amount" value="{{ .Data.WithdrawAmount }}" min="{{ .Data.MinWithdrawAmount }}" max="{{ .Data.XmrBalance }}" placeholder="amount" class="form-control mr-2" style="width: 150px;" /> <button class="btn btn-primary">Withdraw</button> </form> + <div>To withdraw, use the "balance" (<small>{{ .Data.XmrBalance }}</small>) which denomination is in <a href="https://www.getmonero.org/resources/moneropedia/denominations.html" rel="noopener noreferrer" target="_blank">piconero</a></div> <hr /> </div> <h3>Tables</h3> @@ -48,7 +49,7 @@ <tr> <th>Table</th> <th>Players</th> - <th>Min/max buy-in</th> + <th>Min/max buy-in (chips)</th> <th>Type</th> </tr> {{ range .Data.Tables }}