UI: Add exec loading template (#7566)
This closes #7460. Before this, there was an incongruous flash of the non-exec UI during loading.
This commit is contained in:
parent
61164b856e
commit
d70c3fbb3e
|
@ -21,6 +21,13 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.loading {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: black;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.task-group-tree {
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{{title "Exec"}}
|
||||
<nav class="navbar is-popup">
|
||||
<div class="navbar-brand">
|
||||
<div class="navbar-item is-logo">
|
||||
{{partial "partials/nomad-logo"}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="navbar-end">
|
||||
<a href="https://nomadproject.io/docs" target="_blank" rel="noopener" class="navbar-item">Documentation</a>
|
||||
{{x-icon "lock-closed"}}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="tree-and-terminal loading">
|
||||
{{partial "partials/loading-spinner"}}
|
||||
</div>
|
|
@ -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 --}}
|
||||
<nav class="navbar is-popup">
|
||||
<div class="navbar-brand">
|
||||
<div class="navbar-item is-logo">
|
||||
|
|
Loading…
Reference in New Issue