mirror of https://github.com/apache/cloudstack.git
Merge branch 'master' into ui-add-remove-nics
This commit is contained in:
commit
eab667f266
|
|
@ -2514,6 +2514,10 @@ div.detail-group.actions td {
|
|||
background-position: -73px -23px;
|
||||
}
|
||||
|
||||
#navigation ul li.affinityGroups span.icon {
|
||||
background-position: -73px -87px;
|
||||
}
|
||||
|
||||
#navigation ul li.storage span.icon {
|
||||
background-position: -127px -23px;
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
|
|
@ -246,13 +246,19 @@
|
|||
},
|
||||
|
||||
hostCount: function(data) {
|
||||
var data2= {
|
||||
type: 'routing',
|
||||
page: 1,
|
||||
pagesize: 1 //specifying pagesize as 1 because we don't need any embedded objects to be returned here. The only thing we need from API response is "count" property.
|
||||
};
|
||||
if(cloudStack.context.zoneType != null && cloudStack.context.zoneType.length > 0) { //Basic type or Advanced type
|
||||
$.extend(data2, {
|
||||
zonetype: cloudStack.context.zoneType
|
||||
});
|
||||
}
|
||||
$.ajax({
|
||||
url: createURL('listHosts'),
|
||||
data: {
|
||||
type: 'routing',
|
||||
page: 1,
|
||||
pagesize: 1 //specifying pagesize as 1 because we don't need any embedded objects to be returned here. The only thing we need from API response is "count" property.
|
||||
},
|
||||
data: data2,
|
||||
success: function(json) {
|
||||
dataFns.primaryStorageCount($.extend(data, {
|
||||
hostCount: json.listhostsresponse.count ?
|
||||
|
|
|
|||
Loading…
Reference in New Issue