1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-26 10:03:37 +03:00

B #2160: Consistent state naming for VMs (#2162)

This commit is contained in:
Abel Coronado 2018-06-11 10:29:53 +02:00 committed by Ruben S. Montero
parent 8229de0841
commit 3a71bb54af
2 changed files with 4 additions and 4 deletions

View File

@ -29,11 +29,11 @@
</div>
<div class="row">
<div class="card small-12 medium-4 columns">
<h3 class="active_vms fadeinout success-color number-title">0</h3>
<span class="small-12 medium-12 columns label-card">{{tr "ACTIVE"}}</span>
<h3 class="total_vms fadeinout number-title">0</h3>
<span class="small-12 medium-12 columns label-card">{{tr "TOTAL"}}</span>
</div>
<div class="card small-12 medium-4 columns">
<h3 class="pending_vms fadeinout number-title">0</h3>
<h3 class="pending_vms fadeinout warning-color number-title">0</h3>
<span class="small-12 medium-12 columns label-card">{{tr "PENDING"}}</span>
</div>
<div class="card small-12 medium-4 columns">

View File

@ -150,7 +150,7 @@ define(function(require) {
}
function _postUpdateView() {
$(".total_vms").text(this.totalVms);
$(".total_vms").removeClass("fadeinout");
DashboardUtils.counterAnimation(".total_vms", this.totalVms);
$(".active_vms").removeClass("fadeinout");