ui: Show red clock for revoked offers.
This commit is contained in:
parent
50ed1bfccf
commit
45d6b9ecbf
@ -1,3 +1,3 @@
|
||||
name = "basicswap"
|
||||
|
||||
__version__ = "0.11.42"
|
||||
__version__ = "0.11.43"
|
||||
|
@ -206,13 +206,13 @@
|
||||
|
||||
<td scope="row" class="flex items-center py-7 px-46 text-gray-900 whitespace-nowrap">
|
||||
<svg class="w-5 h-5 rounded-full ml-5" xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 24 24">
|
||||
<g stroke-linecap="round" stroke-width="2" fill="none" stroke="{% if o[11]==true %}#6b7280{% else %}#3B82F6{% endif %}" stroke-linejoin="round" class="nc-icon-wrapper">
|
||||
<g stroke-linecap="round" stroke-width="2" fill="none" stroke="{% if o[12]==2 %}#AC0000{% elif o[11]==true %}#6b7280{% else %}#3B82F6{% endif %}" stroke-linejoin="round" class="nc-icon-wrapper">
|
||||
<circle cx="12" cy="12" r="11"></circle>
|
||||
<polyline points=" 12,6 12,12 18,12 " stroke="{% if o[11]==true %}#6b7280{% else %}#3B82F6{% endif %}"></polyline>
|
||||
<polyline points=" 12,6 12,12 18,12 " stroke="{% if o[12]==2 %}#AC0000{% elif o[11]==true %}#6b7280{% else %}#3B82F6{% endif %}"></polyline>
|
||||
</g>
|
||||
</svg>
|
||||
<div class="pl-3">
|
||||
<div class="{% if o[11]==true %}text-coolGray-500{% else %}font-semibold{% endif %} text-xs">{{ o[0] }}</div>
|
||||
<div class="{% if o[11]==true or o[12]==2 %}text-coolGray-500{% else %}font-semibold{% endif %} text-xs">{{ o[0] }}</div>
|
||||
</div>
|
||||
</td>
|
||||
<!--<td class="py-4 px-6 text-xs"><a class="monospace text-xs" href=/offer/{{ o[1] }}>{{ o[1]|truncate(6, True) }}</a></td>-->
|
||||
|
@ -621,7 +621,8 @@ def page_offers(self, url_split, post_string, sent=False):
|
||||
o.addr_from,
|
||||
o.was_sent,
|
||||
ci_from.format_amount(completed_amount),
|
||||
is_expired))
|
||||
is_expired,
|
||||
o.active_ind))
|
||||
|
||||
coins_from, coins_to = listAvailableCoins(swap_client, split_from=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user