Fixed inverted proof amounts. Added conf_target to settings page. Load new offer default conf_target from settings.
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% include 'header.html' %}
 | 
						|
 | 
						|
<h3>Settings</h3>
 | 
						|
 | 
						|
{% for m in messages %}
 | 
						|
<p>{{ m }}</p>
 | 
						|
{% endfor %}
 | 
						|
 | 
						|
<form method="post">
 | 
						|
 | 
						|
{% for c in chains %}
 | 
						|
<h4>{{ c.name|capitalize }}</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>
 | 
						|
{% if c.name == 'monero' %}
 | 
						|
<tr><td>Transaction Fee Priority</td><td>
 | 
						|
<select name="fee_priority_{{ c.name }}">
 | 
						|
<option value="0"{% if c.fee_priority==0 %} selected{% endif %}>Default</option>
 | 
						|
<option value="1"{% if c.fee_priority==1 %} selected{% endif %}>Low</option>
 | 
						|
<option value="2"{% if c.fee_priority==2 %} selected{% endif %}>Medium</option>
 | 
						|
<option value="3"{% if c.fee_priority==3 %} selected{% endif %}>High</option>
 | 
						|
</select></td></tr>
 | 
						|
{% else %}
 | 
						|
<tr><td>Blocks Confirmed Target</td><td><input type="number" name="conf_target_{{ c.name }}" min="1" max="32" value="{{ c.conf_target }}"></td></tr>
 | 
						|
{% endif %}
 | 
						|
<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>
 |