Revision 66edd851 ui/templates/machines.html
b/ui/templates/machines.html | ||
---|---|---|
362 | 362 |
$('#' + serverID + ' .status').text('Shutting down'); |
363 | 363 |
} else if (action[0] == start) { |
364 | 364 |
$('#' + serverID + ' .status').text('Starting'); |
365 |
} else if (action[0] == reboot) { |
|
366 |
$('#' + serverID + ' .status').text('Rebooting'); |
|
367 |
} else if (action[0] == destroy) { |
|
368 |
$('#' + serverID + ' .status').text('Destroying'); |
|
365 | 369 |
} |
366 | 370 |
$('#' + serverID + ' .spinner').show(); |
367 | 371 |
} else { // list view |
... | ... | |
372 | 376 |
$('#' + serverID).parent().parent().find('span.status').text('Shutting down'); |
373 | 377 |
} else if (action[0] == start) { |
374 | 378 |
$('#' + serverID).parent().parent().find('span.status').text('Starting'); |
379 |
} else if (action[0] == reboot) { |
|
380 |
$('#' + serverID).parent().parent().find('span.status').text('Rebooting'); |
|
381 |
} else if (action[0] == destroy) { |
|
382 |
$('#' + serverID).parent().parent().find('span.status').text('Destroying'); |
|
375 | 383 |
} |
376 | 384 |
} |
377 | 385 |
action[0]([serverID]); // execute action |
Also available in: Unified diff