Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
414fdcea
Commit
414fdcea
authored
Jan 14, 2021
by
Markus Scheidgen
Browse files
Fixed the gui-config to use new app folders.
parent
44ec6189
Changes
1
Hide whitespace changes
Inline
Side-by-side
nomad/cli/admin/admin.py
View file @
414fdcea
...
...
@@ -695,7 +695,7 @@ def gui_config():
import
glob
import
shutil
gui_folder
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'../../app/static/gui'
))
gui_folder
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'../../app/
flask/
static/gui'
))
run_gui_folder
=
os
.
path
.
join
(
gui_folder
,
'../.gui_configured'
)
# copy
...
...
@@ -740,7 +740,7 @@ window.nomadEnv = {
f
.
write
(
file_data
)
gui_folder
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'../../app/static/encyclopedia'
))
os
.
path
.
dirname
(
__file__
),
'../../app/
flask/
static/encyclopedia'
))
# setup the env
conf_js_file
=
os
.
path
.
join
(
gui_folder
,
'conf.js'
)
...
...
Write
Preview
Markdown
is supported
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