mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
A better loading screen for the topo viz while nodes load
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
<div class="topo-viz {{if (eq this.datacenters.length 1) "is-single-column"}}" {{did-insert (perform this.buildTopology)}} {{did-insert this.captureElement}}>
|
||||
<div class="topo-viz {{if (or this.buildTopology.isRunning (eq this.datacenters.length 1)) "is-single-column"}}" {{did-insert (perform this.buildTopology)}} {{did-insert this.captureElement}}>
|
||||
{{#if this.buildTopology.isRunning}}
|
||||
<div class="has-text-centered"><LoadingSpinner /></div>
|
||||
<div class="has-text-centered">
|
||||
<h2 class="title">Loading. If you have a lot of clients this may take awhile</h2>
|
||||
<p>Every client needs to be loaded individually. This is a shortcoming of the prototype and will be fixed before this is graduated to the actual Nomad project.</p>
|
||||
<LoadingSpinner />
|
||||
</div>
|
||||
{{else}}
|
||||
{{#each this.topology.datacenters as |dc|}}
|
||||
<TopoViz::Datacenter
|
||||
|
||||
Reference in New Issue
Block a user