diff --git a/lnbits/core/templates/core/index.html b/lnbits/core/templates/core/index.html index d0124dc2b..ad098d162 100644 --- a/lnbits/core/templates/core/index.html +++ b/lnbits/core/templates/core/index.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "public.html" %} {% block scripts %} @@ -9,8 +9,8 @@ {% endblock %} {% block page %} -
-
+
+
diff --git a/lnbits/extensions/tpos/templates/tpos/_tpos.html b/lnbits/extensions/tpos/templates/tpos/_tpos.html index 25efdda64..11641c0c3 100644 --- a/lnbits/extensions/tpos/templates/tpos/_tpos.html +++ b/lnbits/extensions/tpos/templates/tpos/_tpos.html @@ -4,11 +4,8 @@ label="About TPoS"> -

Thiago's Point of Sale, is a secure, mobile-ready, instant and shareable point of sale terminal (PoS) for merchants. The PoS is linked to your LNbits wallet, but completely air-gapped so users can ONLY create invoices. To share the TPoS, hit the hashtag on the terminal -

Created by Tiago Vasconcelos. +

Thiago's Point of Sale is a secure, mobile-ready, instant and shareable point of sale terminal (PoS) for merchants. The PoS is linked to your LNbits wallet but completely air-gapped so users can ONLY create invoices. To share the TPoS hit the hash on the terminal.

+ Created by Tiago Vasconcelos.
- - - diff --git a/lnbits/extensions/withdraw/templates/withdraw/display.html b/lnbits/extensions/withdraw/templates/withdraw/display.html index 020878479..ae0ae63ce 100644 --- a/lnbits/extensions/withdraw/templates/withdraw/display.html +++ b/lnbits/extensions/withdraw/templates/withdraw/display.html @@ -3,7 +3,7 @@ {% block page %}
-
+
@@ -22,7 +22,7 @@
-
+
LNbits LNURL-withdraw link
diff --git a/lnbits/extensions/withdraw/views_api.py b/lnbits/extensions/withdraw/views_api.py index d1d6a6e55..498571f63 100644 --- a/lnbits/extensions/withdraw/views_api.py +++ b/lnbits/extensions/withdraw/views_api.py @@ -55,7 +55,7 @@ def api_link_retrieve(link_id): "is_unique": {"type": "boolean", "required": True}, } ) -def api_link_create(link_id=None): +def api_link_create_or_update(link_id=None): if g.data["max_withdrawable"] < g.data["min_withdrawable"]: return jsonify({"message": "`max_withdrawable` needs to be at least `min_withdrawable`."}), Status.BAD_REQUEST diff --git a/lnbits/static/css/base.css b/lnbits/static/css/base.css index 5be09bfa4..6d1c71d96 100644 --- a/lnbits/static/css/base.css +++ b/lnbits/static/css/base.css @@ -39,5 +39,9 @@ .q-table--dense .q-table__bottom { padding-right: 6px !important; } -video { - border-radius: 3px; } +a.inherit { + color: inherit; + text-decoration: none; } + + video { + border-radius: 3px; } diff --git a/lnbits/static/scss/base.scss b/lnbits/static/scss/base.scss index a25bdcc0f..b33c82e79 100644 --- a/lnbits/static/scss/base.scss +++ b/lnbits/static/scss/base.scss @@ -66,6 +66,11 @@ body.body--dark .q-field--error { } } +a.inherit { + color: inherit; + text-decoration: none; +} + // QR video video { diff --git a/lnbits/templates/public.html b/lnbits/templates/public.html index 2bb98bad4..98e29aa8c 100644 --- a/lnbits/templates/public.html +++ b/lnbits/templates/public.html @@ -4,3 +4,14 @@ {% block beta %}{% endblock %} {% block drawer_toggle %}{% endblock %} {% block drawer %}{% endblock %} + + +{% block toolbar_title %} + + {% if SITE_TITLE != 'LNbits' %} + {{ SITE_TITLE }} + {% else %} + LNbits + {% endif %} + +{% endblock %}