nopaque/web/app/templates/modals/context_modal.html.j2

76 lines
2.9 KiB
Plaintext
Raw Normal View History

2020-07-21 11:40:17 +00:00
<!-- Modal showing detailed context info for one match. -->
2020-09-08 13:56:02 +00:00
<div id="context-modal" class="modal">
2020-07-21 11:40:17 +00:00
<div class="modal-content">
<form>
<div class="row" style="margin-bottom: 0px; margin-top: -20px;">
<div class="col s12 m6 l6">
<div class="section">
<h6 style="margin-top: 0px;">Display</h6>
<div class="divider" style="margin-bottom: 10px;"></div>
2020-09-07 14:30:47 +00:00
<div class="col s12" style="margin-bottom: 10px;">
2020-07-21 11:40:17 +00:00
{{ inspect_display_options_form.expert_mode_inspect.label.text }}
<div class="switch right">
<label>
{{ inspect_display_options_form.expert_mode_inspect() }}
<span class="lever"></span>
</label>
</div>
</div>
2020-09-07 14:30:47 +00:00
<div class="col s12" style="margin-bottom: 10px;">
2020-07-21 11:40:17 +00:00
{{ inspect_display_options_form.highlight_sentences.label.text }}
<div class="switch right">
<label>
{{ inspect_display_options_form.highlight_sentences() }}
<span class="lever"></span>
</label>
</div>
</div>
<div class="col s12" style="margin-bottom: 10px;">
Sentences around match
<div class="input-field right" style="margin-top: -2rem;
margin-bottom: -2rem;
height: 0px;">
<p class="range-field">
<input type="range"
id="context-sentences"
min="1"
max="10"
value="3" />
</p>
</div>
</div>
</div>
</div>
<div class="col s12 m6 l6">
<div class="section">
<h6 style="margin-top: 0px;">Create</h6>
<div class="divider" style="margin-bottom: 10px;"></div>
<div class="col s12">
Add to Sub Results
2020-09-07 14:30:47 +00:00
<div class="secondary-content right" id="create-inspect-menu">
{# The needed button is created and added via javascript #}
2020-07-21 11:40:17 +00:00
</div>
</div>
</div>
</div>
</div>
</form>
<div class="row section">
<h5 style="margin-top: 0px;">Context for match:
<span id="context-match-nr"></span></h5>
<div class="divider" style="margin-bottom: 10px;"></div>
<div class="col s12" >
<div id="context-results">
</div>
</div>
</div>
</div>
<div class="modal-footer">
2020-09-08 12:14:52 +00:00
<a id="inspect-results-export" class="left waves-effect waves-light btn">
2020-07-21 11:40:17 +00:00
Export Single Context
<i class="material-icons right">file_download</i>
</a>
<a href="#!" class="modal-close waves-effect waves-light red btn">Close</a>
</div>
</div>