mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
New node initializing icon
This commit is contained in:
@@ -92,18 +92,14 @@ export default Model.extend({
|
||||
}),
|
||||
|
||||
compositeStatusIcon: computed('isDraining', 'isEligible', 'status', function() {
|
||||
// ineligible = exclamation point
|
||||
// ready = checkmark
|
||||
// down = x
|
||||
// initializing = exclamation???
|
||||
if (this.isDraining || !this.isEligible) {
|
||||
return 'alert-circle-fill';
|
||||
} else if (this.status === 'down') {
|
||||
return 'cancel-plain';
|
||||
return 'cancel-circle-fill';
|
||||
} else if (this.status === 'initializing') {
|
||||
return 'run';
|
||||
return 'node-init-circle-fill';
|
||||
}
|
||||
return 'check-plain';
|
||||
return 'check-circle-fill';
|
||||
}),
|
||||
|
||||
setEligible() {
|
||||
|
||||
7
ui/public/images/icons/node-init-circle-fill.svg
Normal file
7
ui/public/images/icons/node-init-circle-fill.svg
Normal file
@@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<g fill="none" fill-rule="evenodd">
|
||||
<circle cx="10" cy="10" r="10" fill="currentColor" transform="translate(2 2)"/>
|
||||
<path fill="#FFF" d="M18 13v4H6v-4h12zM8 14a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>
|
||||
<path class="blinking" fill="#FFF" d="M18 7v4H6V7h12zM8 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" opacity=".502"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 409 B |
Reference in New Issue
Block a user