diff --git a/ui/app/styles/components/exec.scss b/ui/app/styles/components/exec.scss index a5526f05d..83ba9bcaa 100644 --- a/ui/app/styles/components/exec.scss +++ b/ui/app/styles/components/exec.scss @@ -21,6 +21,13 @@ } } } + + &.loading { + justify-content: center; + align-items: center; + background: black; + height: 100%; + } } .task-group-tree { diff --git a/ui/app/templates/exec-loading.hbs b/ui/app/templates/exec-loading.hbs new file mode 100644 index 000000000..9d3d0db9f --- /dev/null +++ b/ui/app/templates/exec-loading.hbs @@ -0,0 +1,17 @@ +{{title "Exec"}} + + +
+ {{partial "partials/loading-spinner"}} +
\ No newline at end of file diff --git a/ui/app/templates/exec.hbs b/ui/app/templates/exec.hbs index 9e5ade080..d08a9493c 100644 --- a/ui/app/templates/exec.hbs +++ b/ui/app/templates/exec.hbs @@ -1,6 +1,4 @@ {{title "Exec"}} -{{!-- the application shows briefly in the background, shouldn’t render at all 😳 --}} -{{!-- issue to fix: https://github.com/hashicorp/nomad/issues/7460 --}}