mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
cloudStack 3.0 new UI - system page - remove obsolete code.
This commit is contained in:
parent
1a1ed8bdf9
commit
c66897e329
@ -907,7 +907,7 @@
|
||||
}
|
||||
});
|
||||
},
|
||||
notification: { //notification in edit action doesn't get picked up (wait until Brian fixes Widget to support async job of Edit action)
|
||||
notification: {
|
||||
poll: pollAsyncJobResult
|
||||
}
|
||||
},
|
||||
@ -4784,58 +4784,7 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
//network devices tab is moved out of pod page at 3.0 UI. It will go to new network page.
|
||||
/*
|
||||
networkDevices: {
|
||||
title: 'Network devices',
|
||||
multiple: true,
|
||||
|
||||
//preFilter won't work until Brian fix Bug #155
|
||||
preFilter: function(args) {
|
||||
var networkDeviceObj = args.context.networkDevices[0];
|
||||
|
||||
var hiddenFields;
|
||||
if(networkDeviceObj.pingstorageserverip == null || networkDeviceObj.pingstorageserverip.length == 0)
|
||||
hiddenFields.push("pingstorageserverip");
|
||||
if(networkDeviceObj.pingdir == null || networkDeviceObj.pingdir.length == 0)
|
||||
hiddenFields.push("pingdir");
|
||||
if(networkDeviceObj.tftpdir == null || networkDeviceObj.tftpdir.length == 0)
|
||||
hiddenFields.push("tftpdir");
|
||||
|
||||
return hiddenFields;
|
||||
},
|
||||
|
||||
|
||||
fields: [
|
||||
{
|
||||
id: { label: 'ID' },
|
||||
url: { label: 'URL' },
|
||||
type: { label: 'Type' },
|
||||
pingstorageserverip: { label: 'PING storage IP' },
|
||||
pingdir: { label: 'PING directory' },
|
||||
tftpdir: { label: 'TFTP directory' }
|
||||
}
|
||||
],
|
||||
dataProvider: function(args) {
|
||||
var array1 = [];
|
||||
array1.push("&networkdeviceparameterlist[0].zoneid=" + args.context.pods[0].zoneid);
|
||||
array1.push("&networkdeviceparameterlist[0].podid=" + args.context.pods[0].id);
|
||||
$.ajax({
|
||||
url: createURL("listNetworkDevice" + array1.join("")),
|
||||
dataType: "json",
|
||||
success: function(json) {
|
||||
var items = json.listnetworkdevice.networkdevice;
|
||||
args.response.success({
|
||||
actionFilter: networkDeviceActionfilter,
|
||||
data: items
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -7335,31 +7284,7 @@
|
||||
poll: function(args) { args.complete(); }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/*
|
||||
detailView: {
|
||||
name: 'Event details',
|
||||
tabs: {
|
||||
details: {
|
||||
title: 'Details',
|
||||
fields: [
|
||||
{
|
||||
id: { label: 'ID' },
|
||||
podname: { label: 'Pod' },
|
||||
vlan: { label: 'VLAN' },
|
||||
startip: { label: 'Start IP' },
|
||||
endip: { label: 'End IP' }
|
||||
}
|
||||
],
|
||||
dataProvider: function(args) {
|
||||
args.response.success({data: args.context.guestIpRanges[0]}); //guestIpRanges should be included in args.context. Wait for Brian to fix it.
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user