[pve-devel] r5692 - pve-manager/pve2/www/manager

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Mar 14 07:08:58 CET 2011


Author: dietmar
Date: 2011-03-14 07:08:58 +0100 (Mon, 14 Mar 2011)
New Revision: 5692

Modified:
   pve-manager/pve2/www/manager/PVECache.js
Log:
add uptime field


Modified: pve-manager/pve2/www/manager/PVECache.js
===================================================================
--- pve-manager/pve2/www/manager/PVECache.js	2011-03-14 05:57:13 UTC (rev 5691)
+++ pve-manager/pve2/www/manager/PVECache.js	2011-03-14 06:08:58 UTC (rev 5692)
@@ -12,6 +12,10 @@
 	    });
 	},
 
+
+	// fixme: use a single store instead of three
+	// URl: /api2/json/cluster/index
+
 	nodestore: function(){
 
 	    var fields = PVE.Utils.get_field_defaults(['name', 'storage', 'cpu', 'maxcpu',
@@ -32,7 +36,7 @@
 	vmstore: function(){
 
 	    var fields = PVE.Utils.get_field_defaults(['id', 'name', 'node', 'storage', 'cpu', 'maxcpu',
-						       'mem', 'maxmem', 'disk', 'maxdisk']);
+						       'mem', 'maxmem', 'disk', 'maxdisk', 'uptime']);
 	    var store = new  PVE.data.UpdateStore({
 		itype: 'vm',
 		idProperty: 'id',




More information about the pve-devel mailing list