diff options
author | Endi S. Dewata <edewata@redhat.com> | 2010-11-18 23:53:14 -0600 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-11-19 13:26:41 -0500 |
commit | 5c4dc1c2e95749559dac9c625859f4e1ced5a6e1 (patch) | |
tree | 3f8bf505831d0d0df451035acab3a44da29ac86c /install/static/hbac.js | |
parent | 3e1dc6b74f999052d7023bf0804707f13b3004bd (diff) | |
download | freeipa.git-5c4dc1c2e95749559dac9c625859f4e1ced5a6e1.tar.gz freeipa.git-5c4dc1c2e95749559dac9c625859f4e1ced5a6e1.tar.xz freeipa.git-5c4dc1c2e95749559dac9c625859f4e1ced5a6e1.zip |
Use radio buttons for HBAC rule type
To be consistent with the details page, the rule type in the HBAC
add dialog box has been converted into radio buttons.
Diffstat (limited to 'install/static/hbac.js')
-rwxr-xr-x | install/static/hbac.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/install/static/hbac.js b/install/static/hbac.js index f63a489e..894b2f4a 100755 --- a/install/static/hbac.js +++ b/install/static/hbac.js @@ -71,9 +71,13 @@ function ipa_hbac_add_dialog(spec) { 'undo': false })); - that.add_field(ipa_text_widget({ + that.add_field(ipa_radio_widget({ 'name': 'accessruletype', - 'label': 'Rule type (allow/deny)', + 'label': 'Rule type', + 'options': [ + { 'value': 'allow', 'label': 'Allow' }, + { 'value': 'deny', 'label': 'Deny' } + ], 'undo': false })); }; |