From eacdd432b21346e97023569efe3e8827e282d52b Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 19 Jun 2024 13:52:18 +0300 Subject: [PATCH] [feat] Extension details page (#2544) * feat: add empty dialog * feat: add `details_link` field for extension * feat: show info icon if `details_link` present * feat: add extension details endpoint * feat: first details page * feat: carousel working * feat: full screen * fix: layout * fix: repo site * fix: release icon * fix: repo link * feat: terms and conditions partial * chore: fix typing * fix: info icon layout * chore: add try-catch * feat: layout improvements * feat: add video link * fix: show terms and conditions * chore: code format * feat: add `details_link` * fix: github release details * feat: add close button * chore: code clean-up * chore: revert some changes * feat: i18n * chore: `make bundle` * chore: make bundle * feat: terms and conditions is a link now --- lnbits/core/templates/core/extensions.html | 225 ++++++++++++++++++++- lnbits/core/views/extension_api.py | 30 +++ lnbits/extension_manager.py | 37 +++- lnbits/static/bundle.min.js | 2 +- lnbits/static/i18n/en.js | 4 +- 5 files changed, 286 insertions(+), 12 deletions(-) diff --git a/lnbits/core/templates/core/extensions.html b/lnbits/core/templates/core/extensions.html index a8fca5533..ee4804b7e 100644 --- a/lnbits/core/templates/core/extensions.html +++ b/lnbits/core/templates/core/extensions.html @@ -87,10 +87,17 @@
- + + @@ -227,14 +234,27 @@
- - - - - + + +
+ + + + +
@@ -754,23 +774,186 @@ + + + + +
+
+ +
+
+

+
+
+
+ +
+
+
+
+ + + + + + +
+
+ +
+
+
+
+
+
+ +
+
+ + + + +
+ + + +
+
+
+
+
+ + + + +
+
+ +
+ + + +
+
+
+
+
+
+
{% endblock %} {% block scripts %} {{ window_vars(user) }}