summaryrefslogtreecommitdiffstats
path: root/install/static/hbacsvc.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-11-10 19:03:49 -0600
committerAdam Young <ayoung@redhat.com>2010-11-11 12:23:05 -0500
commitdb11592228ae6cabd4a353d7e3788a3ea0fb4262 (patch)
tree8a49357f4d2b6a15f3dfb8004c8339bb206b940d /install/static/hbacsvc.js
parent65c9442e2697f9e5d8b6cc2b7c22a6b8da426247 (diff)
downloadfreeipa.git-db11592228ae6cabd4a353d7e3788a3ea0fb4262.tar.gz
freeipa.git-db11592228ae6cabd4a353d7e3788a3ea0fb4262.tar.xz
freeipa.git-db11592228ae6cabd4a353d7e3788a3ea0fb4262.zip
HBAC Service Groups
The HBAC Service Groups search, details, and association pages have been added under the HBAC tab. New test data files for HBAC Service Groups have been added. The sample metadata has been updated as well.
Diffstat (limited to 'install/static/hbacsvc.js')
-rwxr-xr-xinstall/static/hbacsvc.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/install/static/hbacsvc.js b/install/static/hbacsvc.js
index 268ce4c5..0d704a0a 100755
--- a/install/static/hbacsvc.js
+++ b/install/static/hbacsvc.js
@@ -104,6 +104,9 @@ function ipa_hbacsvc_search_facet(spec) {
var that = this;
+ // TODO: replace with IPA.metadata[that.entity_name].label
+ $('<h2/>', { 'html': 'HBAC Services' }).appendTo(container);
+
var right_buttons = $('<span/>', {
'style': 'float: right;'
}).appendTo(container);
@@ -117,6 +120,17 @@ function ipa_hbacsvc_search_facet(spec) {
return false;
}
}));
+
+ right_buttons.append(ipa_button({
+ 'label': 'HBAC Service Groups',
+ 'click': function() {
+ var state = {};
+ state['entity'] = 'hbacsvcgroup';
+ nav_push_state(state);
+ return false;
+ }
+ }));
+
container.append('<br/><br/>');
that.super_create(container);