From 1728fe053d00de08038c791d43f3de44b905f1b1 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sun, 13 Nov 2022 19:15:40 -0600 Subject: [PATCH] change pages --- .../cashu/templates/cashu/index.html | 6 +-- .../cashu/templates/cashu/mint.html | 24 +++++++---- .../cashu/templates/cashu/wallet.html | 42 +++++++++---------- 3 files changed, 39 insertions(+), 33 deletions(-) diff --git a/lnbits/extensions/cashu/templates/cashu/index.html b/lnbits/extensions/cashu/templates/cashu/index.html index f54b39b1..6c69da93 100644 --- a/lnbits/extensions/cashu/templates/cashu/index.html +++ b/lnbits/extensions/cashu/templates/cashu/index.html @@ -218,18 +218,18 @@ toggleAdvanced: false, cashusTable: { columns: [ - {name: 'id', align: 'left', label: 'ID', field: 'id'}, + {name: 'id', align: 'left', label: 'Mint ID', field: 'id'}, {name: 'name', align: 'left', label: 'Name', field: 'name'}, { name: 'tickershort', align: 'left', - label: 'tickershort', + label: 'Ticker', field: 'tickershort' }, { name: 'wallet', align: 'left', - label: 'Cashu wallet', + label: 'Mint wallet', field: 'wallet' }, { diff --git a/lnbits/extensions/cashu/templates/cashu/mint.html b/lnbits/extensions/cashu/templates/cashu/mint.html index 894d7087..b9300c3d 100644 --- a/lnbits/extensions/cashu/templates/cashu/mint.html +++ b/lnbits/extensions/cashu/templates/cashu/mint.html @@ -1,7 +1,7 @@ {% extends "public.html" %} {% block page %}
- +
-

{{ mint_name }}

-

Cashu mint

+

{{ mint_name }}

Open wallet
-

Read the following text carefully!

+

Read the following carefully!

This is a Cashu - mint. Cashu is a Ecash system on Bitcoin. + mint which is an Ecash system on Bitcoin. +

+

+ Open this page in your browser
+ Before you continue, make sure to open this page in your device's + native browser application (Safari for iOS, Chrome for Android) if + you want to add Cashu wallet to your home screen.

Add to home screen
You can add Cashu to your home screen as a progressive web app - (PWA). When you open the wallet in your browser, on Android Chrome, - click the menu at the upper right. On iOS Safari, click the share - button. Now press the Add to Home screen button. + (PWA). When you open the wallet in your browser, on Android + (Chrome), click the menu at the upper right. On iOS (Safari), click + the share button. Now press the Add to Home screen button.

Backup your wallet
diff --git a/lnbits/extensions/cashu/templates/cashu/wallet.html b/lnbits/extensions/cashu/templates/cashu/wallet.html index 27ef5e5c..a8016ba7 100644 --- a/lnbits/extensions/cashu/templates/cashu/wallet.html +++ b/lnbits/extensions/cashu/templates/cashu/wallet.html @@ -125,9 +125,6 @@ page_container %}

{{props.row.sum}}
- -
{{props.row.memo}}
-
{% endraw %} @@ -186,17 +183,17 @@ page_container %}
{{props.row.amount}}
-
{{props.row.date}}
+
{{props.row.bolt11}}
@@ -269,6 +266,9 @@ page_container %}
{{props.row.date}}
+
{{props.row.token}}
@@ -931,13 +931,6 @@ page_container %} field: 'sum', sortable: true } - // { - // name: 'memo', - // align: 'left', - // label: 'Memo', - // field: 'memo', - // sortable: true - // } ], pagination: { rowsPerPage: 5 @@ -960,13 +953,6 @@ page_container %} field: 'amount', sortable: true }, - // { - // name: 'memo', - // align: 'left', - // label: 'Memo', - // field: 'memo', - // sortable: true - // }, { name: 'date', align: 'left', @@ -974,6 +960,13 @@ page_container %} field: 'date', sortable: true }, + // { + // name: 'memo', + // align: 'left', + // label: 'Memo', + // field: 'memo', + // sortable: true + // }, { name: 'bolt11', align: 'left', @@ -1020,6 +1013,13 @@ page_container %} field: 'date', sortable: true }, + // { + // name: 'memo', + // align: 'left', + // label: 'Memo', + // field: 'memo', + // sortable: true + // }, { name: 'token', align: 'left',