From b936d122a3f5479f219fa1eded01fadf2bbeb374 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Mon, 7 Nov 2022 15:36:52 +0100 Subject: [PATCH] scrolling works --- .env.example | 3 +- .../cashu/templates/cashu/wallet.html | 560 +++++++++--------- 2 files changed, 283 insertions(+), 280 deletions(-) diff --git a/.env.example b/.env.example index b6a532058..28e526988 100644 --- a/.env.example +++ b/.env.example @@ -110,5 +110,6 @@ LNTIPS_API_KEY=LNTIPS_ADMIN_KEY LNTIPS_API_ENDPOINT=https://ln.tips # Cashu Mint -# Use a long-enough random (!) private key +# Use a long-enough random (!) private key. +# Once set, you cannot change this key as for now. CASHU_PRIVATE_KEY="SuperSecretPrivateKey" diff --git a/lnbits/extensions/cashu/templates/cashu/wallet.html b/lnbits/extensions/cashu/templates/cashu/wallet.html index 9b49a0631..a0861ae70 100644 --- a/lnbits/extensions/cashu/templates/cashu/wallet.html +++ b/lnbits/extensions/cashu/templates/cashu/wallet.html @@ -5,305 +5,307 @@ page_container %}
- - - -
-
-
- Get invoice - -
-
-

-
- {% raw %} {{getBalance()}} - {{tickershort}}{% endraw %} -
-

-
-
- Pay invoice - -
-
-
-
-
-
-

-
- {% raw %} {{getBalance()}} - {{tickershort}}{% endraw %} -
-

-
-
-
-
-
- - - -
-
+ + +
+
+
Get Ecash + size="14px" + icon="bolt" + rectangle + color="primary" + @click="showInvoicesDialog" + >Get invoice +
-
-
+
+

+
+ {% raw %} {{getBalance()}} + {{tickershort}}{% endraw %} +
+

+
+
- Pay Ecash + @click="showParseDialog" + size="14px" + icon="bolt" + rectangle + color="primary" + class="full-width" + >Pay invoice +
+
+
+
+
+

+
+ {% raw %} {{getBalance()}} + {{tickershort}}{% endraw %} +
+

+
+
+
+ + - - - - - - - - + + + + + + + - - - {% raw %} - - {% endraw %} - - + + + {% raw %} + + {% endraw %} + + - + - - - {% raw %} - + {% endraw %} + + - + - - - {% raw %} - + {% endraw %} + + + + + -
- - Warning - BackupDownload wallet backup -
- +
+ + Warning + BackupDownload wallet backup +