Update wallet.html
This commit is contained in:
parent
adfa707554
commit
820bb8deea
1 changed files with 3 additions and 1 deletions
|
|
@ -76,7 +76,7 @@
|
||||||
<!-- small box -->
|
<!-- small box -->
|
||||||
<div class="small-box bg-aqua">
|
<div class="small-box bg-aqua">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<h3><b>{{ wallet.balance }} sats</b></h3>
|
<h3><b id="walletsats"></b></h3>
|
||||||
<h3>{{ wallet.name }}</h3>
|
<h3>{{ wallet.name }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="icon">
|
<div class="icon">
|
||||||
|
|
@ -247,6 +247,8 @@
|
||||||
window.user_wallets = {{ user_wallets | megajson | safe }}
|
window.user_wallets = {{ user_wallets | megajson | safe }}
|
||||||
window.wallet = {{ wallet | megajson | safe }}
|
window.wallet = {{ wallet | megajson | safe }}
|
||||||
window.transactions = {{ transactions | megajson | safe }}
|
window.transactions = {{ transactions | megajson | safe }}
|
||||||
|
|
||||||
|
document.getElementById("walletsats").innerHTML = Math.round({{ wallet.balance }}) + " sats";
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue