]>
git.proxmox.com Git - pve-manager.git/blob - www/manager6/ceph/Crush.js
1 Ext
.define('PVE.node.CephCrushMap', {
2 extend
: 'Ext.panel.Panel',
3 alias
: ['widget.pveNodeCephCrushMap'],
4 bodyStyle
: 'white-space:pre',
8 stateId
: 'layout-ceph-crush',
13 Proxmox
.Utils
.API2Request({
16 failure: function(response
, opts
) {
17 me
.update(gettext('Error') + " " + response
.htmlStatus
);
18 var msg
= response
.htmlStatus
;
19 PVE
.Utils
.showCephInstallOrMask(me
.ownerCt
, msg
, me
.pveSelNode
.data
.node
,
21 me
.mon(win
, 'cephInstallWindowClosed', function(){
27 success: function(response
, opts
) {
28 var data
= response
.result
.data
;
29 me
.update(Ext
.htmlEncode(data
));
34 initComponent: function() {
37 var nodename
= me
.pveSelNode
.data
.node
;
39 throw "no node name specified";
43 url
: '/nodes/' + nodename
+ '/ceph/crush',
46 activate: function() {