Revision ab5282e4 ui/templates/standard.html
b/ui/templates/standard.html | ||
---|---|---|
80 | 80 |
} |
81 | 81 |
|
82 | 82 |
if (existing.length){ |
83 |
$("div.machine:last-child").find("div.separator").show(); |
|
84 |
|
|
83 | 85 |
// If the machine already exists in the DOM then simply update or delete it |
84 | 86 |
if (server.deleted == true) { |
85 | 87 |
existing.remove(); |
... | ... | |
120 | 122 |
machine.find("span.imagetag").text(image_tags[server.imageRef]); |
121 | 123 |
machine.find("a.ip span.public").text(String(server.addresses.public.ip.addr).replace(',',' ')); |
122 | 124 |
machine.find(".status").text(STATUS_MESSAGES[server.status]); |
123 |
|
|
124 | 125 |
if (['BUILD', 'ACTIVE', 'REBOOT'].indexOf(server.status) >= 0){ |
125 | 126 |
machine.appendTo(".running"); |
126 | 127 |
} else { |
Also available in: Unified diff