Revision 1df63521 ui/templates/machines_single.html
b/ui/templates/machines_single.html | ||
---|---|---|
519 | 519 |
existing.find(".column1 .state").removeClass().addClass("state running-state"); |
520 | 520 |
setTimeout("$('#" + server.id +" .wave').attr('src','').hide()", 3000); |
521 | 521 |
} |
522 |
else { |
|
522 |
else if (STATUSES[server.status] == "Rebooting") { |
|
523 |
// from running to rebooting |
|
524 |
log_server_status_change(existing, server.status); |
|
525 |
existing.find(".column1 .state").removeClass().addClass('state rebooting-state'); |
|
526 |
existing.find('.column1 .state .spinner').show(); |
|
527 |
existing.find(".column1 .state-label").text(STATUSES[server.status]); |
|
528 |
} else { |
|
523 | 529 |
// in any other case just change the status and ignore spinners/waves |
524 | 530 |
existing.find(".column1 .state-label").text(STATUSES[server.status]); |
525 | 531 |
} |
Also available in: Unified diff