Skip to content

Commit

Permalink
Fix IPyWidgets rendering in BootstrapTemplate (#6100)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Dec 20, 2023
1 parent afc9e7f commit 290ff7a
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions panel/template/bootstrap/bootstrap.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,16 @@
{%- if manifest %}
<link rel="manifest" href="{{ manifest_url }}">
{% endif -%}
<!-- Template JS -->
{% for src in template_resources['js'].values() %}
<script src="{{ src }}"></script>
{% endfor %}
{% for src in template_resources['js_modules'].values() %}
<script src="{{ src }}" type="module"></script>
{% endfor %}
{% endblock %}

{% block postamble %}

<!-- Template CSS -->
{% for css in template_resources['css'].values() %}
<link rel="stylesheet" href="{{ css }}">
Expand Down Expand Up @@ -64,13 +70,6 @@
}
</style>

<!-- Template JS -->
{% for src in template_resources['js'].values() %}
<script src="{{ src }}"></script>
{% endfor %}
{% for src in template_resources['js_modules'].values() %}
<script src="{{ src }}" type="module"></script>
{% endfor %}
{% endblock %}

<!-- goes in body -->
Expand Down

0 comments on commit 290ff7a

Please sign in to comment.