From 65183133d8f5fc2dfddd4e8aea354dba5d271427 Mon Sep 17 00:00:00 2001 From: gerlofvanek Date: Tue, 25 Oct 2022 20:24:18 +0200 Subject: [PATCH] ui: Expired flag colors + GUI updates/tweaks. --- basicswap/templates/explorers.html | 19 ++-- basicswap/templates/offers.html | 14 +-- basicswap/templates/rpc.html | 24 +++-- basicswap/templates/wallet.html | 155 ++++++++++++++++++++--------- basicswap/templates/wallets.html | 24 ++--- 5 files changed, 153 insertions(+), 83 deletions(-) diff --git a/basicswap/templates/explorers.html b/basicswap/templates/explorers.html index 5546d8a..a645522 100644 --- a/basicswap/templates/explorers.html +++ b/basicswap/templates/explorers.html @@ -43,7 +43,7 @@ {% include 'inc_messages.html' %} -
+
@@ -58,7 +58,7 @@ - Select + Select Explorer Action @@ -66,12 +66,19 @@ - + {% for e in explorers %} {% endfor %} +
@@ -127,7 +134,7 @@ - @@ -151,4 +158,4 @@
- + \ No newline at end of file diff --git a/basicswap/templates/offers.html b/basicswap/templates/offers.html index bd9b04b..0e74dd8 100644 --- a/basicswap/templates/offers.html +++ b/basicswap/templates/offers.html @@ -51,12 +51,6 @@
- - - -
@@ -212,20 +206,20 @@ - + - +
-
{{ o[0] }}
+
{{ o[0] }}
{{ o[7] }} - {{ o[8] }}{% if o[9]==true %} {% endif %} + {{ o[8] }} {{ o[2] }} {{ o[4] }} {{ o[3] }} diff --git a/basicswap/templates/rpc.html b/basicswap/templates/rpc.html index f2305c0..e516ea6 100644 --- a/basicswap/templates/rpc.html +++ b/basicswap/templates/rpc.html @@ -51,30 +51,36 @@
-
+
- + - - + + - - +
CoinsInputSelect OptionRPC Console Input
+ - {% for c in coins %} {% endfor %} + +
@@ -108,7 +114,7 @@ - @@ -132,4 +138,4 @@ {% include 'footer.html' %} - + \ No newline at end of file diff --git a/basicswap/templates/wallet.html b/basicswap/templates/wallet.html index 9e59f66..7b2044e 100644 --- a/basicswap/templates/wallet.html +++ b/basicswap/templates/wallet.html @@ -34,16 +34,17 @@
-

- +

+ {{ w.name }} {{ w.name }} Wallet

-

Manage your {{ w.ticker }} wallet. {% if refresh %} (Page Refresh: {{ refresh }} seconds) {% endif %}

+

Manage your {{ w.ticker }} wallet. {% if refresh %} (Page Refresh: {{ refresh }} seconds) {% endif %}

-
@@ -81,7 +82,7 @@
{% endif %} -{% if w.havedata %} {% if w.error %} +{% if w.havedata %} {% if w.error %}
@@ -115,7 +116,7 @@ {% else %} - +
@@ -126,8 +127,8 @@ - - + + @@ -135,24 +136,24 @@ - + - - {% if w.unconfirmed %} + + {% if w.unconfirmed %} {% endif %} {% if w.cid == '1' %} - - {% if w.blind_unconfirmed %} + + {% if w.blind_unconfirmed %} {% endif %} - - {% if w.anon_pending %} + + {% if w.anon_pending %} {% endif %} {% endif %} @@ -189,23 +190,43 @@ {% if w.cid == '1' %} - + {% endif %} {% if w.cid == '6' %} - + - + {% else %} - + {% endif %}
NameSettingWallet
{{ w.lastupdated }}
Version:{{ w.name }} Version: {{ w.version }}
Balance:{{ w.balance }}{{ w.name }}Balance:{{ w.balance }}Unconfirmed: {{ w.unconfirmed }}
Blind Balance:{{ w.blind_balance }}{{ w.name }} BlindBlind Balance:{{ w.blind_balance }}Blind Unconfirmed: {{ w.blind_unconfirmed }}
Anon Balance:{{ w.anon_balance }}{{ w.name }} AnonAnon Balance:{{ w.anon_balance }}Anon Pending: {{ w.anon_pending }}
Stealth Address{{ w.stealth_address }}{{ w.stealth_address }}
Main Address{{ w.main_address }}{{ w.main_address }}
- + + + + + {{ w.deposit_address }} {{ w.deposit_address }}
- + + + + + + + + + + + {{ w.deposit_address }}{{ w.deposit_address }}
@@ -217,20 +238,28 @@
-
+
- - + + - {% if w.cid == '1' %} - + {% endif %} @@ -280,27 +325,31 @@ -
+
NAMEINPUTOPTIONS
- + + + + + + + @@ -247,20 +276,36 @@
Type From -> ToType From -> To: - + + - + +
- - + + - +
NameDataOPTIONS
GroupsUTXO Groups: - +
- + + - +
@@ -310,8 +359,16 @@
- + + + + + + +
@@ -320,8 +377,14 @@
- + + + + +
@@ -335,17 +398,17 @@ diff --git a/basicswap/templates/wallets.html b/basicswap/templates/wallets.html index 1a879c0..3f26154 100644 --- a/basicswap/templates/wallets.html +++ b/basicswap/templates/wallets.html @@ -36,10 +36,11 @@

Wallets

Check your coin balances and manage your wallets. {% if refresh %} (Page Refresh: {{ refresh }} seconds) {% endif %}

-
@@ -55,26 +56,26 @@

{{ w.name }} ({{ w.ticker }})

Version: {{ w.version }} {% if w.updating %} Updating

{% endif %}
-

Balance:

{{ w.balance }} +

Balance:

{{ w.balance }}
{% if w.unconfirmed %}

Unconfirmed:

{{ w.unconfirmed }}
{% endif %} {% if w.cid == '1' %}
-

Blind Balance:

{{ w.blind_balance }} +

Blind Balance:

{{ w.blind_balance }}
{% if w.blind_unconfirmed %}

Blind Unconfirmed:

{{ w.blind_unconfirmed }}
{% endif %}
-

Anon Balance:

{{ w.anon_balance }} +

Anon Balance:

{{ w.anon_balance }}
{% if w.anon_pending %}

Anon Pending:

{{ w.anon_pending }} @@ -102,12 +103,12 @@
@@ -115,5 +116,4 @@
{% include 'footer.html' %} - - + \ No newline at end of file