mirror of https://github.com/apache/cloudstack.git
metrics: add quickview in zones metrics, refactor physicalresource section
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
1b2945f38b
commit
885ebd2778
|
|
@ -32,7 +32,7 @@
|
|||
cloudStack.sections.metrics.zones = {
|
||||
title: 'label.metrics',
|
||||
listView: {
|
||||
id: 'zones',
|
||||
id: 'physicalResources',
|
||||
fields: {
|
||||
name: {
|
||||
label: 'label.metrics.name'
|
||||
|
|
@ -250,7 +250,8 @@
|
|||
browseBy: {
|
||||
filterBy: 'zoneid',
|
||||
resource: 'clusters'
|
||||
}
|
||||
},
|
||||
detailView: cloudStack.sections.system.physicalResourceSection.sections.physicalResources.listView.zones.detailView
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -7622,7 +7622,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
show: cloudStack.uiCustom.physicalResources({
|
||||
physicalResourceSection: {
|
||||
sections: {
|
||||
physicalResources: {
|
||||
type: 'select',
|
||||
|
|
@ -9403,7 +9403,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}),
|
||||
},
|
||||
subsections: {
|
||||
virtualRouters: {
|
||||
sectionSelect: {
|
||||
|
|
@ -19702,7 +19702,10 @@
|
|||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Inject cloudStack infra page
|
||||
cloudStack.sections.system.show = cloudStack.uiCustom.physicalResources(cloudStack.sections.system.physicalResourceSection);
|
||||
|
||||
function addExternalLoadBalancer(args, physicalNetworkObj, apiCmd, apiCmdRes, apiCmdObj) {
|
||||
var array1 =[];
|
||||
array1.push("&physicalnetworkid=" + physicalNetworkObj.id);
|
||||
|
|
|
|||
Loading…
Reference in New Issue