cloudStack 3.0 new UI - zone chart - F5- add detailView.

This commit is contained in:
Jessica Wang 2011-11-22 17:26:21 -08:00
parent 0eafdde965
commit 736744674b
1 changed files with 36 additions and 0 deletions

View File

@ -1384,7 +1384,43 @@
args.response.success({data: items});
}
});
},
//???
detailView: {
name: 'F5 details',
tabs: {
details: {
title: 'Details',
fields: [
{
lbdeviceid: { label: 'ID' },
ipaddress: { label: 'IP Address' },
lbdevicestate: { label: 'Status' },
lbdevicename: { label: 'Type' },
lbdevicecapacity: { label: 'Capacity' },
lbdevicededicated: {
label: 'Dedicated',
converter: cloudStack.converters.toBooleanText
},
inline: {
label: 'Mode',
converter: function(args) {
if(args == false)
return "side by side";
else //args == true
return "inline";
}
}
}
],
dataProvider: function(args) {
//debugger;
args.response.success({data: args.context.undefined[0]}); //Brian, please make args.context include real object name instead of "undefined".
}
},
}
}
//???
},
// SRX list view