Updated DNS zone details page.

The DNS zone details page has been modified to use radio buttons for
active zone and dynamic update fields, and text area for BIND update
policy field.

Ticket #1781, #1785
This commit is contained in:
Endi S. Dewata 2011-09-16 12:29:13 -05:00
parent d8f8613e99
commit f9477be9e9

View File

@ -46,7 +46,14 @@ IPA.entity_factories.dnszone = function() {
name: 'identity', name: 'identity',
fields: [ fields: [
'idnsname', 'idnsname',
'idnszoneactive', {
factory: IPA.radio_widget,
name: 'idnszoneactive',
options: [
{ value: 'TRUE', label: IPA.get_message('true') },
{ value: 'FALSE', label: IPA.get_message('false') }
]
},
'idnssoamname', 'idnssoamname',
'idnssoarname', 'idnssoarname',
'idnssoaserial', 'idnssoaserial',
@ -56,8 +63,18 @@ IPA.entity_factories.dnszone = function() {
'idnssoaminimum', 'idnssoaminimum',
'dnsttl', 'dnsttl',
'dnsclass', 'dnsclass',
'idnsallowdynupdate', {
'idnsupdatepolicy' factory: IPA.radio_widget,
name: 'idnsallowdynupdate',
options: [
{ value: 'TRUE', label: IPA.get_message('true') },
{ value: 'FALSE', label: IPA.get_message('false') }
]
},
{
factory: IPA.textarea_widget,
name: 'idnsupdatepolicy'
}
] ]
}] }]
}). }).