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
afc28d91
Commit
afc28d91
authored
Nov 15, 2018
by
Markus Scheidgen
Browse files
Changed VR to RV.
parent
1532717a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
client/bundle-es5.js
View file @
afc28d91
This diff is collapsed.
Click to expand it.
client/bundle.js
View file @
afc28d91
...
...
@@ -153,11 +153,11 @@ if (document.location.href.indexOf('nomad-coe.eu') > 0){//
path
=
'
api/v1.0/
'
;
}
// Case 3: testing-staging environment and local installations (docker containers) of full Encyclopedia stack
//
else if (document.location.href.indexOf('gui') > 0){
//
API_HOST= '/'; // USER_COOKIE_DOMAIN = 'localhost' and path = 'v1.0/';
//
if (document.location.href.indexOf('staging') > 0) // testing-staging server
//
USER_COOKIE_DOMAIN = '.mpg.de';
//
}
else
if
(
document
.
location
.
href
.
indexOf
(
'
gui
'
)
>
0
){
API_HOST
=
'
/
'
;
// USER_COOKIE_DOMAIN = 'localhost' and path = 'v1.0/';
if
(
document
.
location
.
href
.
indexOf
(
'
staging
'
)
>
0
)
// testing-staging server
USER_COOKIE_DOMAIN
=
'
.mpg.de
'
;
}
let
API_BASE_URL
=
API_HOST
+
path
;
//console.log('API host: ',API_HOST,' USER_COOKIE_DOMAIN: ',USER_COOKIE_DOMAIN);
...
...
@@ -6929,7 +6929,7 @@ class MethodologyDetails extends DetailsViewBase {
</th>
<th style="width: 8%;">
<span info-sys-data="basis-set-type">
V
R</span>
<span info-sys-data="basis-set-type">R
V
</span>
</th>
</tr>
...
...
client/src/common/util.js
View file @
afc28d91
...
...
@@ -83,11 +83,11 @@ if (document.location.href.indexOf('nomad-coe.eu') > 0){//
path
=
'
api/v1.0/
'
;
}
// Case 3: testing-staging environment and local installations (docker containers) of full Encyclopedia stack
//
else if (document.location.href.indexOf('gui') > 0){
//
API_HOST= '/'; // USER_COOKIE_DOMAIN = 'localhost' and path = 'v1.0/';
//
if (document.location.href.indexOf('staging') > 0) // testing-staging server
//
USER_COOKIE_DOMAIN = '.mpg.de';
//
}
else
if
(
document
.
location
.
href
.
indexOf
(
'
gui
'
)
>
0
){
API_HOST
=
'
/
'
;
// USER_COOKIE_DOMAIN = 'localhost' and path = 'v1.0/';
if
(
document
.
location
.
href
.
indexOf
(
'
staging
'
)
>
0
)
// testing-staging server
USER_COOKIE_DOMAIN
=
'
.mpg.de
'
;
}
let
API_BASE_URL
=
API_HOST
+
path
;
//console.log('API host: ',API_HOST,' USER_COOKIE_DOMAIN: ',USER_COOKIE_DOMAIN);
...
...
client/src/material-mod/MethodologyDetails.view.js
View file @
afc28d91
...
...
@@ -259,7 +259,7 @@ class MethodologyDetails extends DetailsViewBase {
</th>
<th style="width: 8%;">
<span info-sys-data="basis-set-type">
V
R</span>
<span info-sys-data="basis-set-type">R
V
</span>
</th>
</tr>
...
...
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