fix: urls for includes on print.html (#2185)
* fix the url for js libs * fix the url for css --------- Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
parent
7b9d370452
commit
97f8a4ab38
1 changed files with 6 additions and 2 deletions
|
|
@ -3,7 +3,11 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
{% for url in INCLUDED_CSS %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ url }}" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
type="text/css"
|
||||
href="{{ static_url_for('static', url) }}"
|
||||
/>
|
||||
{% endfor %}
|
||||
<style>
|
||||
@page {
|
||||
|
|
@ -34,7 +38,7 @@
|
|||
</q-layout>
|
||||
|
||||
{% for url in INCLUDED_JS %}
|
||||
<script src="{{ url }}"></script>
|
||||
<script src="{{ static_url_for('static', url) }}"></script>
|
||||
{% endfor %}
|
||||
<!---->
|
||||
{% block scripts %}{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue