From c8eb76766afc8755e709cdba62586a8ab1ad65c9 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 21 Jun 2011 15:05:44 -0500 Subject: 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. --- install/ui/certificate.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'install/ui/certificate.js') diff --git a/install/ui/certificate.js b/install/ui/certificate.js index 30ac0d74a..64d93f9bd 100755 --- a/install/ui/certificate.js +++ b/install/ui/certificate.js @@ -515,6 +515,7 @@ IPA.cert.status_widget = function(spec) { var button = $('input[name=get]', that.container); that.get_button = IPA.button({ + name: 'get', label: IPA.messages.buttons.get, 'click': function() { IPA.command({ @@ -531,6 +532,7 @@ IPA.cert.status_widget = function(spec) { button = $('input[name=revoke]', that.container); that.revoke_button = IPA.button({ + name: 'revoke', label: IPA.messages.buttons.revoke, 'click': function() { IPA.command({ @@ -547,6 +549,7 @@ IPA.cert.status_widget = function(spec) { button = $('input[name=view]', that.container); that.view_button = IPA.button({ + name: 'view', label: IPA.messages.buttons.view, 'click': function() { IPA.command({ @@ -565,6 +568,7 @@ IPA.cert.status_widget = function(spec) { button = $('input[name=restore]', that.container); that.restore_button = IPA.button({ + name: 'restore', label: IPA.messages.buttons.restore, 'click': function() { IPA.command({ @@ -582,6 +586,7 @@ IPA.cert.status_widget = function(spec) { $('input[name=create]', that.container).each(function(index) { button = $(this); that.create_button = IPA.button({ + name: 'create', label: IPA.messages.objects.cert.new_certificate, 'click': function() { request_certificate(that.result); -- cgit