parent
27929d41ec
commit
551381f076
2 changed files with 61 additions and 20 deletions
@ -0,0 +1,35 @@ |
|||||||
|
{% include 'header.html' %} |
||||||
|
|
||||||
|
<h3>Wallets</h3> |
||||||
|
{% if refresh %} |
||||||
|
<p>Page Refresh: {{ refresh }} seconds</p> |
||||||
|
{% endif %} |
||||||
|
|
||||||
|
{% for m in messages %} |
||||||
|
<p>{{ m }}</p> |
||||||
|
{% endfor %} |
||||||
|
|
||||||
|
<form method="post"> |
||||||
|
|
||||||
|
|
||||||
|
{% for w in wallets %} |
||||||
|
<h4>{{ w.name }}</h4> |
||||||
|
{% if w.error %} |
||||||
|
<p>Error: {{ w.error }}</p> |
||||||
|
{% else %} |
||||||
|
<table> |
||||||
|
<tr><td>Balance:</td><td>{{ w.balance }}</td></tr> |
||||||
|
<tr><td>Blocks:</td><td>{{ w.blocks }}</td></tr> |
||||||
|
<tr><td>Synced:</td><td>{{ w.synced }}</td></tr> |
||||||
|
<tr><td><input type="submit" name="newaddr_{{ w.cid }}" value="Deposit Address"></td><td>{{ w.deposit_address }}</td></tr> |
||||||
|
<tr><td><input type="submit" name="withdraw_{{ w.cid }}" value="Withdraw"></td><td>Amount: <input type="text" name="amt_{{ w.cid }}"></td><td>Address: <input type="text" name="to_{{ w.cid }}"></td><td>Subtract fee: <input type="checkbox" name="subfee_{{ w.cid }}"></td></tr> |
||||||
|
<tr><td>Fee Rate:</td><td>{{ w.fee_rate }}</td><td>Est Fee:</td><td>{{ w.est_fee }}</td></tr> |
||||||
|
</table> |
||||||
|
{% endif %} |
||||||
|
{% endfor %} |
||||||
|
|
||||||
|
<input type="hidden" name="formid" value="{{ form_id }}"> |
||||||
|
</form> |
||||||
|
|
||||||
|
<p><a href="/">home</a></p> |
||||||
|
</body></html> |
Loading…
Reference in new issue