Some visual stuff

This commit is contained in:
Stephan Porada 2020-04-21 10:31:34 +02:00
parent 78f93a884b
commit ddc7859002

View File

@ -183,54 +183,63 @@
<!-- Context modal used for detailed information about one match --> <!-- Context modal used for detailed information about one match -->
<div id="context-modal" class="modal modal-fixed-footer"> <div id="context-modal" class="modal modal-fixed-footer">
<div class="modal-content"> <div class="modal-content">
<h4>Match context</h4> <h4>Match Inspect</h4>
<div class="divider"></div> <div id="inspect-display-options">
<div class="section" id="inspect-display-options">
<form> <form>
<h5>Display options</h5>
<div class="row"> <div class="row">
<div class="col s9"> <ul class="collection with-header">
<p>{{ inspect_display_options_form.expert_mode_inspect.label.text }}</p> <li class="collection-header"><h5>Display options</h5></li>
</div> <li class="collection-item">
<div class="col s3 right-align"> {{ inspect_display_options_form.expert_mode_inspect.label.text }}
<div class="switch"> <div class="secondary-content">
<label> <div class="switch">
{{ inspect_display_options_form.expert_mode_inspect() }} <label>
<span class="lever"></span> {{ inspect_display_options_form.expert_mode_inspect() }}
</label> <span class="lever"></span>
</label>
</div>
</div> </div>
</div> </li>
<div class="col s9"> <li class="collection-item">
<p>{{ inspect_display_options_form.highlight_sentences.label.text }}</p> {{ inspect_display_options_form.highlight_sentences.label.text }}
</div> <div class="secondary-content">
<div class="col s3 right-align"> <div class="switch">
<div class="switch"> <label>
<label> {{ inspect_display_options_form.highlight_sentences() }}
{{ inspect_display_options_form.highlight_sentences() }} <span class="lever"></span>
<span class="lever"></span> </label>
</label> </div>
</div> </div>
</div> </li>
<div class="col s6"> <li class="collection-item">
<p>Nr. of sentences around the match</p> Sentences around match
</div> <div class="secondary-content"
<div class="col s6 right-align"> style="margin-top: -35px;
<div class="input-field"> border-top-width: 0px;
<p class="range-field"> margin-bottom: -20px;">
<input type="range" id="context-sentences" <div class="input-field">
min="1" <p class="range-field">
max="10" <input type="range"
value="3" /> id="context-sentences"
</p> style="margin-top: 20px;
margin-bottom: 10px;"
min="1"
max="10"
value="3" />
</p>
</div>
</div> </div>
</div> </li>
</ul>
</div> </div>
</form> </form>
</div> </div>
<div class="divider"></div> <div>
<div class="section">
<h5>Context</h5> <h5>Context</h5>
<div class="row" id="context-results" style="overflow-wrap: break-word;"></div> <div class="row">
<div class="clo s12" id="context-results" style="overflow-wrap: break-word;">
</div>
</div>
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">