mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-01-18 22:00:35 +00:00
Cosmetics III
This commit is contained in:
parent
9f341b90b9
commit
5764e918f5
@ -740,8 +740,8 @@ class ResultsList extends List {
|
|||||||
);
|
);
|
||||||
addToSubResultsBtn.innerHTML = '<i class="material-icons">add</i>';
|
addToSubResultsBtn.innerHTML = '<i class="material-icons">add</i>';
|
||||||
addToSubResultsBtn.onclick = (event) => {this.addToSubResults(values.index)}
|
addToSubResultsBtn.onclick = (event) => {this.addToSubResults(values.index)}
|
||||||
aCellElement.appendChild(addToSubResultsBtn);
|
|
||||||
aCellElement.appendChild(inspectBtn);
|
aCellElement.appendChild(inspectBtn);
|
||||||
|
aCellElement.appendChild(addToSubResultsBtn);
|
||||||
// add text titles at front as first td of one row
|
// add text titles at front as first td of one row
|
||||||
textTitlesCellElement.innerText = [...textTitles].join(", ");
|
textTitlesCellElement.innerText = [...textTitles].join(", ");
|
||||||
matchRowElement.insertAdjacentHTML("afterbegin", textTitlesCellElement.outerHTML);
|
matchRowElement.insertAdjacentHTML("afterbegin", textTitlesCellElement.outerHTML);
|
||||||
|
@ -273,47 +273,33 @@
|
|||||||
<!-- 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 Inspect</h4>
|
<form>
|
||||||
<div id="inspect-display-options">
|
<div class="row" style="margin-bottom: 0px; margin-top: -20px;">
|
||||||
<form>
|
<div class="col s12 m6 l6">
|
||||||
<table class="collection with-header">
|
<div class="section">
|
||||||
<tr>
|
<h6 style="margin-top: 0px;">Display</h6>
|
||||||
<th style="width: 75%">Options</th>
|
<div class="divider" style="margin-bottom: 10px;"></div>
|
||||||
<th style="width: 25%"> </th>
|
<div class="col s12" style="margin-bottom: 10px;" id="display-inspect">
|
||||||
</tr>
|
{{ inspect_display_options_form.expert_mode_inspect.label.text }}
|
||||||
|
<div class="switch right">
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
{{ inspect_display_options_form.expert_mode_inspect.label.text }}
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<div class="switch right-align">
|
|
||||||
<label>
|
<label>
|
||||||
{{ inspect_display_options_form.expert_mode_inspect() }}
|
{{ inspect_display_options_form.expert_mode_inspect() }}
|
||||||
<span class="lever"></span>
|
<span class="lever"></span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
<div class="col s12" style="margin-bottom: 10px;" id="create-inspect">
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
{{ inspect_display_options_form.highlight_sentences.label.text }}
|
{{ inspect_display_options_form.highlight_sentences.label.text }}
|
||||||
</td>
|
<div class="switch right">
|
||||||
<td>
|
|
||||||
<div class="switch right align">
|
|
||||||
<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>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
<div class="col s12" style="margin-bottom: 10px;">
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
Sentences around match
|
Sentences around match
|
||||||
</td>
|
<div class="input-field right" style="margin-top: -2rem;margin-bottom: -2rem;">
|
||||||
<td>
|
|
||||||
<div class="input-field">
|
|
||||||
<p class="range-field">
|
<p class="range-field">
|
||||||
<input type="range"
|
<input type="range"
|
||||||
id="context-sentences"
|
id="context-sentences"
|
||||||
@ -322,23 +308,28 @@
|
|||||||
value="3" />
|
value="3" />
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
</div>
|
||||||
<tr>
|
</div>
|
||||||
<td>
|
<div class="col s12 m6 l6">
|
||||||
Add to Sub Results
|
<div class="section">
|
||||||
</td>
|
<h6 style="margin-top: 0px;">Create</h6>
|
||||||
<td>
|
<div class="divider" style="margin-bottom: 10px;"></div>
|
||||||
<div class="secondary-content" id="add-to-sub-results-from-inspect">
|
<div class="col s12">
|
||||||
|
Add to Sub Results
|
||||||
|
<div class="secondary-content right" id="add-to-sub-results-from-inspect">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
</div>
|
||||||
</table>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
</div>
|
</form>
|
||||||
<div class="col s12" >
|
<div class="row section">
|
||||||
<h5>Context</h5>
|
<h5 style="margin-top: 0px;">Context</h5>
|
||||||
<div id="context-results">
|
<div class="divider" style="margin-bottom: 10px;"></div>
|
||||||
|
<div class="col s12" >
|
||||||
|
<div id="context-results">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user