From dc5ae91bb27cc5b56196ee90403dbee54528750f Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 26 Sep 2022 23:06:41 +0100 Subject: [PATCH] Frontend page kinda wokrking Websockets need to be added --- .../gerty/templates/gerty/gerty.html | 91 +++++++++---------- lnbits/extensions/gerty/views_api.py | 2 +- 2 files changed, 44 insertions(+), 49 deletions(-) diff --git a/lnbits/extensions/gerty/templates/gerty/gerty.html b/lnbits/extensions/gerty/templates/gerty/gerty.html index d46ed856..4f73b29f 100644 --- a/lnbits/extensions/gerty/templates/gerty/gerty.html +++ b/lnbits/extensions/gerty/templates/gerty/gerty.html @@ -1,50 +1,53 @@ {% extends "public.html" %} {% block toolbar_title %} {{ gerty.name }}{% endblock %}{% block page %} -
-
{% raw %} -
-
-
+{% raw %} +
+ + "{{gerty.sats_quote[0].text}}"
~ Satoshi {{gerty.sats_quote[0].date}} +
+
+
+ + + {{gerty.exchange[0].amount.toFixed(2)}} {{gerty.exchange[0].fiat}} + + + + + +
-
-
{{gertywallet.amount}}
Wallet: {{gertywallet.name}}
-
{% endraw %} -
-
-
-
-
+ +
+
{{gertywallet.amount}}
{{gertywallet.name}}
+
+ + +
-
+
+
+

Onchain Stats

- Copy LNURL - + {{gerty.onchain}}
-
- - -
Gerty
-

Use an LNURL compatible bitcoin wallet to pay.

-
+
+ +

LN Stats

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