cloudstack 3.0 new UI - network page - IP address page - detailView - add Elastic and VirtualMachine.

This commit is contained in:
Jessica Wang 2012-01-23 12:22:57 -08:00
parent 96d0383a4a
commit bd026c50a7

View File

@ -584,7 +584,8 @@
} }
}, },
zonename: { label: 'Zone' }, zonename: { label: 'Zone' },
vlanname: { label: 'VLAN' }, //vlanname: { label: 'VLAN' },
iselastic: { label: 'Elastic', converter: cloudStack.converters.toBooleanText },
account: { label: 'Account' }, account: { label: 'Account' },
state: { label: 'State', indicator: { 'Allocated': 'on', 'Released': 'off' } } state: { label: 'State', indicator: { 'Allocated': 'on', 'Released': 'off' } }
}, },
@ -999,12 +1000,10 @@
account: { label: 'Account' }, account: { label: 'Account' },
zonename: { label: 'Zone' }, zonename: { label: 'Zone' },
vlanname: { label: 'VLAN' }, vlanname: { label: 'VLAN' },
issourcenat: { label: 'Source NAT', isBoolean: true, converter: function(value) { issourcenat: { label: 'Source NAT', converter: cloudStack.converters.toBooleanText },
return value ? 'Yes' : 'No'; isstaticnat: { label: 'Static NAT', converter: cloudStack.converters.toBooleanText },
} }, iselastic: { label: 'Elastic', converter: cloudStack.converters.toBooleanText },
isstaticnat: { label: 'Static NAT', isBoolean: true, converter: function(value) { virtualmachinedisplayname: { label: 'Virtual machine' }
return value ? 'Yes' : 'No';
} }
} }
], ],