mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Add sample detail view
This commit is contained in:
parent
06963409e7
commit
ad8f10656c
@ -38,6 +38,28 @@
|
||||
{ name: 'device3', ipaddress: '192.168.1.14', state: 'Enabled' }
|
||||
]
|
||||
});
|
||||
},
|
||||
|
||||
detailView: {
|
||||
tabs: {
|
||||
details: {
|
||||
title: 'label.details',
|
||||
fields: [
|
||||
{
|
||||
name: { label: 'label.name' }
|
||||
},
|
||||
{
|
||||
ipaddress: { label: 'label.ip.address' },
|
||||
state: { label: 'label.state' }
|
||||
}
|
||||
],
|
||||
dataProvider: function(args) {
|
||||
args.response.success({
|
||||
data: args.context.asa1000vDevices[0]
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
detailView: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user