From: Thomas Lamprecht Date: Wed, 23 Sep 2015 15:54:45 +0000 (+0200) Subject: format cpu load value better X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=c1e31053699c7f90fde56e52af27c9d33162d090;p=pve-manager.git format cpu load value better Signed-off-by: Thomas Lamprecht --- diff --git a/www/mobile/NodeSummary.js b/www/mobile/NodeSummary.js index 94de3c9a..4405b743 100644 --- a/www/mobile/NodeSummary.js +++ b/www/mobile/NodeSummary.js @@ -84,13 +84,13 @@ Ext.define('PVE.NodeSummary', { if (!values.uptime) { return '-'; } - return PVE.Utils.format_size(values.mem) + return PVE.Utils.format_size(values.mem); }, cpuinfo: function(values) { if (!values.uptime) { return '-'; } - return (values.cpu*100).toFixed(1); + return (values.cpu*100).toFixed(1) + '%'; } } ]