FEAT: build static files with npm (sass, concat, minify), remove build step from python, include minified bundle files (#1601)
This commit is contained in:
@@ -2,12 +2,9 @@
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
{% for url in VENDORED_CSS %}
|
||||
{% for url in INCLUDED_CSS %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ url }}" />
|
||||
{% endfor %}
|
||||
<!---->
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/base.css" />
|
||||
{% block styles %}{% endblock %}
|
||||
<title>{% block title %}{{ SITE_TITLE }}{% endblock %}</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta
|
||||
@@ -284,18 +281,10 @@
|
||||
|
||||
{% block vue_templates %}{% endblock %}
|
||||
<!---->
|
||||
{% for url in VENDORED_JS %}
|
||||
{% for url in INCLUDED_JS %}
|
||||
<script src="{{ url }}"></script>
|
||||
{% endfor %}
|
||||
<!---->
|
||||
<script src="/static/i18n/i18n.js"></script>
|
||||
<script src="/static/i18n/en.js"></script>
|
||||
<script src="/static/i18n/de.js"></script>
|
||||
<script src="/static/i18n/es.js"></script>
|
||||
<script src="/static/i18n/jp.js"></script>
|
||||
<script src="/static/js/base.js"></script>
|
||||
<script src="/static/js/components.js"></script>
|
||||
<script src="/static/js/bolt11-decoder.js"></script>
|
||||
<script type="text/javascript">
|
||||
const themes = {{ LNBITS_THEME_OPTIONS | tojson }}
|
||||
const LNBITS_DENOMINATION = {{ LNBITS_DENOMINATION | tojson}}
|
||||
|
||||
Reference in New Issue
Block a user