mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
24 lines
534 B
Plaintext
24 lines
534 B
Plaintext
|
{% extends "base.html.j2" %}
|
||
|
|
||
|
{% block page_content %}
|
||
|
<div class="container">
|
||
|
<h1 id="title">{{ title }}</h1>
|
||
|
|
||
|
<div class="card">
|
||
|
<div class="card-content">
|
||
|
<div class="corpus-list no-autoinit" id="corpus-list"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock page_content %}
|
||
|
|
||
|
{% block scripts %}
|
||
|
{{ super() }}
|
||
|
<script>
|
||
|
let corpusListElement = document.querySelector('#corpus-list');
|
||
|
let corpusList = new CorpusList(corpusListElement);
|
||
|
corpusList.add({{ corpora|tojson }});
|
||
|
</script>
|
||
|
{% endblock scripts %}
|