summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-09-16 12:29:13 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-09-26 14:57:28 +0000
commitf9477be9e946ec634898f50e819d363737f304fc (patch)
tree33581a8e10c9366ae20d484d0bbfed0cee9fd4fb
parentd8f8613e99f241507b7cbcb9b573d18697796b94 (diff)
downloadfreeipa-f9477be9e946ec634898f50e819d363737f304fc.tar.gz
freeipa-f9477be9e946ec634898f50e819d363737f304fc.tar.xz
freeipa-f9477be9e946ec634898f50e819d363737f304fc.zip
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
-rw-r--r--install/ui/dns.js23
1 files changed, 20 insertions, 3 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js
index cf8f68619..f823523a0 100644
--- a/install/ui/dns.js
+++ b/install/ui/dns.js
@@ -46,7 +46,14 @@ IPA.entity_factories.dnszone = function() {
name: 'identity',
fields: [
'idnsname',
- 'idnszoneactive',
+ {
+ factory: IPA.radio_widget,
+ name: 'idnszoneactive',
+ options: [
+ { value: 'TRUE', label: IPA.get_message('true') },
+ { value: 'FALSE', label: IPA.get_message('false') }
+ ]
+ },
'idnssoamname',
'idnssoarname',
'idnssoaserial',
@@ -56,8 +63,18 @@ IPA.entity_factories.dnszone = function() {
'idnssoaminimum',
'dnsttl',
'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'
+ }
]
}]
}).