mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 10:48:11 +01:00
ui: Added An Estimate Fee button on XMR wallet page.
This commit is contained in:
@@ -30,10 +30,15 @@
|
||||
<p class="font-normal text-coolGray-200 dark:text-white pl-2 pt-5">Manage your {{ w.ticker }} wallet. {% if refresh %} (Page Refresh: {{ refresh }} seconds) {% endif %}</p>
|
||||
</div>
|
||||
<div class="w-full md:w-1/2 p-3 p-6 container flex flex-wrap items-center justify-end items-center mx-auto">
|
||||
{% if w.cid == '6' %} {# XMR #}
|
||||
<button type="submit" form="main_form" class="flex flex-wrap justify-center px-4 py-2.5 bg-blue-500 hover:bg-blue-600 font-medium text-sm text-white border border-blue-500 rounded-md shadow-button focus:ring-0 focus:outline-none" id="forcerefresh" name="forcerefresh" value="Force Refresh">
|
||||
{{ circular_arrows_svg | safe }} Force Refresh</button>
|
||||
{% endif %} {# / XMR #}
|
||||
<a class="rounded-full mr-5 flex flex-wrap justify-center px-5 py-3 bg-blue-500 hover:bg-blue-600 font-medium text-sm text-white border dark:bg-gray-500 dark:hover:bg-gray-700 border-blue-500 rounded-md shadow-button focus:ring-0 focus:outline-none" id="refresh" href="/wallet/{{ w.ticker }}">
|
||||
{{ circular_arrows_svg | safe }}<span>Refresh</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -102,7 +107,7 @@
|
||||
|
||||
{% else %}
|
||||
|
||||
<form method="post" autocomplete="off">
|
||||
<form method="post" autocomplete="off" id="main_form">
|
||||
<section>
|
||||
<div class="pl-6 pr-6 pt-0 pb-0 mt-5 h-full overflow-hidden">
|
||||
<div class="pb-6 border-coolGray-100">
|
||||
@@ -393,6 +398,9 @@
|
||||
<td class="py-3 px-6 bold">{{ w.fee_rate }}</td>
|
||||
<td class="py-3 px-6">
|
||||
<b>Est Fee:</b> {{ w.est_fee }}
|
||||
{% if w.cid == '6' %} {# XMR #}
|
||||
<button type="submit" class="flex flex-wrap justify-center py-2 px-4 bg-blue-500 hover:bg-blue-600 font-medium text-sm text-white border border-blue-500 rounded-md shadow-button focus:ring-0 focus:outline-none" name="estfee_{{ w.cid }}" value="Estimate Fee">Estimate Fee</button>
|
||||
{% endif %} {# / XMR #}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user