Update wallet.html

This commit is contained in:
Arc 2020-02-23 00:18:00 +00:00 committed by GitHub
parent adfa707554
commit 820bb8deea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@
<!-- small box -->
<div class="small-box bg-aqua">
<div class="inner">
<h3><b>{{ wallet.balance }} sats</b></h3>
<h3><b id="walletsats"></b></h3>
<h3>{{ wallet.name }}</h3>
</div>
<div class="icon">
@ -247,6 +247,8 @@
window.user_wallets = {{ user_wallets | megajson | safe }}
window.wallet = {{ wallet | megajson | safe }}
window.transactions = {{ transactions | megajson | safe }}
document.getElementById("walletsats").innerHTML = Math.round({{ wallet.balance }}) + " sats";
</script>
</div>
{% endblock %}