diff options
author | Adam Young <ayoung@redhat.com> | 2010-11-23 22:24:50 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2010-11-24 20:30:34 -0500 |
commit | 841c290113f4871343294aca06307b909c4c3f45 (patch) | |
tree | 336828def1ab096617a20de7e67aeda12027623f /install/static/sudocmdgroup.js | |
parent | a34bb67cbd7e1e860e856bcf53bef764d9b1c9d9 (diff) | |
download | freeipa.git-841c290113f4871343294aca06307b909c4c3f45.tar.gz freeipa.git-841c290113f4871343294aca06307b909c4c3f45.tar.xz freeipa.git-841c290113f4871343294aca06307b909c4c3f45.zip |
action panel formatting
Cleans up the indentation of the action panel
Puts the sudo and HBAC entries in a consistent order
Diffstat (limited to 'install/static/sudocmdgroup.js')
-rwxr-xr-x | install/static/sudocmdgroup.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/install/static/sudocmdgroup.js b/install/static/sudocmdgroup.js index 0a193afa..6fddafb1 100755 --- a/install/static/sudocmdgroup.js +++ b/install/static/sudocmdgroup.js @@ -109,15 +109,18 @@ function ipa_sudocmdgroup_search_facet(spec) { var ul = $('ul', action_panel); + /*Make sure that these go at the top of the action panel + and in the same order as on the other SUDO entity pages */ + $('<li/>', { + title: 'sudocmd', + text: 'SUDO Command' + }).prependTo(ul); + $('<li/>', { title: 'sudorule', text: 'SUDO Rules' - }).appendTo(ul); + }).prependTo(ul); - $('<li/>', { - title: 'sudocmd', - text: 'SUDO Command' - }).appendTo(ul); that.search_facet_create(container); |