From 416b003da91d5fd3da1f0d382ef59c8a7e423528 Mon Sep 17 00:00:00 2001 From: gerlofvanek Date: Mon, 26 Jun 2023 20:01:09 +0200 Subject: [PATCH] ui: USD prices (single/total) in wallet/wallets, tooltip header update. --- basicswap/static/css/style.css | 20 +- basicswap/templates/footer.html | 57 +++--- basicswap/templates/header.html | 47 +++-- basicswap/templates/wallet.html | 149 ++++++++++++--- basicswap/templates/wallets.html | 307 +++++++++++++++++++++++++++++-- 5 files changed, 495 insertions(+), 85 deletions(-) diff --git a/basicswap/static/css/style.css b/basicswap/static/css/style.css index c008660..4650ad0 100644 --- a/basicswap/static/css/style.css +++ b/basicswap/static/css/style.css @@ -106,9 +106,25 @@ } } - - /* Add this to your existing CSS file */ .error { border: 1px solid red !important; } + +.active-container { + position: relative; + border-radius: 5px; +} + +.active-container::before { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + border: 1px solid rgb(77, 132, 240); + border-radius: inherit; + pointer-events: none; +} + diff --git a/basicswap/templates/footer.html b/basicswap/templates/footer.html index bc29b04..4c9a491 100644 --- a/basicswap/templates/footer.html +++ b/basicswap/templates/footer.html @@ -23,7 +23,7 @@

© 2023~

{{ title }}

-

GUI 2.0.1

+

GUI 2.0.2

Made with

@@ -51,35 +51,44 @@
- + + toggleImages(); + }); + })(); + + + +{% include 'footer.html' %} - - - - -{% include 'footer.html' %} \ No newline at end of file diff --git a/basicswap/templates/wallets.html b/basicswap/templates/wallets.html index 05de34f..04c340e 100644 --- a/basicswap/templates/wallets.html +++ b/basicswap/templates/wallets.html @@ -33,10 +33,36 @@
- +
+

USD value:

+
+
+ + + {% if w.anon_pending %}

Anon Pending:

- {{ w.anon_pending }} + + +{{ w.anon_pending }} {{ w.ticker }}
{% endif %} {% endif %} @@ -146,6 +195,226 @@
+ {% include 'footer.html' %} + - + \ No newline at end of file