HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/panel/_templates/nb_template.html
{#
Renders Bokeh models into a basic .html file.

:param title: value for ``<title>`` tags
:type title: str

:param plot_resources: typically the output of RESOURCES
:type plot_resources: str

:param plot_script: typically the output of PLOT_SCRIPT
:type plot_script: str

Users can customize the file output by providing their own Jinja2 template
that accepts these same parameters.

#}

{% from macros import embed %}

{% block inner_head %}
  {% block preamble %}{% endblock %}
  {% block resources %}
    {% block js_resources %}
    {% endblock %}
  {% endblock %}
{% endblock %}
{% block postamble %}{% endblock %}
{% block body %}
  {% block inner_body %}
    {% block contents %}
      {% for doc in docs %}
        {{ embed(doc) if doc.elementid }}
        {% for root in doc.roots %}
          {% block root scoped %}
            {{ embed(root) | indent(10) }}
          {% endblock %}
        {% endfor %}
      {% endfor %}
    {% endblock %}
    {{ plot_script | indent(8) }}
  {% endblock %}
{% endblock %}