diff --git a/basicswap/templates/bid.html b/basicswap/templates/bid.html index 8b5c2bb..190630f 100644 --- a/basicswap/templates/bid.html +++ b/basicswap/templates/bid.html @@ -78,28 +78,45 @@ {% if data.was_sent == 'True' %} Swap - {{ data.amt_to }} {{ data.ticker_to }} for {{ data.amt_from }} {{ data.ticker_from }} - {% else %} + (To) {{ data.amt_to }} {{ data.ticker_to }} for (From) {{ data.amt_from }} {{ data.ticker_from }} + + {% else %} Swap - {{ data.amt_from }} {{ data.ticker_from }} for {{ data.amt_to }} {{ data.ticker_to }} - {% endif %} + (From) {{ data.amt_from }} {{ data.ticker_from }} for (To) {{ data.amt_to }} {{ data.ticker_to }} + + {% endif %} Bid Rate {{ data.bid_rate }} + {% if data.was_sent == 'True' %} + + You Send (To) + + {{ data.coin_to }} + {{ data.coin_to }} + - Coin From (You Send) + You Get (From) + + {{ data.coin_from }} + {{ data.coin_from }} + + {% else %} + + You Send (From) {{ data.coin_from }} {{ data.coin_from }} - Coin To (You Get) + You Get (To) {{ data.coin_to }} {{ data.coin_to }} + {% endif %} Bid State {{ data.bid_state }} diff --git a/basicswap/templates/bid_xmr.html b/basicswap/templates/bid_xmr.html index fc6c44b..192203a 100644 --- a/basicswap/templates/bid_xmr.html +++ b/basicswap/templates/bid_xmr.html @@ -77,31 +77,45 @@ {% if data.was_sent == 'True' %} Swap - {{ data.amt_to }} {{ data.ticker_to }} for {{ data.amt_from }} {{ data.ticker_from }} + (To) {{ data.amt_to }} {{ data.ticker_to }} for (From) {{ data.amt_from }} {{ data.ticker_from }} {% else %} Swap - {{ data.amt_from }} {{ data.ticker_from }} for {{ data.amt_to }} {{ data.ticker_to }} + (From) {{ data.amt_from }} {{ data.ticker_from }} for (To) {{ data.amt_to }} {{ data.ticker_to }} - {% endif %} Bid Rate {{ data.bid_rate }} + {% if data.was_sent == 'True' %} + + You Send (To) + + {{ data.coin_to }} + {{ data.coin_to }} + - Coin From (You Send) + You Get (From) + + {{ data.coin_from }} + {{ data.coin_from }} + + {% else %} + + You Send (From) {{ data.coin_from }} {{ data.coin_from }} - Coin To (You Get) + You Get (To) {{ data.coin_to }} {{ data.coin_to }} + {% endif %} Bid State {{ data.bid_state }} diff --git a/basicswap/templates/bids.html b/basicswap/templates/bids.html index 051cd63..9064336 100644 --- a/basicswap/templates/bids.html +++ b/basicswap/templates/bids.html @@ -32,14 +32,22 @@

{{ page_type_available }} {{ page_type_received }} {{ page_type_sent }}

{{ page_type_available_description }} {{ page_type_received_description }} {{ page_type_sent_description }}

+
+ {% if refresh %} + + + + + + + Refresh {{ refresh }} seconds + {% endif %} +
- {% if refresh %} -

Page Refresh: {{ refresh }} seconds

{% endif %} {% for m in messages %} -

{{ m }}

{% endfor %} - + {% include 'inc_messages.html' %}
diff --git a/basicswap/templates/footer.html b/basicswap/templates/footer.html index 3488074..2b818e8 100644 --- a/basicswap/templates/footer.html +++ b/basicswap/templates/footer.html @@ -23,7 +23,7 @@

GUI 0.1.2

Made with

- + by TV and CRZ
diff --git a/basicswap/templates/header.html b/basicswap/templates/header.html index b6aeef6..53cb2c3 100644 --- a/basicswap/templates/header.html +++ b/basicswap/templates/header.html @@ -260,11 +260,11 @@
{% if debug_mode == true %} - + {% endif %} + + {% if debug_mode == true %} + + + + + + {% endif %} {% if use_tor_proxy == true %}
-
{% if refresh %} - - - - {% else %} - - - - {% endif %}
- +
+ {% if refresh %} + + + + + + + Refresh {{ refresh }} seconds + {% else %} + + + + + + + Refresh + {% endif %} +
+
@@ -85,8 +95,8 @@ - - + + @@ -94,20 +104,24 @@ - - + + - - + + - - + + - - + + @@ -143,11 +157,11 @@ {% else %} - + {% endif %} - + @@ -190,7 +204,7 @@

Bids

-
+
ItemDataDetails
{{ data.state }}
Coin From{{ data.coin_from }}Coin From (From) + {{ data.coin_from }} + {{ data.coin_from }}
Coin To{{ data.coin_to }}Coin To (To) + {{ data.coin_to }} + {{ data.coin_to }}
Amount From{{ data.amt_from }} {{ data.tla_from }}Amount (From){{ data.amt_from }} {{ data.tla_from }}
Amount To{{ data.amt_to }} {{ data.tla_to }}Amount (To){{ data.amt_to }} {{ data.tla_to }}
Minimum Bid Amount
Address To{{ data.addr_to }} {{ data.addr_to_label }}{{ data.addr_to }} {{ data.addr_to_label }}
Address From{{ data.addr_from }} {{ data.addr_from_label }}{{ data.addr_from }} {{ data.addr_from_label }}
Created At
@@ -222,7 +236,7 @@

New Bid

-
+
@@ -307,17 +321,33 @@
-
- -
+
+ +
{% if data.sent == 'True' %} -
- +
+
{% if data.was_revoked != true %} -
- -
+
+ +
{% endif %} {% endif %} -
+ - + @@ -363,7 +363,7 @@ - +
You Get You Get (From) You Send You Send (To) Rate {{ o[7] }} {% if o[12]==2 %}Revoked{% elif o[11]==true %}Not Active{% else %}Active{% endif %}{{ o[7] }} {% if o[12]==2 %}(Revoked){% elif o[11]==true %}(Not Active){% else %}(Active){% endif %} {{ o[8] }} {{ o[2] }} {{ o[4] }}