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

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


this makes ceph a subentry of storage, which is
now the disk panel, and remove the ceph disk panel
from the navigation

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 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