[pve-devel] [PATCH manager v3 4/5] use nodedisk panel and remove ceph disks from navigation

Dominik Csapak d.csapak at proxmox.com
Tue Sep 6 16:59:42 CEST 2016


this adds a "disks" entry in the node navigation,
and removes the "disks" entry under ceph

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
changes from v2:
 reword to reflect changes of v2

 www/manager6/node/Config.js | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/www/manager6/node/Config.js b/www/manager6/node/Config.js
index 0592978..8a3e8f4 100644
--- a/www/manager6/node/Config.js
+++ b/www/manager6/node/Config.js
@@ -234,19 +234,19 @@ Ext.define('PVE.node.Config', {
 	if (caps.nodes['Sys.Audit']) {
 	    me.items.push(
 		{
+		    title: gettext('Disks'),
+		    itemId: 'storage',
+		    expandedOnInit: true,
+		    iconCls: 'fa fa-hdd-o',
+		    xtype: 'pveNodeDiskList'
+		},
+		{
 		    title: 'Ceph',
 		    itemId: 'ceph',
 		    iconCls: 'fa fa-ceph',
 		    xtype: 'pveNodeCephStatus'
 		},
 		{
-		    title: gettext('Disks'),
-		    xtype: 'pveNodeCephDiskList',
-		    iconCls: 'fa fa-hdd-o',
-		    itemId: 'disklist',
-		    groups: ['ceph']
-		},
-		{
 		    xtype: 'pveNodeCephConfigCrush',
 		    title: gettext('Config'),
 		    iconCls: 'fa fa-gear',
-- 
2.1.4





More information about the pve-devel mailing list