diff --git a/LNbits/templates/base.html b/LNbits/templates/base.html new file mode 100644 index 0000000..87d34d0 --- /dev/null +++ b/LNbits/templates/base.html @@ -0,0 +1,244 @@ + + + + + + + LNBits Wallet + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {% block body %}{% endblock %} + + diff --git a/LNbits/templates/deletewallet.html b/LNbits/templates/deletewallet.html deleted file mode 100644 index 058ef54..0000000 --- a/LNbits/templates/deletewallet.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - - LNBits Wallet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - - -
- -
-

- Wallet - Control panel -

- -
- - -
-

Wallet Deleted! - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/LNbits/templates/index.html b/LNbits/templates/index.html index 5867cbf..591e2b2 100644 --- a/LNbits/templates/index.html +++ b/LNbits/templates/index.html @@ -1,249 +1,163 @@ - - - - - LNBits Wallet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - - -
- -
- - - -

-
- -

Warning - Wallet is still in BETA and very, very #reckless, please be careful with your funds!

- -
-
- - -
- -
+ + +{% extends "base.html" %} {% block body %} +
+
+ + + + +
+ + + + +
+ +
+ +

+
+

+ Warning - Wallet is still in BETA and very, very #reckless, please be + careful with your funds! +

+
+
+ + +
+
- -
-
+ +
+

- - free and open-source lightning wallet -

-

- LNbits is a simple, free and open-source lightning-network wallet for bits and bobs. You can run it on your own server, or use this one. -

-The wallet can be used in a variety of ways, an instant wallet for LN demonstrations, a fallback wallet for the LNURL scheme, an accounts system to mitigate the risk of exposing applications to your full balance. -

-The wallet can run on top of LND, lntxbot, paywall, opennode -

-Please note that although one of the aims of this wallet is to mitigate exposure of all your funds, it’s still very BETA and may in fact do the opposite! -
https://github.com/arcbtc/lnbits

-
- -
- -
- - + + free and open-source lightning wallet + +

+ LNbits is a simple, free and open-source lightning-network + wallet for bits and bobs. You can run it on your own server, or + use this one. +

+ The wallet can be used in a variety of ways, an instant wallet + for LN demonstrations, a fallback wallet for the LNURL scheme, + an accounts system to mitigate the risk of exposing applications + to your full balance. +

+ The wallet can run on top of LND, lntxbot, paywall, opennode +

+ Please note that although one of the aims of this wallet is to + mitigate exposure of all your funds, it’s still very BETA and + may in fact do the opposite! +
+ https://github.com/arcbtc/lnbits +

+
+ +
+ +
- -
-
+ +
+

- - Make a wallet -

-
- -
- -
- -
- -
- - - -
- - - - - - -
- -
- -
- + +
+
- Learn more about LNbits https://github.com/arcbtc/lnbits - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + function newwallet() { + walname = document.getElementById('walname').value + window.location.href = + 'wallet?usr=' + makeid(40) + '&wal=' + makeid(40) + '&nme=' + walname + } + +{% endblock %} diff --git a/LNbits/templates/lnurlwallet.html b/LNbits/templates/lnurlwallet.html deleted file mode 100644 index 194f696..0000000 --- a/LNbits/templates/lnurlwallet.html +++ /dev/null @@ -1,701 +0,0 @@ - - - - - LNBits Wallet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - -
- - - - -
- -
-

- Wallet - Control panel
-

- -
- - -
- - - -
-
-
-
- - - -
-
- - - - -
-
-
-
-

Transactions

- -
-
- - - - - - - - - - - -
Memodateamount
-
-
-
-
- -
- - - -
-
-
-
- -
-
-
- -
- - -
- - -
- - - -
- -
-
-
-
-
- -
- - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/LNbits/templates/wallet.html b/LNbits/templates/wallet.html index bfb0b19..8cfdd42 100644 --- a/LNbits/templates/wallet.html +++ b/LNbits/templates/wallet.html @@ -1,94 +1,6 @@ - - - - - LNBits Wallet - - - - - - - - - - - - - - - +{% extends "base.html" %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +{% block body %}
@@ -333,67 +245,11 @@ - WARNING - LNbits is still in BETA! Learn more about LNbits https://github.com/arcbtc/lnbits. + Learn more about LNbits https://github.com/arcbtc/lnbits.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + +{% endblock %}