diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-01-13 17:20:12 +0700 |
---|---|---|
committer | Endi Sukma Dewata <edewata@people01.fedoraproject.org> | 2011-01-15 04:55:16 +0000 |
commit | fb1f9ecf9ffa615653ac0fc62c84e27851835a6d (patch) | |
tree | 7db7d7e96d79bcb30f65b38f65c3015a3ea902b6 /install/static/certificate.js | |
parent | 6650dbf6a47f162db3e874c187fce693a362517f (diff) | |
download | freeipa-fb1f9ecf9ffa615653ac0fc62c84e27851835a6d.tar.gz freeipa-fb1f9ecf9ffa615653ac0fc62c84e27851835a6d.tar.xz freeipa-fb1f9ecf9ffa615653ac0fc62c84e27851835a6d.zip |
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.
Diffstat (limited to 'install/static/certificate.js')
-rwxr-xr-x[-rw-r--r--] | install/static/certificate.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/install/static/certificate.js b/install/static/certificate.js index f8e77dd4f..e81d3a784 100644..100755 --- 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 = $('<table/>').appendTo(container); + var table = $('<table/>', { + 'class': 'certificate-status' + }).appendTo(container); var tr = $('<tr/>').appendTo(table); @@ -434,12 +436,16 @@ function certificate_status_widget(spec) { 'value': 'Get' }).appendTo(td); + td.append(' '); + if (!that.is_selfsign()) { $('<input/>', { 'type': 'button', 'name': 'revoke', 'value': 'Revoke' }).appendTo(td); + + td.append(' '); } $('<input/>', { |