{% extends "base-template.html" -%} {% block title -%}pyvisjs{% endblock -%} {% block head_scripts -%} {{ super() }} {% if pyvisjs["filtering_enabled"] -%} {% endif %} {% if pyvisjs["dataTables_enabled"] -%} {% endif %} {% endblock -%} {% block head_style %} {{ super() }} html, body { height: 100%; margin: 0; } .container { display: flex; flex-direction: column; height: 100vh; } .row.flex-grow-1 { flex-grow: 1; } {% if pyvisjs["filtering_enabled"] -%} .option { font-weight: normal; } .optgroup { font-weight: bold; } {% endif %} {% if pyvisjs["dataTables_enabled"] -%} .display { font-family: 'JetBrains Mono'; font-size: 12px; } {% endif %} {% endblock %} {% block content -%} {{ super() }}
{% if pyvisjs["filtering_enabled"] -%}
{% include "select-edge-filter.html" -%}
{% endif %}
{% if pyvisjs["dataTables_enabled"] -%}
{% if "left" in tables %}
{% include "data-table-left.html" -%}
{% endif %} {% if "right" in tables %}
{% include "data-table-right.html" -%}
{% endif %}
{% if "bottom" in tables %}
{% include "data-table-bottom.html" -%}
{% endif %} {% endif %}
{% endblock %} {% block javascript %} {{ super() }} {% if pyvisjs["filtering_enabled"] -%} {% include "init_tomSelect.js" %} {% endif %} {% include "draw_title.js" %} {% if pyvisjs["dataTables_enabled"] -%} {% include "init_dataTables.js" %} {% endif %} {% endblock %}