diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-07-04 13:24:47 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-07-21 10:47:06 +0200 |
commit | b68f819de75073285c17c28a30afe5b5dbfe5176 (patch) | |
tree | abf7544ee5860cb741121af0dc8594a0cd769649 /ipatests | |
parent | cd4fd60c0ef7026964aff971346720e9fd60d148 (diff) | |
download | freeipa-b68f819de75073285c17c28a30afe5b5dbfe5176.tar.gz freeipa-b68f819de75073285c17c28a30afe5b5dbfe5176.tar.xz freeipa-b68f819de75073285c17c28a30afe5b5dbfe5176.zip |
webui: improve usability of attributes widget
Attributes widget layour was changed from tiny table which allowed
to display only few options to a checkbox list with multiple
columns (depends on container).
Check all attributes option was removed to force the user
to read through the attributes which he selects.
Initial version authored by: Adam Misnyovszki
https://fedorahosted.org/freeipa/ticket/4253
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'ipatests')
-rw-r--r-- | ipatests/test_webui/test_delegation.py | 6 | ||||
-rw-r--r-- | ipatests/test_webui/test_rbac.py | 6 | ||||
-rw-r--r-- | ipatests/test_webui/test_selfservice.py | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/ipatests/test_webui/test_delegation.py b/ipatests/test_webui/test_delegation.py index 22276c2e7..a3e70609f 100644 --- a/ipatests/test_webui/test_delegation.py +++ b/ipatests/test_webui/test_delegation.py @@ -33,11 +33,11 @@ DATA = { ('textbox', 'aciname', PKEY), ('combobox', 'group', 'editors'), ('combobox', 'memberof', 'ipausers'), - ('table', 'attrs', 'audio'), - ('table', 'attrs', 'businesscategory'), + ('checkbox', 'attrs', 'audio'), + ('checkbox', 'attrs', 'businesscategory'), ], 'mod': [ - ('table', 'attrs', 'businesscategory'), + ('checkbox', 'attrs', 'businesscategory'), ], } diff --git a/ipatests/test_webui/test_rbac.py b/ipatests/test_webui/test_rbac.py index 8477b118d..07cc28826 100644 --- a/ipatests/test_webui/test_rbac.py +++ b/ipatests/test_webui/test_rbac.py @@ -61,11 +61,11 @@ PERMISSION_DATA = { ('checkbox', 'ipapermright', 'write'), ('checkbox', 'ipapermright', 'read'), ('selectbox', 'type', 'user'), - ('table', 'attrs', 'audio'), - ('table', 'attrs', 'cn'), + ('checkbox', 'attrs', 'audio'), + ('checkbox', 'attrs', 'cn'), ], 'mod': [ - ('table', 'attrs', 'carlicense'), + ('checkbox', 'attrs', 'carlicense'), ], } diff --git a/ipatests/test_webui/test_selfservice.py b/ipatests/test_webui/test_selfservice.py index ce1971e54..15fd23d4e 100644 --- a/ipatests/test_webui/test_selfservice.py +++ b/ipatests/test_webui/test_selfservice.py @@ -30,11 +30,11 @@ DATA = { 'pkey': PKEY, 'add': [ ('textbox', 'aciname', PKEY), - ('table', 'attrs', 'audio'), - ('table', 'attrs', 'businesscategory'), + ('checkbox', 'attrs', 'audio'), + ('checkbox', 'attrs', 'businesscategory'), ], 'mod': [ - ('table', 'attrs', 'businesscategory'), + ('checkbox', 'attrs', 'businesscategory'), ], } |