Revision 333d00ff
b/ui/templates/standard.html | ||
---|---|---|
227 | 227 |
// from stopped, on error or starting to building, active or rebooting |
228 | 228 |
// starting is not an api state, it means the vm is stopped or on error |
229 | 229 |
moved = existing.clone().appendTo(".running"); |
230 |
moved.find("img.logo").attr("src","static/machines/" + server_image + '.png'); |
|
230 |
moved.find("img.logo").attr("src","static/machines/" + server_image + '-on.png');
|
|
231 | 231 |
existing.remove(); |
232 | 232 |
existing = moved; |
233 | 233 |
existing.find(".status").text(STATUS_MESSAGES[server.status]); |
... | ... | |
268 | 268 |
// If it does not exist and it's not deleted, we should create it |
269 | 269 |
var machine = $("#machine-template").clone().attr("id", server.id).fadeIn("slow"); |
270 | 270 |
machine.find("a.name span.name").text(server.name); |
271 |
machine.find("img.logo").attr("src","static/machines/"+server_image+'.png'); |
|
271 |
machine.find("img.logo").attr("src","static/machines/"+server_image+'-on.png');
|
|
272 | 272 |
machine.find("span.imagetag").text(server_image); |
273 | 273 |
machine.find("a.ip span.public").text(String(server.addresses.values[0].values[0].addr).replace(',',' ')); |
274 | 274 |
machine.find(".status").text(STATUS_MESSAGES[server.status]); |
Also available in: Unified diff