links to the cluster wide dashboard
also link the datacenter dashboard to this instead of a random node
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
iconCls: 'fa fa-server',
itemId: 'cluster'
},
+ {
+ title: 'Ceph',
+ itemId: 'ceph',
+ iconCls: 'fa fa-ceph',
+ xtype: 'pveNodeCephStatus'
+ },
{
xtype: 'pveDcOptionView',
title: gettext('Options'),
listeners: {
element: 'el',
click: function() {
- var me = this.component.up('pveDcHealth');
var sp = Ext.state.Manager.getProvider();
-
- // preselect the ceph tab
- sp.set('nodetab', {value:'ceph'});
-
- // select the node that had the successfull api call
- var id = me.nodeList[me.nodeIndex].id;
- Ext.ComponentQuery.query('pveResourceTree')[0].selectById(id);
+ sp.set('dctab', {value:'ceph'}, true);
}
}
}