bug: add the defaults else it fails (#3099)
This commit is contained in:
parent
5714848434
commit
1bb29cf0b1
1 changed files with 9 additions and 1 deletions
|
|
@ -49,9 +49,17 @@
|
||||||
<script src="{{ static_url_for('static', url) }}"></script>
|
<script src="{{ static_url_for('static', url) }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<script>
|
<script>
|
||||||
|
const SITE_DESCRIPTION = {{ SITE_DESCRIPTION | tojson}}
|
||||||
|
const themes = {{ LNBITS_THEME_OPTIONS | tojson }}
|
||||||
|
const LNBITS_DENOMINATION = {{ LNBITS_DENOMINATION | tojson }}
|
||||||
|
const LNBITS_VERSION = {{ LNBITS_VERSION | tojson }}
|
||||||
const LNBITS_QR_LOGO = {{ LNBITS_QR_LOGO | tojson }}
|
const LNBITS_QR_LOGO = {{ LNBITS_QR_LOGO | tojson }}
|
||||||
|
const USE_DEFAULT_REACTION = {{ USE_DEFAULT_REACTION | tojson }}
|
||||||
|
const USE_DEFAULT_THEME = {{ USE_DEFAULT_THEME | tojson }}
|
||||||
|
const USE_DEFAULT_BORDER = {{ USE_DEFAULT_BORDER | tojson }}
|
||||||
|
const USE_DEFAULT_GRADIENT = {{ USE_DEFAULT_GRADIENT | lower | tojson }}
|
||||||
|
const USE_DEFAULT_BGIMAGE = "{{ USE_DEFAULT_BGIMAGE or None | tojson }}"
|
||||||
</script>
|
</script>
|
||||||
<!---->
|
|
||||||
{% block scripts %}{% endblock %} {% for url in INCLUDED_COMPONENTS %}
|
{% block scripts %}{% endblock %} {% for url in INCLUDED_COMPONENTS %}
|
||||||
<script src="{{ static_url_for('static', url) }}"></script>
|
<script src="{{ static_url_for('static', url) }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue