ui: Add refresh link to bids page.
This commit is contained in:
		
							parent
							
								
									b64437db84
								
							
						
					
					
						commit
						f787bdb203
					
				@ -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 %}
 | 
				
			||||||
 | 
				
			|||||||
@ -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 %}
 | 
				
			||||||
 | 
				
			|||||||
@ -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 %}
 | 
				
			||||||
 | 
				
			|||||||
@ -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':
 | 
				
			||||||
 | 
				
			|||||||
@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user