commit 35bd9c83435daf662bb7c61559fc299e58827903 parent f0c71f34a1d31901dfa3c3f2263a166f043d028c Author: n0tr1v <n0tr1v@protonmail.com> Date: Sat, 16 Dec 2023 17:21:56 -0500 ui Diffstat:
| M | pkg/web/public/views/pages/poker.gohtml | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/web/public/views/pages/poker.gohtml b/pkg/web/public/views/pages/poker.gohtml @@ -45,7 +45,7 @@ <input type="hidden" name="csrf" value="{{ .CSRF }}" /> <input type="hidden" name="withdraw_unique" value="{{ .Data.WithdrawUnique }}" /> <input type="text" name="withdraw_address" value="{{ .Data.WithdrawAddress }}" placeholder="address" class="form-control mr-2" style="width: 400px;" /> - <input type="number" name="withdraw_amount" value="{{ if gt .Data.WithdrawAmount 0 }}{{ .Data.WithdrawAmount }}{{ end }}" min="{{ .Data.MinWithdrawAmount }}" max="{{ .Data.XmrBalance }}" placeholder="amount (pXMR)" class="form-control mr-2" style="width: 170px;" /> + <input type="number" name="withdraw_amount" value="{{ if gt .Data.WithdrawAmount 0 }}{{ .Data.WithdrawAmount }}{{ end }}" min="{{ .Data.MinWithdrawAmount }}" max="{{ .Data.XmrBalance }}" placeholder="amount (pXMR)" class="form-control mr-2" style="width: 170px; -moz-appearance:textfield;" /> <button class="btn btn-primary">Withdraw</button> </form> <div>To withdraw, use the "balance" (<small>{{ .Data.XmrBalance.RawString }} <small>pXMR</small></small>) which denomination is in <a href="https://www.getmonero.org/resources/moneropedia/denominations.html" rel="noopener noreferrer" target="_blank">piconero</a></div> @@ -73,7 +73,7 @@ <td class="text-right"> <form method="get" action="/poker/{{ .Slug }}" class="d-inline-block"> <div class="input-group"> - <input type="number" min="{{ .MinBuyIn.Raw }}" max="{{ .MaxBuyIn.Raw }}" name="buy-in" value="{{ .MinBuyIn.Raw }}" class="form-control form-control-sm" style="width: 100px;" /> + <input type="number" min="{{ .MinBuyIn.Raw }}" max="{{ .MaxBuyIn.Raw }}" name="buy-in" value="{{ .MinBuyIn.Raw }}" class="form-control form-control-sm" style="width: 100px; -moz-appearance:textfield;" /> <div class="input-group-append"> <button class="btn btn-primary btn-sm">Join</button> </div>