New node initializing icon

This commit is contained in:
Michael Lange
2020-01-31 12:51:22 -08:00
parent ec01c0bdd7
commit 7f60198742
2 changed files with 10 additions and 7 deletions

View File

@@ -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() {

View 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