summaryrefslogtreecommitdiffstats
path: root/install/static/hbacsvc.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-11-23 22:24:50 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2010-11-24 20:30:34 -0500
commit841c290113f4871343294aca06307b909c4c3f45 (patch)
tree336828def1ab096617a20de7e67aeda12027623f /install/static/hbacsvc.js
parenta34bb67cbd7e1e860e856bcf53bef764d9b1c9d9 (diff)
downloadfreeipa.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/hbacsvc.js')
-rwxr-xr-xinstall/static/hbacsvc.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/install/static/hbacsvc.js b/install/static/hbacsvc.js
index 26a2e8a0..7dca90ec 100755
--- a/install/static/hbacsvc.js
+++ b/install/static/hbacsvc.js
@@ -98,10 +98,13 @@ function ipa_hbacsvc_search_facet(spec) {
var ul = $('ul', action_panel);
+ /*Note that we add the rules at the top of the action panel
+ so that the HBAC entities always show in the same order.*/
+
$('<li/>', {
title: 'hbac',
text: 'HBAC Rules'
- }).appendTo(ul);
+ }).prependTo(ul);
$('<li/>', {
title: 'hbacsvcgroup',