summaryrefslogtreecommitdiffstats
path: root/install/ui/hbac.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-06-21 15:05:44 -0500
committerAdam Young <ayoung@redhat.com>2011-06-23 15:50:49 -0400
commitc8eb76766afc8755e709cdba62586a8ab1ad65c9 (patch)
tree4b1676f30cdf74055a9856ec7e895f3b09fbe3b1 /install/ui/hbac.js
parent3d9fb938d9ce1ed63619a8f130eba684af35be63 (diff)
downloadfreeipa-c8eb76766afc8755e709cdba62586a8ab1ad65c9.tar.gz
freeipa-c8eb76766afc8755e709cdba62586a8ab1ad65c9.tar.xz
freeipa-c8eb76766afc8755e709cdba62586a8ab1ad65c9.zip
Converted entity header into facet header.
The content and the size of entity header changes depending on the facet being displayed, so the entity header has been converted into a facet header to allow better control via CSS. The DNS record facet has been updated to use the same styling and support scrolling. To help styling and testing, all buttons have been assigned a name.
Diffstat (limited to 'install/ui/hbac.js')
-rw-r--r--install/ui/hbac.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/ui/hbac.js b/install/ui/hbac.js
index 01370ec70..4c29abaab 100644
--- a/install/ui/hbac.js
+++ b/install/ui/hbac.js
@@ -761,6 +761,7 @@ IPA.hbacrule_accesstime_widget = function (spec) {
var button = $('input[name=remove]', span);
button.replaceWith(IPA.button({
+ name: 'remove',
'label': button.val(),
'icon': 'ui-icon-trash',
'click': function() { that.remove(that.container); }
@@ -768,6 +769,7 @@ IPA.hbacrule_accesstime_widget = function (spec) {
button = $('input[name=add]', span);
button.replaceWith(IPA.button({
+ name: 'add',
'label': button.val(),
'icon': 'ui-icon-plus',
'click': function() { that.add(that.container); }