Fill window.config object before including other js code
This commit is contained in:
parent
3a3637d3d7
commit
a25565a80d
1 changed files with 11 additions and 11 deletions
|
@ -9,17 +9,6 @@
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='font-awesome/css/all.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='font-awesome/css/all.css') }}">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/dist/webpanel.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/dist/webpanel.css') }}">
|
||||||
|
|
||||||
<script type="text/javascript" src="{{ url_for('static', filename='js/lib/vue.js') }}"></script>
|
|
||||||
<script type="text/javascript" src="{{ url_for('static', filename='js/lib/axios.min.js') }}"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript" src="{{ url_for('static', filename='js/api.js') }}"></script>
|
|
||||||
<script type="text/javascript" src="{{ url_for('static', filename='js/events.js') }}"></script>
|
|
||||||
<script type="text/javascript" src="{{ url_for('static', filename='js/notifications.js') }}"></script>
|
|
||||||
|
|
||||||
{% for style in styles.values() %}
|
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename=style['_style_file']) }}">
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
if (!window.config) {
|
if (!window.config) {
|
||||||
window.config = {};
|
window.config = {};
|
||||||
|
@ -43,6 +32,17 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="{{ url_for('static', filename='js/lib/vue.js') }}"></script>
|
||||||
|
<script type="text/javascript" src="{{ url_for('static', filename='js/lib/axios.min.js') }}"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="{{ url_for('static', filename='js/api.js') }}"></script>
|
||||||
|
<script type="text/javascript" src="{{ url_for('static', filename='js/events.js') }}"></script>
|
||||||
|
<script type="text/javascript" src="{{ url_for('static', filename='js/notifications.js') }}"></script>
|
||||||
|
|
||||||
|
{% for style in styles.values() %}
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename=style['_style_file']) }}">
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
{% include 'elements.html' %}
|
{% include 'elements.html' %}
|
||||||
|
|
||||||
{% for plugin, conf in templates.items() %}
|
{% for plugin, conf in templates.items() %}
|
||||||
|
|
Loading…
Reference in a new issue