Add query builder template

This commit is contained in:
Patrick Jentsch 2021-01-18 14:45:26 +01:00
parent 6675dfc3c0
commit ea5bace7db
2 changed files with 15 additions and 3 deletions

View File

@ -33,9 +33,11 @@
</a>
</span>
</div>
<div class="col s12 m2 center-align" style="margin-top: 1.75em;">
{{ wtf.render_field(query_form.submit, material_icon='send',
style='width:100%;') }}
<div class="col s12 m1" style="margin-top: 1.75em;">
<a class="waves-effect waves-light btn modal-trigger" href="#query-builder-modal">Query builder</a>
</div>
<div class="col s12 m1" style="margin-top: 1.75em;">
{{ wtf.render_field(query_form.submit, material_icon='send', style='width:100%;') }}
</div>
</div>
</form>
@ -68,6 +70,7 @@
{% include 'corpora/interactions/scroll_to_top.html.j2' %}
<!-- Modals -->
{% include 'modals/query_builder.html.j2' %}
{% include 'modals/show_metadata.html.j2' %}
{% include 'modals/analysis_init.html.j2' %}
{% include 'modals/export_query_results.html.j2' %}

View File

@ -0,0 +1,9 @@
<!-- Modal showing the corpus files for the current query results including title ant match count per corpus file. -->
<div id="query-builder-modal" class="modal">
<div class="col s12 modal-content">
<p>Test</p>
</div>
<div class="col s12 modal-footer">
<a href="#!" class="btn modal-close waves-effect waves-green btn">Done</a>
</div>
</div>