mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-07 11:18:10 +01:00
ui: Newoffer page update / clean-up / JS fixes
This commit is contained in:
@@ -1247,7 +1247,7 @@ const chart = new Chart(ctx, {
|
||||
{% if sent_offers %}
|
||||
<td class="py-6 px-2 text-center">
|
||||
<div class="flex justify-center items-center h-full">
|
||||
<a class="inline-block w-20 py-1 px-2 font-medium text-center text-sm bold rounded-md {% if o[11]==true %} bg-gray-400 dark:border-gray-300 text-white hover:bg-red-700 transition duration-200 {% else %} bg-gray-300 bold text-black bold hover:bg-green-700 transition duration-200 {% endif %}" href="/offer/{{ o[1] }}">
|
||||
<a class="inline-block w-20 py-1 px-2 font-medium text-center text-sm bold rounded-md {% if o[11]==true %} bg-gray-400 text-white dark:border-gray-300 text-white hover:bg-red-700 transition duration-200 {% else %} bg-gray-300 bold text-white bold hover:bg-green-600 transition duration-200 {% endif %}" href="/offer/{{ o[1] }}">
|
||||
{% if o[11]==true %} Expired {% else %} Edit {% endif %}
|
||||
</a>
|
||||
</div>
|
||||
@@ -1255,7 +1255,7 @@ const chart = new Chart(ctx, {
|
||||
{% else %}
|
||||
<td class="py-6 px-2 text-center">
|
||||
<div class="flex justify-center items-center h-full">
|
||||
<a class="inline-block w-20 py-1 px-2 font-medium text-center text-sm rounded-md {% if o[9]==true %} bg-gray-300 text-black dark:border-gray-300 hover:bg-green-700 transition duration-200 {% else %} bg-blue-500 text-white hover:bg-green-600 transition duration-200 {% endif %}" href="/offer/{{ o[1] }}">
|
||||
<a class="inline-block w-20 py-1 px-2 font-medium text-center text-sm rounded-md {% if o[9]==true %} bg-gray-300 text-white dark:border-gray-300 hover:bg-green-600 transition duration-200 {% else %} bg-blue-500 text-white hover:bg-green-600 transition duration-200 {% endif %}" href="/offer/{{ o[1] }}">
|
||||
{% if o[9]==true %} Edit {% else %} Swap {% endif %}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user