119 |
vm.find('.cpu_graph').show(); |
vm.find('.cpu_graph').show(); |
120 |
vm.find('.cpu_graph').attr('src', 'usagebar.php?usage=' + cpuavg); |
vm.find('.cpu_graph').attr('src', 'usagebar.php?usage=' + cpuavg); |
121 |
vm.find('.cpu_graph').attr('title', cpuavg + '%'); |
vm.find('.cpu_graph').attr('title', cpuavg + '%'); |
122 |
|
vm.find('.mem_graph').show(); |
123 |
} else { |
} else { |
124 |
if (state == "Halted") { |
if (state == "Halted") { |
125 |
vm.find('.state').css("background-image", "url('gfx/vps_topred.png')"); |
vm.find('.state').css("background-image", "url('gfx/vps_topred.png')"); |