Skip to content
GitLab
Menu
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
659935a4
Commit
659935a4
authored
Nov 04, 2020
by
Lauri Himanen
Browse files
Removed virtual reality file download.
parent
8ca8b534
Changes
3
Hide whitespace changes
Inline
Side-by-side
client/bundle.js
View file @
659935a4
This source diff could not be displayed because it is too large. You can
view the blob
instead.
client/conf.js
View file @
659935a4
...
...
@@ -2,8 +2,8 @@ window.nomadEnv = {
//apiRoot: "https://labdev-nomad.esc.rzg.mpg.de/dev/nomad/encyclopedia-api/",
//guiRoot: "https://labdev-nomad.esc.rzg.mpg.de/dev/nomad/encyclopedia-api/",
//userCookieDomain: ".esc.rzg.mpg.de",
apiRoot
:
"
https://nomad-lab.eu/prod/rae/
beta/
api/encyclopedia/
"
,
guiRoot
:
"
https://nomad-lab.eu/prod/rae/
beta/
encyclopedia/
"
,
apiRoot
:
"
https://nomad-lab.eu/prod/rae/api/encyclopedia/
"
,
guiRoot
:
"
https://nomad-lab.eu/prod/rae/encyclopedia/
"
,
userCookieDomain
:
"
.nomad-lab.eu
"
,
//guiRoot: "http://localhost:3000/gui/",
//apiRoot: "http://localhost:8000/fairdi/nomad/latest/api/encyclopedia/",
...
...
client/src/material-mod/MaterialMod.js
View file @
659935a4
...
...
@@ -297,9 +297,9 @@ class StructureViewerWrapper {
this
.
labelsContainer
=
this
.
hostElement
.
querySelector
(
'
.element-labels
'
);
this
.
vrLinksContainer
=
this
.
footerElement
.
querySelector
(
'
.vr-download
'
);
this
.
vrDropDown
=
new
DropDown
();
this
.
vrLinksContainer
.
appendChild
(
this
.
vrDropDown
.
element
);
//
this.vrLinksContainer = this.footerElement.querySelector('.vr-download');
//
this.vrDropDown = new DropDown();
//
this.vrLinksContainer.appendChild(this.vrDropDown.element);
let
resetButton
=
this
.
hostElement
.
querySelector
(
'
.view-reset
'
);
resetButton
.
addEventListener
(
'
click
'
,
e
=>
this
.
viewer
.
controls
.
reset
()
);
...
...
@@ -323,7 +323,7 @@ class StructureViewerWrapper {
}
setMaterialId
(
id
){
this
.
vrDropDown
.
setMaterialId
(
id
);
//
this.vrDropDown.setMaterialId(id);
}
changeHostElement
(
hostElement
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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