mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-07 19:28:11 +01:00
Adding settings page.
This commit is contained in:
@@ -8,6 +8,7 @@ Version: {{ version }}
|
||||
</p>
|
||||
<p>
|
||||
<a href="/wallets">View Wallets</a><br/>
|
||||
<a href="/settings">Settings</a><br/>
|
||||
<a href="/rpc">RPC Console</a><br/>
|
||||
<a href="/explorers">Explorers</a><br/>
|
||||
<br/>
|
||||
|
||||
27
basicswap/templates/settings.html
Normal file
27
basicswap/templates/settings.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{% include 'header.html' %}
|
||||
|
||||
<h3>Settings</h3>
|
||||
|
||||
{% for m in messages %}
|
||||
<p>{{ m }}</p>
|
||||
{% endfor %}
|
||||
|
||||
<form method="post">
|
||||
|
||||
{% for c in chains %}
|
||||
<h4>{{ c.name }}</h4>
|
||||
<table>
|
||||
<tr><td>Chain Lookups</td><td>
|
||||
<select name="lookups_{{ c.name }}">
|
||||
<option value="local"{% if c.lookups=='local' %} selected{% endif %}>Local Node</option>
|
||||
<option value="explorer"{% if c.lookups=='explorer' %} selected{% endif %}>Explorer</option>
|
||||
</select></td></tr>
|
||||
<tr><td><input type="submit" name="apply_{{ c.name }}" value="Apply"></td></tr>
|
||||
</table>
|
||||
{% endfor %}
|
||||
|
||||
<input type="hidden" name="formid" value="{{ form_id }}">
|
||||
</form>
|
||||
|
||||
<p><a href="/">home</a></p>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user