From cde7e4a5e99866295b493e1e978859b75be559d0 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 15 Dec 2022 10:51:29 +0000 Subject: [PATCH] added wallet colors --- .../gerty/templates/gerty/gerty.html | 162 ++++++++---------- lnbits/extensions/gerty/views.py | 8 +- 2 files changed, 73 insertions(+), 97 deletions(-) diff --git a/lnbits/extensions/gerty/templates/gerty/gerty.html b/lnbits/extensions/gerty/templates/gerty/gerty.html index 9a47721d..03418ab9 100644 --- a/lnbits/extensions/gerty/templates/gerty/gerty.html +++ b/lnbits/extensions/gerty/templates/gerty/gerty.html @@ -1,92 +1,35 @@ -{% extends "public.html" %} {% block toolbar_title %} {{ gerty.name }}{% +{% extends "public.html" %} {% block toolbar_title %} Gerty: {% raw %}{{ gertyname }}{% endraw %}{% endblock %}{% block page %} {% raw %} +
- - "{{gerty.sats_quote[0].text}}"
~ Satoshi {{gerty.sats_quote[0].date}} -
-
-
- + + - {{gerty.exchange[0].amount.toFixed(2)}} {{gerty.exchange[0].fiat}} + {{fun_exchange_market_rate["amount"]}} {{fun_exchange_market_rate["unit"]}} - - - -
- -
-
-
-
- {{gertywallet.amount}} -
-
{{gertywallet.name}}
-
+ +
+

"{{fun_satoshi_quotes["quote"]}}"

+ ~ Satoshi {{fun_satoshi_quotes["date"]}} +
+
+
+ +
+ + + {{wallet["amount"]}} ({{wallet["name"]}})
-
-
- -

Onchain Stats

- Difficulty Progress Percent - -
- -
-
- - -
- Current difficulty: {{gerty.onchain[2].threed[0].currentDifficulty}} - Current hashrate: {{gerty.onchain[2].threed[0].currentHashrate}} -
-
-
-
-
- -

LN Stats

- -
{{gerty.ln}}
-
-
-
-
{% endraw %} {% endblock %} {% block scripts %}