From fdf41c016a335bafd53b5077d5d14bff3fb50313 Mon Sep 17 00:00:00 2001 From: padreug Date: Sun, 22 Jun 2025 16:08:22 +0200 Subject: [PATCH] Update dashboard card styles: Change background colors and text classes for current value and unrealized gain/loss sections to enhance visual clarity and user experience. --- templates/satmachineclient/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/satmachineclient/index.html b/templates/satmachineclient/index.html index e3256a2..b0d9cd9 100644 --- a/templates/satmachineclient/index.html +++ b/templates/satmachineclient/index.html @@ -60,22 +60,22 @@
- + -
${formatCurrencyWithCode(dashboardData.current_sats_fiat_value, dashboardData.currency)}
-
Current Value of Bitcoin Holdings
+
${formatCurrencyWithCode(dashboardData.current_sats_fiat_value, dashboardData.currency)}
+
Current Value of Bitcoin Holdings
at today's ${dashboardData.currency} exchange rate
- + -
+
${(dashboardData.current_sats_fiat_value + dashboardData.current_fiat_balance) > dashboardData.total_fiat_invested ? '+' : ''} ${formatCurrencyWithCode((dashboardData.current_sats_fiat_value + dashboardData.current_fiat_balance) - dashboardData.total_fiat_invested, dashboardData.currency)}
-
+
${(dashboardData.current_sats_fiat_value + dashboardData.current_fiat_balance) > dashboardData.total_fiat_invested ? 'Unrealized Gain' : 'Unrealized Loss'}
vs total invested