mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
cloudStack 3.0 new UI - domain page - remove resource limits tab that is already merged into details tab.
This commit is contained in:
parent
30b0fdd30a
commit
7a8ca9d8cb
@ -288,43 +288,7 @@
|
||||
data: domainObj
|
||||
});
|
||||
}
|
||||
},
|
||||
adminAccounts: {
|
||||
title: 'Admin Accounts',
|
||||
multiple: true,
|
||||
fields: [
|
||||
{
|
||||
name: { label: 'Name' },
|
||||
vmtotal: { label: 'VMs' },
|
||||
iptotal: { label: 'IPs' },
|
||||
receivedbytes: { label: 'Bytes received' },
|
||||
sentbytes: { label: 'Bytes sent' },
|
||||
state: { label: 'State' }
|
||||
}
|
||||
],
|
||||
dataProvider: function(args) {
|
||||
args.response.success({
|
||||
data: $.grep(testData.data.accounts, function(item, index) {
|
||||
return item.domain === 'ROOT' && index <= 5;
|
||||
})
|
||||
});
|
||||
}
|
||||
},
|
||||
resourceLimits: {
|
||||
title: 'Resource Limits',
|
||||
fields: {
|
||||
vmlimit: { label: 'Instance Limit' },
|
||||
iplimit: { label: 'Public IP Limit' },
|
||||
volumelimit: { label: 'Volume Limit' },
|
||||
snapshotlimit: { label: 'Snapshot Limit' },
|
||||
templatelimit: { label: 'Template Limit' }
|
||||
},
|
||||
dataProvider: function(args) {
|
||||
args.response.success({
|
||||
data: testData.data.accounts[4]
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
labelField: 'name',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user