Revision 69ba1fcf ui/templates/machines_icon.html

b/ui/templates/machines_icon.html
599 599
                        $("div.terminated").show();
600 600
                    }
601 601
                    existing.find(' .wave').attr('src','static/icons/indicators/medium/wave.gif').show();
602
                    existing.find('.state').removeClass().addClass('state terminated-state');
602
                    if (server.status == "STOPPED") { //if server status us stopped is a different case than status unknown/error
603
                        existing.find('.state').removeClass().addClass('state terminated-state');
604
                    } else {
605
                        existing.find('.state').removeClass().addClass('state error-state');
606
                    }
603 607
                    setTimeout("$('#" + server.id +" .wave').attr('src','').hide()", 3000);
604 608
                }
605 609
                else if (INACTIVE_STATES.indexOf(current_message) >= 0 &&

Also available in: Unified diff