{% extends "base.html.j2" %} {% import "materialize/wtf.html.j2" as wtf %} {% import 'corpora/_analysis/concordance.html.j2' as concordance_extension %} {% import 'corpora/_analysis/reader.html.j2' as reader_extension %} {% import 'corpora/_analysis/static_visualization.html.j2' as static_visualization_extension %} {% set extensions = { 'concordance-extension': concordance_extension, 'reader-extension': reader_extension, 'static-visualizations-extension': static_visualization_extension } %} {% block main_attribs %} class="service-scheme" data-service="corpus-analysis" id="corpus-analysis-app-container"{% endblock main_attribs %} {% block page_content %}

{{ title }}

{% for id, extension in extensions.items() if extension.name != 'Static Visualization (beta)' %}
{{ extension.name }}

{{ extension.description }}

{% endfor %}
{{ static_visualization_extension.container_content }}
{% for id, extension in extensions.items() if extension.name != 'Static Visualization (beta)' %}
{{ extension.container_content(id) }}
{% endfor %} {% endblock page_content %} {% block modals %} {{ super() }} {% for id, extension in extensions.items() %} {{ extension.modals(id) }} {% endfor %} {% endblock modals %} {% block scripts %} {{ super() }} {% for id, extension in extensions.items() %} {{ extension.scripts(id) }} {% endfor %} {% endblock scripts %}