ui: Add refresh link to bids page.

This commit is contained in:
tecnovert 2022-06-16 23:29:57 +02:00
parent b64437db84
commit f787bdb203
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
5 changed files with 11 additions and 5 deletions

View File

@ -2,7 +2,9 @@
<h3>Bid {{ bid_id }}</h3> <h3>Bid {{ bid_id }}</h3>
{% if refresh %} {% if refresh %}
<p>Page Refresh: {{ refresh }} seconds</p> <p><a href=/bid/{{ bid_id }}>Page Refresh: {{ refresh }} second</a></p>
{% else %}
<p><a href=/bid/{{ bid_id }}>refresh</a></p>
{% endif %} {% endif %}
{% for m in messages %} {% for m in messages %}

View File

@ -2,7 +2,9 @@
<h3>Bid {{ bid_id }}</h3> <h3>Bid {{ bid_id }}</h3>
{% if refresh %} {% if refresh %}
<p>Page Refresh: {{ refresh }} seconds</p> <p><a href=/bid/{{ bid_id }}>Page Refresh: {{ refresh }} second</a></p>
{% else %}
<p><a href=/bid/{{ bid_id }}>refresh</a></p>
{% endif %} {% endif %}
{% for m in messages %} {% for m in messages %}

View File

@ -2,7 +2,9 @@
<h3>Offer {{ offer_id }}</h3> <h3>Offer {{ offer_id }}</h3>
{% if refresh %} {% if refresh %}
<p>Page Refresh: {{ refresh }} seconds</p> <p><a href=/offer/{{ offer_id }}>Page Refresh: {{ refresh }} second</a></p>
{% else %}
<p><a href=/offer/{{ offer_id }}>refresh</a></p>
{% endif %} {% endif %}
{% for m in messages %} {% for m in messages %}

View File

@ -539,7 +539,7 @@ def prepareDataDir(coin, settings, chain, particl_mnemonic, extra_opts={}):
if particl_mnemonic == 'none': if particl_mnemonic == 'none':
fp.write('createdefaultmasterkey=1') fp.write('createdefaultmasterkey=1')
elif coin == 'litecoin': elif coin == 'litecoin':
fp.write('prune=2000\n') fp.write('prune=4000\n')
if LTC_RPC_USER != '': if LTC_RPC_USER != '':
fp.write('rpcauth={}:{}${}\n'.format(LTC_RPC_USER, salt, password_to_hmac(salt, LTC_RPC_PWD))) fp.write('rpcauth={}:{}${}\n'.format(LTC_RPC_USER, salt, password_to_hmac(salt, LTC_RPC_PWD)))
elif coin == 'bitcoin': elif coin == 'bitcoin':

View File

@ -34,7 +34,7 @@ Both coin types must support scripts.
- submits participate tx in coin-to network - submits participate tx in coin-to network
5. Seller redeems: 5. Seller redeems:
- constructs participatescript - constructs participate script
- inspects participate tx in coin-to network - inspects participate tx in coin-to network
- redeems from participate tx revealing secret - redeems from participate tx revealing secret