From fb1f9ecf9ffa615653ac0fc62c84e27851835a6d Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 13 Jan 2011 17:20:12 +0700 Subject: Certificate and Kerberos key status adjustments. The OTP field has been moved into a separate row to avoid line wrapping. The line height inside tables has been increased to avoid overlapping buttons in certificate status panel. --- install/static/certificate.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) mode change 100644 => 100755 install/static/certificate.js (limited to 'install/static/certificate.js') diff --git a/install/static/certificate.js b/install/static/certificate.js old mode 100644 new mode 100755 index f8e77dd4..e81d3a78 --- a/install/static/certificate.js +++ b/install/static/certificate.js @@ -413,7 +413,9 @@ function certificate_status_widget(spec) { that.widget_create(container); - var table = $('').appendTo(container); + var table = $('
', { + 'class': 'certificate-status' + }).appendTo(container); var tr = $('').appendTo(table); @@ -434,12 +436,16 @@ function certificate_status_widget(spec) { 'value': 'Get' }).appendTo(td); + td.append(' '); + if (!that.is_selfsign()) { $('', { 'type': 'button', 'name': 'revoke', 'value': 'Revoke' }).appendTo(td); + + td.append(' '); } $('', { -- cgit