commit cb748f1f07d87a3b1e13c2d55939eb396266dc74 Author: Kostas Papadimitriou Date: Mon Jul 11 14:23:48 2011 +0300 Hide wave icon if vm is getting destroyed diff --git a/ui/templates/machines_single.html b/ui/templates/machines_single.html index d69d394..729fd12 100644 --- a/ui/templates/machines_single.html +++ b/ui/templates/machines_single.html @@ -614,6 +614,8 @@ function update_machines_view(data){ $('#machinesview-single.single div.#' + server.id + ' div.action-reboot').hide(); $('#machinesview-single.single div.#' + server.id + ' div.action-shutdown').hide(); } + + //show the first machine and select it in the widget $('.single-container:eq(1)').show(); $('.single .column3').find('.server-name:eq(1)').addClass('column3-selected'); @@ -634,6 +636,7 @@ function update_machines_view(data){ existing.find(".column1 .state-label").text(TRANSITIONS['Destroying']); existing.find(".column1 .state").removeClass().addClass('state destroying-state'); existing.find(".column1 .state .spinner").show(); + existing.find(".column1 .wave").hide(); } } });