mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 02:24:20 +00:00
fix id issues
This commit is contained in:
parent
bf0213edbc
commit
2951fc6966
@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
{# The extension container content #}
|
||||
{% macro container_content(id_prefix) %}
|
||||
{% macro container_content() %}
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
<h4><i class="material-icons left">query_stats</i>{{ name }}</h4>
|
||||
@ -124,7 +124,7 @@
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro modals(id_prefix) %}
|
||||
{% macro modals() %}
|
||||
<div class="modal modal-fixed-footer" id="frequencies-stopwords-setting-modal">
|
||||
<div class="modal-content">
|
||||
<h4>Settings</h4>
|
||||
@ -156,9 +156,9 @@
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro scripts(id_prefix) %}
|
||||
{% macro scripts() %}
|
||||
<script>
|
||||
const corpusAnalysisStaticVisualization = new CorpusAnalysisStaticVisualization(corpusAnalysisApp, "{{ id_prefix }}");
|
||||
const corpusAnalysisStaticVisualization = new CorpusAnalysisStaticVisualization(corpusAnalysisApp);
|
||||
</script>
|
||||
{% endmacro %}
|
||||
|
@ -47,11 +47,13 @@
|
||||
</div>
|
||||
|
||||
|
||||
{% for extension in extensions if extension.name != 'Static Visualization (beta)' %}
|
||||
<div id="corpus-analysis-concordance-container">
|
||||
{{ extension.container_content() }}
|
||||
{{ concordance_extension.container_content() }}
|
||||
</div>
|
||||
|
||||
<div id="corpus-analysis-reader-container">
|
||||
{{ reader_extension.container_content() }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock page_content %}
|
||||
|
||||
{% block modals %}
|
||||
|
Loading…
Reference in New Issue
Block a user