From b9d3fc5744b956f5a388f909bcd7a7e5b1a6d939 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 2 May 2023 12:27:51 +0100 Subject: [PATCH 1/4] Fix spark image --- lnbits/core/static/js/service-worker.js | 2 +- lnbits/core/templates/core/index.html | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lnbits/core/static/js/service-worker.js b/lnbits/core/static/js/service-worker.js index 44f11b131..12c840e52 100644 --- a/lnbits/core/static/js/service-worker.js +++ b/lnbits/core/static/js/service-worker.js @@ -1,6 +1,6 @@ // update cache version every time there is a new deployment // so the service worker reinitializes the cache -const CACHE_VERSION = 2 +const CACHE_VERSION = 3 const CURRENT_CACHE = `lnbits-${CACHE_VERSION}-` const getApiKey = request => { diff --git a/lnbits/core/templates/core/index.html b/lnbits/core/templates/core/index.html index 25e8f4d06..09feb2655 100644 --- a/lnbits/core/templates/core/index.html +++ b/lnbits/core/templates/core/index.html @@ -141,9 +141,7 @@ > -
 
- -
+ +
+ + {% if AD_SPACE %} {% for ADS in AD_SPACE %} {% set AD = ADS.split(';') + %} +
+ {{ AD_TITLE }} + + + +
+ {% endfor %} {% endif %} - - {% if AD_SPACE %} {% for ADS in AD_SPACE %} {% set AD = ADS.split(';') %} -
- {{ AD_TITLE }} - - - - - -
- {% endfor %} {% endif %} + {% endblock %} -{% endblock %} From 068965d81b19a31732cf33ebe0842540a8cba61c Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 2 May 2023 14:07:25 +0100 Subject: [PATCH 3/4] Missing div --- lnbits/core/templates/core/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/lnbits/core/templates/core/index.html b/lnbits/core/templates/core/index.html index 6bba04f39..7cb746355 100644 --- a/lnbits/core/templates/core/index.html +++ b/lnbits/core/templates/core/index.html @@ -150,6 +150,7 @@ + {% if AD_SPACE %} {% for ADS in AD_SPACE %} {% set AD = ADS.split(';') %} From 09d67249cc4cff228efd5f304995a622b0e6690b Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 2 May 2023 14:11:01 +0100 Subject: [PATCH 4/4] format --- lnbits/core/templates/core/index.html | 32 +++++++++++++-------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/lnbits/core/templates/core/index.html b/lnbits/core/templates/core/index.html index 7cb746355..666bf13d8 100644 --- a/lnbits/core/templates/core/index.html +++ b/lnbits/core/templates/core/index.html @@ -152,25 +152,23 @@ - {% if AD_SPACE %} {% for ADS in AD_SPACE %} {% set AD = ADS.split(';') - %} -
- {{ AD_TITLE }} + {% if AD_SPACE %} {% for ADS in AD_SPACE %} {% set AD = ADS.split(';') %} +
+ {{ AD_TITLE }} - - - - -
- {% endfor %} {% endif %} + + + +
+ {% endfor %} {% endif %} - {% endblock %} +{% endblock %}