ui: Switch offers offer/bid amounts when sent.
This commit is contained in:
4 files changed
+29
-23
No files matched your search
@@ -107,23 +107,23 @@
|
||||
<td>{{ data.state }}</td>
|
||||
</tr>
|
||||
<tr class="bg-white border-t hover:bg-gray-50">
|
||||
<td class="py-4 px-6 bold">{% if data.sent %}You Send{% else %}You Send{% endif %}</td>
|
||||
<td class="py-4 px-6 bold">{% if data.sent %}You Send{% else %}You Get{% endif %}</td>
|
||||
<td><span class="inline-flex align-middle items-center justify-center w-9 h-10 bg-white-50 rounded">
|
||||
<img class="h-7" src="/static/images/coins/{{ data.coin_from }}.png" alt="{{ data.coin_from }}">
|
||||
</span> {{ data.coin_from }} </td>
|
||||
</tr>
|
||||
<tr class="bg-white border-t hover:bg-gray-50">
|
||||
<td class="py-4 px-6 bold">{% if data.sent %}You Get{% else %}You Get{% endif %}</td>
|
||||
<td class="py-4 px-6 bold">{% if data.sent %}You Get{% else %}You Send{% endif %}</td>
|
||||
<td><span class="inline-flex align-middle items-center justify-center w-9 h-10 bg-white-50 rounded">
|
||||
<img class="h-7" src="/static/images/coins/{{ data.coin_to }}.png" alt="{{ data.coin_to }}">
|
||||
</span> {{ data.coin_to }} </td>
|
||||
</tr>
|
||||
<tr class="bg-white border-t hover:bg-gray-50">
|
||||
<td class="py-4 px-6 bold">Amount You Get</td>
|
||||
<td class="py-4 px-6 bold">Amount Offerer Sends</td>
|
||||
<td class="bold">{{ data.amt_from }} {{ data.tla_from }}</td>
|
||||
</tr>
|
||||
<tr class="bg-white border-t hover:bg-gray-50">
|
||||
<td class="py-4 px-6 bold">Amount You Send</td>
|
||||
<td class="py-4 px-6 bold">Amount Bidder Send</td>
|
||||
<td class="bold">{{ data.amt_to }} {{ data.tla_to }}</td>
|
||||
</tr>
|
||||
<tr class="bg-white border-t hover:bg-gray-50">
|
||||
@@ -202,7 +202,7 @@
|
||||
<td class="py-4 px-6 bold">Revoked</td>
|
||||
<td>{{ data.was_revoked }}</td>
|
||||
</tr>
|
||||
{% if data.sent == 'True' %}
|
||||
{% if data.sent %}
|
||||
<tr class="bg-white border-t hover:bg-gray-50">
|
||||
<td class="py-4 px-6 bold">Auto Accept Strategy</td>
|
||||
<td>
|
||||
@@ -381,7 +381,7 @@
|
||||
</g>
|
||||
</svg>New Bid</button>
|
||||
</div>
|
||||
{% if data.sent == 'True' %}
|
||||
{% if data.sent %}
|
||||
<div class="w-full md:w-auto p-1.5">
|
||||
<button name="repeat_offer" value="Repeat Offer" type="submit" class="flex flex-wrap justify-center w-full px-4 py-2.5 font-medium text-sm text-coolGray-500 hover:text-coolGray-600 border border-coolGray-200 hover:border-coolGray-300 bg-white rounded-md shadow-button focus:ring-0 focus:outline-none">
|
||||
<svg class="mr-2" xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 24 24">
|
||||
|
||||
Reference in new issue
Block a user