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