html: Start migrating to Jinja2.

This commit is contained in:
tecnovert
2019-07-25 22:15:08 +02:00
parent 5d238149ce
commit b920f926c1
5 changed files with 44 additions and 18 deletions

18
templates/index.html Normal file
View File

@@ -0,0 +1,18 @@
{% include 'header.html' %}
<p><a href="/wallets">View Wallets</a></p>
<p>
Page Refresh: 30 seconds<br/>
<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/>
<a href="/bids">Received Bids: {{ summary.num_recv_bids }}</a><br/>
<a href="/sentbids">Sent Bids: {{ summary.num_sent_bids }}</a><br/>
<a href="/watched">Watched Outputs: {{ summary.num_watched_outputs }}</a><br/>
</p>
<p><a href="/newoffer">New Offer</a><br/></p>
</body>
</html>