|
|
@ -8,20 +8,24 @@
|
|
|
|
<h6>{{ wallet.date }}</h6>
|
|
|
|
<h6>{{ wallet.date }}</h6>
|
|
|
|
<p>Restore Height: {{ wallet.restore_height }}</p>
|
|
|
|
<p>Restore Height: {{ wallet.restore_height }}</p>
|
|
|
|
<p>Address: <span class="key">{{ wallet.address }}</span></p>
|
|
|
|
<p>Address: <span class="key">{{ wallet.address }}</span></p>
|
|
|
|
<p>Scanned Height: {{ info['scanned_height'] }} <span class="smol">({{ info['blockchain_height'] - info['scanned_height'] }} blocks away from top)</span></p>
|
|
|
|
{% if info %}
|
|
|
|
<p>Chain Height: {{ info['blockchain_height'] }}</p>
|
|
|
|
<p>Scanned Height: {{ info['scanned_height'] }} <span class="smol">({{ info['blockchain_height'] - info['scanned_height'] }} blocks away from top)</span></p>
|
|
|
|
<p>Spent Outputs: {{ info['spent_outputs'] | length }}</p>
|
|
|
|
<p>Chain Height: {{ info['blockchain_height'] }}</p>
|
|
|
|
{% if wallet.is_active() %}
|
|
|
|
<p>Spent Outputs: {{ info['spent_outputs'] | length }}</p>
|
|
|
|
|
|
|
|
{% if wallet.is_active() %}
|
|
|
|
<p>Status: active</p>
|
|
|
|
<p>Status: active</p>
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
<p>Status: inactive</p>
|
|
|
|
<p>Status: inactive</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="{{ url_for('wallet.rescan', id=wallet.id) }}" class="button dark outline">rescan</a>
|
|
|
|
<a href="{{ url_for('wallet.rescan', id=wallet.id) }}" class="button dark outline">rescan</a>
|
|
|
|
{% if wallet.is_active() %}
|
|
|
|
{% if wallet.is_active() %}
|
|
|
|
<a href="{{ url_for('wallet.disable', id=wallet.id) }}" class="button error">disable</a>
|
|
|
|
<a href="{{ url_for('wallet.disable', id=wallet.id) }}" class="button error">disable</a>
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ url_for('wallet.enable', id=wallet.id) }}" class="button primary">enable</a>
|
|
|
|
<a href="{{ url_for('wallet.enable', id=wallet.id) }}" class="button primary">enable</a>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<p>not connected to lws</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
{% endblock %}
|