mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
html: Template for watched outputs page.
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
<p><a href="/wallets">View Wallets</a></p>
|
||||
|
||||
<p>
|
||||
Page Refresh: 30 seconds<br/>
|
||||
{% if refresh %}
|
||||
Page Refresh: {{ refresh }} seconds<br/>
|
||||
{% endif %}
|
||||
<a href="/active">Swaps in progress: {{ summary.num_swapping }}</a><br/>
|
||||
<a href="/offers">Network Offers: {{ summary.num_network_offers }}</a><br/>
|
||||
<a href="/sentoffers">Sent Offers: {{ summary.num_sent_offers }}</a><br/>
|
||||
|
||||
25
templates/watched.html
Normal file
25
templates/watched.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{% include 'header.html' %}
|
||||
|
||||
<h3>Watched Outputs</h3>
|
||||
{% if refresh %}
|
||||
<p>Page Refresh: {{ refresh }} seconds</p>
|
||||
{% endif %}
|
||||
|
||||
<p>Last Scanned</p>
|
||||
<table>
|
||||
<tr><th>Coin</th><th>height</th></tr>
|
||||
{% for ls in last_scanned %}
|
||||
<tr><td>{{ ls[0] }}</td><td>{{ ls[1] }}</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
<table>
|
||||
<tr><th>Bid ID</th><th>Chain</th><th>Txid</th><th>Index</th><th>Type</th></tr>
|
||||
{% for wo in watched_outputs %}
|
||||
<tr><td><a href=/bid/{{ wo[0] }}>{{ wo[0] }}</a></td><td>{{ wo[1] }}</td><td>{{ wo[2] }}</td><td>{{ wo[3] }}</td><td>{{ wo[4] }}</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
<p><a href="/">home</a></p>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user