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.
47 lines
1.6 KiB
47 lines
1.6 KiB
{% include 'header.html' %} |
|
|
|
<h3>New Offer</h3> |
|
{% for m in messages %} |
|
<p>{{ m }}</p> |
|
{% endfor %} |
|
|
|
<form method="post"> |
|
|
|
<table> |
|
<tr><td>Send To</td><td><select name="addr_to"> |
|
<option{% if data.addr_to=="-1" %} selected{% endif %} value="-1">-- Public Network --</option> |
|
{% for a in addrs_to %} |
|
<option{% if data.addr_to==a %} selected{% endif %} value="{{ a }}">{{ a }}</option> |
|
{% endfor %} |
|
</select></td></tr> |
|
<tr><td>Send From Address</td><td><select name="addr_from"> |
|
{% for a in addrs %} |
|
<option{% if data.addr_from==a %} selected{% endif %} value="{{ a }}">{{ a }}</option> |
|
{% endfor %} |
|
<option{% if data.addr_from=="-1" %} selected{% endif %} value="-1">-- New Address --</option> |
|
</select></td></tr> |
|
|
|
<tr><td>Coin From</td><td> |
|
<select name="coin_from"><option value="-1">-- Select Coin --</option> |
|
{% for c in coins %} |
|
<option{% if data.coin_from==c[0] %} selected{% endif %} value="{{ c[0] }}">{{ c[1] }}</option> |
|
{% endfor %} |
|
</select> |
|
</td><td>Amount From</td><td><input type="text" name="amt_from" value="{{ data.amt_from }}"></td><td>The amount you will send.</td></tr> |
|
|
|
<tr><td>Coin To</td><td> |
|
<select name="coin_to"><option value="-1">-- Select Coin --</option> |
|
{% for c in coins %} |
|
<option{% if data.coin_to==c[0] %} selected{% endif %} value="{{ c[0] }}">{{ c[1] }}</option> |
|
{% endfor %} |
|
</select> |
|
</td><td>Amount To</td><td><input type="text" name="amt_to" value="{{ data.amt_to }}"></td><td>The amount you will receive.</td></tr> |
|
</table> |
|
|
|
<input name="continue" type="submit" value="Continue"> |
|
<input type="hidden" name="formid" value="{{ form_id }}"> |
|
<input type="hidden" name="step1" value="a"> |
|
</form> |
|
|
|
<p><a href="/">home</a></p> |
|
</body></html>
|
|
|