Host-customized fork of https://github.com/tecnovert/basicswap/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
3.1 KiB
68 lines
3.1 KiB
5 years ago
|
{% include 'header.html' %}
|
||
|
|
||
|
<h3>New Offer</h3>
|
||
|
{% for m in messages %}
|
||
|
<p>{{ m }}</p>
|
||
|
{% endfor %}
|
||
|
|
||
|
<form method="post">
|
||
|
|
||
|
<table>
|
||
4 years ago
|
<tr><td>Send From Address</td><td><select name="addr_from_" disabled>
|
||
5 years ago
|
{% for a in addrs %}
|
||
4 years ago
|
<option{% if data.addr_from==a %} selected{% endif %} value="{{ a }}">{{ a }}</option>
|
||
5 years ago
|
{% endfor %}
|
||
4 years ago
|
<option{% if data.addr_from=="-1" %} selected{% endif %} value="-1">-- New Address --</option>
|
||
5 years ago
|
</select></td></tr>
|
||
|
|
||
5 years ago
|
<tr><td>Coin From</td><td>
|
||
4 years ago
|
<select name="coin_from_" disabled><option value="-1">-- Select Coin --</option>
|
||
5 years ago
|
{% for c in coins %}
|
||
4 years ago
|
<option{% if data.coin_from==c[0] %} selected{% endif %} value="{{ c[0] }}">{{ c[1] }}</option>
|
||
5 years ago
|
{% endfor %}
|
||
5 years ago
|
</select>
|
||
4 years ago
|
</td><td>Amount From</td><td><input type="text" name="amt_from" value="{{ data.amt_from }}" readonly></td><td>The amount you will send.</td></tr>
|
||
|
{% if data.swap_style == 'xmr' %}
|
||
4 years ago
|
</td><td>Fee From Confirm Target</td><td><input type="number" name="fee_from_conf" min="1" max="32" value="{{ data.fee_from_conf }}"></td></tr>
|
||
|
</td><td>Fee From Extra Fee</td><td>
|
||
|
<select name="fee_from_extra">
|
||
|
<option value="0">None</option>
|
||
|
<option value="10"{% if data.fee_from_extra==10 %} selected{% endif %}>10%</option>
|
||
|
<option value="50"{% if data.fee_from_extra==50 %} selected{% endif %}>50%</option>
|
||
|
<option value="100"{% if data.fee_from_extra==100 %} selected{% endif %}>100%</option>
|
||
|
</select></td></tr>
|
||
4 years ago
|
{% endif %}
|
||
5 years ago
|
|
||
|
<tr><td>Coin To</td><td>
|
||
4 years ago
|
<select name="coin_to_" disabled><option value="-1">-- Select Coin --</option>
|
||
5 years ago
|
{% for c in coins %}
|
||
4 years ago
|
<option{% if data.coin_to==c[0] %} selected{% endif %} value="{{ c[0] }}">{{ c[1] }}</option>
|
||
5 years ago
|
{% endfor %}
|
||
5 years ago
|
</select>
|
||
4 years ago
|
</td><td>Amount To</td><td><input type="text" name="amt_to" value="{{ data.amt_to }}" readonly></td><td>The amount you will receive.</td></tr>
|
||
|
{% if data.swap_style == 'xmr' and coin_to != '6' %}
|
||
4 years ago
|
</td><td>Fee To Confirm Target</td><td><input type="number" name="fee_to_conf" min="1" max="32" value="{{ data.fee_to_conf }}"></td></tr>
|
||
|
</td><td>Fee To Extra Fee</td><td>
|
||
|
<select name="fee_to_extra">
|
||
|
<option value="0">None</option>
|
||
|
<option value="10"{% if data.fee_to_extra==10 %} selected{% endif %}>10%</option>
|
||
|
<option value="50"{% if data.fee_to_extra==50 %} selected{% endif %}>50%</option>
|
||
|
<option value="100"{% if data.fee_to_extra==100 %} selected{% endif %}>100%</option>
|
||
|
</select></td></tr>
|
||
4 years ago
|
{% endif %}
|
||
5 years ago
|
|
||
4 years ago
|
<tr><td>Contract locked (hrs)</td><td><input type="number" name="lockhrs" min="1" max="64" value="{{ data.lockhrs }}"></td><td colspan=2>Participate txn will be locked for half the time.</td></tr>
|
||
4 years ago
|
<tr><td>Auto Accept Bids</td><td colspan=3><input type="checkbox" name="autoaccept" value="aa" {% if data.autoaccept==true %} checked="true"{% endif %}></td></tr>
|
||
5 years ago
|
</table>
|
||
|
|
||
4 years ago
|
<input name="check_offer" type="submit" value="Continue">
|
||
|
<input name="step1" type="submit" value="Back">
|
||
5 years ago
|
<input type="hidden" name="formid" value="{{ form_id }}">
|
||
4 years ago
|
<input type="hidden" name="addr_from" value="{{ data.addr_from }}">
|
||
|
<input type="hidden" name="coin_from" value="{{ data.coin_from }}">
|
||
|
<input type="hidden" name="coin_to" value="{{ data.coin_to }}">
|
||
5 years ago
|
</form>
|
||
|
|
||
|
<p><a href="/">home</a></p>
|
||
|
</body></html>
|