diff --git a/PVE/API2Tools.pm b/PVE/API2Tools.pm index f1df2384..7b4c425a 100644 --- a/PVE/API2Tools.pm +++ b/PVE/API2Tools.pm @@ -126,15 +126,6 @@ sub extract_storage_stats { $entry->{maxdisk} = ($d->[1] || 0) + 0; $entry->{disk} = ($d->[2] || 0) + 0; $entry->{status} = 'available'; - if ($entry->{disk} > 0 && $entry->{maxdisk} > 0) { - my $usage = $entry->{disk} / $entry->{maxdisk}; - - if ($usage >= 0.9) { - $entry->{status} = 'full'; - } elsif ($usage >= 0.6) { - $entry->{status} = 'nearfull'; - } - } } return $entry; diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css index 4d0faf3a..cc90d5ba 100644 --- a/www/css/ext6-pve.css +++ b/www/css/ext6-pve.css @@ -171,20 +171,6 @@ font-size: 0.6em; } -/* the warning triangle symbol */ -.x-tree-icon-custom.nearfull:after, -.x-grid-icon-custom.nearfull:after { - content: "\f071"; - color: #CC8E00; -} - -/* the error triangle symbol */ -.x-tree-icon-custom.full:after, -.x-grid-icon-custom.full:after { - content: "\f071"; - color: #CC1800; -} - /* the lxc template */ .x-tree-icon-custom.lxc:after, .x-grid-icon-custom.lxc:after {