Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nopaque
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
Show more breadcrumbs
SFB 1288 - INF
nopaque
Commits
5764e918
Commit
5764e918
authored
4 years ago
by
Stephan Porada
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetics III
parent
9f341b90
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
web/app/static/js/nopaque.lists.js
+1
-1
1 addition, 1 deletion
web/app/static/js/nopaque.lists.js
web/app/templates/corpora/analyse_corpus.html.j2
+36
-45
36 additions, 45 deletions
web/app/templates/corpora/analyse_corpus.html.j2
with
37 additions
and
46 deletions
web/app/static/js/nopaque.lists.js
+
1
−
1
View file @
5764e918
...
@@ -740,8 +740,8 @@ class ResultsList extends List {
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
web/app/templates/corpora/analyse_corpus.html.j2
+
36
−
45
View file @
5764e918
...
@@ -273,47 +273,33 @@
...
@@ -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 @@
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment