From 3749b172f48cd2413ee23ce660e179148678f93c Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sat, 5 Nov 2022 06:36:32 +0100 Subject: [PATCH] disclaimer --- .../cashu/templates/cashu/wallet.html | 95 +++++-------------- 1 file changed, 26 insertions(+), 69 deletions(-) diff --git a/lnbits/extensions/cashu/templates/cashu/wallet.html b/lnbits/extensions/cashu/templates/cashu/wallet.html index 43040342..eb42a06b 100644 --- a/lnbits/extensions/cashu/templates/cashu/wallet.html +++ b/lnbits/extensions/cashu/templates/cashu/wallet.html @@ -181,8 +181,18 @@ page_container %} +
+ +
- +
Warning

- BOOKMARK THIS PAGE! If only mobile you can also click the 3 dots - and "Save to homescreen"/"Install app"! + Bookmark this page!

- Ecash is a bearer asset, meaning you have the funds saved on this - page, losing the page without exporting the page will mean you will - lose the funds. + Ecash is a bearer asset, meaning losing access to this wallet will mean you will + lose the funds. This wallet stores tokens in its database. If you lose the link or request + your data, you will lose your tokens. Bookmark this page or press the + hamburger icon and add this page to your home screen. +

+

+ This service is in BETA, and we hold no responsibility for people losing + access to funds. Use at your own risk!

- Copy wallet URL - Copy wallet URL + I understand
@@ -489,14 +501,6 @@ page_container %} color="primary" >Copy invoice - Create Invoice @@ -578,7 +582,7 @@ page_container %}
- Paste tokens please + Paste Cashu tokens
-
@@ -967,6 +921,9 @@ page_container %} this.payInvoiceData.camera.show = false this.focusInput('pasteInput') }, + showDisclaimerDialog: function() { + this.disclaimerDialog.show = true + }, closeReceiveDialog: function () { setTimeout(() => {