mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-07 19:28:11 +01:00
Use libsecp256k1 to sign.
Added 'Revoke' button to sent offers page.
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
{% if data.was_received == 'True' %}
|
||||
<input name="accept_bid" type="submit" value="Accept Bid"><br/>
|
||||
{% endif %}
|
||||
<input name="abandon_bid" type="submit" value="Abandon Bid">
|
||||
<input name="abandon_bid" type="submit" value="Abandon Bid" onclick="confirmPopup()">
|
||||
{% if data.show_txns %}
|
||||
<input name="hide_txns" type="submit" value="Hide Info">
|
||||
{% else %}
|
||||
@@ -74,4 +74,10 @@
|
||||
</table>
|
||||
|
||||
<p><a href="/">home</a></p>
|
||||
|
||||
<script>
|
||||
function confirmPopup() {
|
||||
confirm("Are you sure?");
|
||||
}
|
||||
</script>
|
||||
</body></html>
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
<tr><td>Created At</td><td>{{ data.created_at | formatts }}</td></tr>
|
||||
<tr><td>Expired At</td><td>{{ data.expired_at | formatts }}</td></tr>
|
||||
<tr><td>Sent</td><td>{{ data.sent }}</td></tr>
|
||||
<tr><td>Revoked</td><td>{{ data.was_revoked }}</td></tr>
|
||||
{% if data.sent == 'True' %}
|
||||
<tr><td>Auto Accept Bids</td><td>{{ data.auto_accept }}</td></tr>
|
||||
{% endif %}
|
||||
@@ -56,6 +57,9 @@
|
||||
{% else %}
|
||||
<input type="submit" name="newbid" value="New Bid">
|
||||
{% endif %}
|
||||
{% if data.sent == 'True' %}
|
||||
<input name="revoke_offer" type="submit" value="Revoke Offer" onclick="confirmPopup()">
|
||||
{% endif %}
|
||||
<input type="hidden" name="formid" value="{{ form_id }}">
|
||||
</form>
|
||||
|
||||
@@ -69,4 +73,10 @@
|
||||
</table>
|
||||
|
||||
<p><a href="/">home</a></p>
|
||||
|
||||
<script>
|
||||
function confirmPopup() {
|
||||
confirm("Are you sure?");
|
||||
}
|
||||
</script>
|
||||
</body></html>
|
||||
|
||||
Reference in New Issue
Block a user