summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-11-15 15:15:47 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2010-11-16 11:20:02 -0500
commitb84b0239f804778b5f38482f9aa39894f92a723c (patch)
treeea7ad6c5ba84f54cc5854d4ddc65e0571ffa83be /install
parent59cc365a1db0e344df739ed946ee6972e19c157d (diff)
downloadfreeipa-b84b0239f804778b5f38482f9aa39894f92a723c.tar.gz
freeipa-b84b0239f804778b5f38482f9aa39894f92a723c.tar.xz
freeipa-b84b0239f804778b5f38482f9aa39894f92a723c.zip
HBAC css cleanup
The additions to the search widget have to go one level deeper, as 'container' has both the action panel and the client area Conflicts: install/static/hbac.js install/static/hbacsvc.js install/static/hbacsvcgroup.js
Diffstat (limited to 'install')
-rwxr-xr-xinstall/static/hbac.js10
-rwxr-xr-xinstall/static/hbacsvc.js12
-rwxr-xr-xinstall/static/hbacsvcgroup.js7
3 files changed, 22 insertions, 7 deletions
diff --git a/install/static/hbac.js b/install/static/hbac.js
index eb02bf738..6b209dd75 100755
--- a/install/static/hbac.js
+++ b/install/static/hbac.js
@@ -111,10 +111,9 @@ function ipa_hbac_search_facet(spec) {
var that = this;
- // TODO: replace with IPA.metadata[that.entity_name].label
- $('<h2/>', { 'html': 'HBAC Rules' }).appendTo(container);
/*
+
// Not yet implemented
var left_buttons = $('<span/>', {
@@ -128,6 +127,7 @@ function ipa_hbac_search_facet(spec) {
left_buttons.append(ipa_button({
'label': 'Cull Disabled Rules'
}));
+
*/
var ul = $('.action-panel ul');
@@ -154,6 +154,12 @@ function ipa_hbac_search_facet(spec) {
}).appendTo(ul);
that.superior_create(container);
+
+ // TODO: replace with IPA.metadata[that.entity_name].label
+ container.children().last().prepend(
+ $('<h2/>', { 'html': 'HBAC Rules' }));
+ container.children().last().prepend('<br/><br/>');
+
};
return that;
diff --git a/install/static/hbacsvc.js b/install/static/hbacsvc.js
index a37c5dde2..8f75addbc 100755
--- a/install/static/hbacsvc.js
+++ b/install/static/hbacsvc.js
@@ -98,9 +98,6 @@ 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 ul = $('.action-panel ul');
$('<li/>', {
@@ -126,6 +123,15 @@ function ipa_hbacsvc_search_facet(spec) {
}).appendTo(ul);
that.superior_create(container);
+
+ // TODO: replace with IPA.metadata[that.entity_name].label
+ container.children().last().prepend(
+ $('<h2/>', { 'html': 'HBAC Services' }));
+ container.children().last().prepend('<br/><br/>');
+
+
+
+
};
return that;
diff --git a/install/static/hbacsvcgroup.js b/install/static/hbacsvcgroup.js
index 3a3365559..e6845b9b4 100755
--- a/install/static/hbacsvcgroup.js
+++ b/install/static/hbacsvcgroup.js
@@ -109,8 +109,6 @@ function ipa_hbacsvcgroup_search_facet(spec) {
var that = this;
- // TODO: replace with IPA.metadata[that.entity_name].label
- $('<h2/>', { 'html': 'HBAC Service Groups' }).appendTo(container);
var ul = $('.action-panel ul');
@@ -137,6 +135,11 @@ function ipa_hbacsvcgroup_search_facet(spec) {
}).appendTo(ul);
that.superior_create(container);
+ // TODO: replace with IPA.metadata[that.entity_name].label
+ container.children().last().prepend(
+ $('<h2/>', { 'html': 'HBAC Service Groups' }));
+ container.children().last().prepend('<br/><br/>');
+
};
return that;