Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
encyclopedia-gui
Commits
acd9e9b1
Commit
acd9e9b1
authored
Mar 18, 2019
by
Martin Kuban
Committed by
Markus Scheidgen
Apr 08, 2019
Browse files
fixes for info-system
parent
f755a651
Changes
3
Hide whitespace changes
Inline
Side-by-side
client/bundle.js
View file @
acd9e9b1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
client/src/material-mod/Overview.view.js
View file @
acd9e9b1
...
...
@@ -332,8 +332,7 @@ class Overview {
this
.
similarityFinder
.
setSimilarityData
(
data
.
similarity
);
similarityFinderContainer
.
appendChild
(
this
.
similarityFinder
.
element
);
this
.
similartyDataField
=
this
.
element
.
querySelector
(
'
.similarity-data-field
'
);
InfoSys
.
addToInfoSystem
(
this
.
similartyDataField
)
InfoSys
.
addToInfoSystem
(
this
.
similartyDataField
);
}
}
...
...
client/src/material-mod/Similarity.js
View file @
acd9e9b1
...
...
@@ -4,13 +4,12 @@ class SimilarityFinder {
constructor
()
{
this
.
folded
=
true
;
this
.
element
=
document
.
createElement
(
'
div
'
);
this
.
element
=
document
.
createElement
(
'
span
'
);
//this.element.className = className;
this
.
element
.
setAttribute
(
"
info-sys-data
"
,
"
similar-materials
"
)
this
.
element
.
style
=
"
float : right; border: 2px solid #DDD; padding: 2px 2px 0px 3px;
"
this
.
element
.
innerHTML
+=
`
<span style=" vertical-align: 30%;"
info-sys-data="similar-materials"
><b>Similar materials</b></span>
<span style=" vertical-align: 30%;" ><b>Similar materials</b></span>
<img style="cursor: pointer" src="
${
util
.
IMAGE_DIR
}
folded.png" />
<div class="vr-download-panel" style="position: relative; display: none;">
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment