mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-12 18:01:29 +02:00
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
@ -3,7 +3,11 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
{% for url in INCLUDED_CSS %}
|
{% 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 %}
|
{% endfor %}
|
||||||
<style>
|
<style>
|
||||||
@page {
|
@page {
|
||||||
@ -34,7 +38,7 @@
|
|||||||
</q-layout>
|
</q-layout>
|
||||||
|
|
||||||
{% for url in INCLUDED_JS %}
|
{% for url in INCLUDED_JS %}
|
||||||
<script src="{{ url }}"></script>
|
<script src="{{ static_url_for('static', url) }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<!---->
|
<!---->
|
||||||
{% block scripts %}{% endblock %}
|
{% block scripts %}{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user