commit 20129ec3f8cc31678c4bb95432bbf0545ac8afb2
parent 94b3cf29ee0ad2c6d5f5c300e4862f9ddaafde42
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Wed, 13 Dec 2023 19:41:29 -0500
cleanup
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/pkg/web/public/views/pages/poker.gohtml b/pkg/web/public/views/pages/poker.gohtml
@@ -4,7 +4,7 @@
<div class="container">
<div class="alert alert-warning mt-2 mb-2">WARNING: this is <a href="https://monerodocs.org/infrastructure/networks/#stagenet" target="_blank" rel="noopener noreferrer">stagenet</a>, do not send real XMR to that address</div>
<div class="mb-3">
- Xmr address <strong>(stagenet)</strong>:
+ Deposit xmr address <strong>(stagenet)</strong>:
{{ if .Data.PokerXmrSubAddress }}<pre style="user-select: all; -webkit-user-select: all;">{{ .Data.PokerXmrSubAddress }}</pre>{{ else }}none{{ end }}
</div>
<div class="mb-3">
@@ -20,7 +20,6 @@
</div>
<div class="mb-3">
Balance XMR (stagenet): {{ .Data.XmrBalanceStagenet }}<br />
- Balance: {{ .Data.Balance }} chips
</div>
<div class="mb-3">
<hr />
@@ -30,7 +29,7 @@
<form method="post" class="form-inline">
<input type="hidden" name="csrf" value="{{ .CSRF }}" />
<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="{{ .Data.WithdrawAmount }}" min="100" max="{{ .Data.Balance }}" placeholder="amount" class="form-control mr-2" style="width: 150px;" />
+ <input type="number" name="withdraw_amount" value="{{ .Data.WithdrawAmount }}" min="{{ .Data.MinWithdrawAmount }}" max="{{ .Data.XmrBalanceStagenet }}" placeholder="amount" class="form-control mr-2" style="width: 150px;" />
<button class="btn btn-primary">Withdraw</button>
</form>
<hr />