From 53172ff60839aa03c99fb7f2906263f618357d37 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 10 Oct 2022 14:25:25 +0300 Subject: [PATCH] chore: code clean-up --- .../cashu/templates/cashu/wallet.html | 234 +----------------- 1 file changed, 2 insertions(+), 232 deletions(-) diff --git a/lnbits/extensions/cashu/templates/cashu/wallet.html b/lnbits/extensions/cashu/templates/cashu/wallet.html index c9f1b555d..01a5bc1a8 100644 --- a/lnbits/extensions/cashu/templates/cashu/wallet.html +++ b/lnbits/extensions/cashu/templates/cashu/wallet.html @@ -126,234 +126,6 @@ page_container %} - - {% raw %} - - -

- {{receive.lnurl.domain}} is requesting an invoice: -

- {% endraw %} {% if LNBITS_DENOMINATION != 'sats' %} - - {% else %} - - - {% endif %} - - - {% raw %} -
- - - Withdraw from {{receive.lnurl.domain}} - - Create invoice - - Cancel -
- -
-
- - -
- Copy invoice - Close -
-
- {% endraw %} -
- - - -
-
- {% raw %} {{ parseFloat(String(parse.invoice.fsat).replaceAll(",", - "")) / 100 }} {% endraw %} {{LNBITS_DENOMINATION}} {% raw %} -
-
- {{ parse.invoice.fsat }}{% endraw %} {{LNBITS_DENOMINATION}} {% - raw %} -
- -

- Description: {{ parse.invoice.description }}
- Expire date: {{ parse.invoice.expireDate }}
- Hash: {{ parse.invoice.hash }} -

- {% endraw %} -
- Pay - Cancel -
-
- Not enough funds! - Cancel -
-
-
- {% raw %} - -

- Authenticate with {{ parse.lnurlauth.domain }}? -

- -

- For every website and for every LNbits wallet, a new keypair - will be deterministically generated so your identity can't be - tied to your LNbits wallet or linked across websites. No other - data will be shared with {{ parse.lnurlauth.domain }}. -

-

Your public key for {{ parse.lnurlauth.domain }} is:

-

- {{ parse.lnurlauth.pubkey }} -

-
- Login - Cancel -
-
- {% endraw %} -
-
- - - -
- Read - Cancel -
-
-
- - - -
- - Cancel - -
-
-
-
-
- - - -
- -
-
- Cancel -
-
-
- - - - - - - - - {% raw %}
@@ -445,7 +216,6 @@ page_container %} >
- {% endraw %}
@@ -1056,8 +826,8 @@ page_container %} localStorage.getItem('cashu.buyOrders') || '[]' ) this.tokens = JSON.parse(localStorage.getItem('cashu.tokens') || '[]') - console.table(this.buyOrders) - console.table(this.tokens) + // console.table(this.buyOrders) + // console.table(this.tokens) console.log('#### this.mintId', this.mintId) console.log('#### this.mintName', this.mintName)