diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-11-04 15:13:08 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-11-04 15:13:08 -0400 |
commit | db758c92cd4865ae02c8da357ce5e850a060a4ad (patch) | |
tree | 96bd6a549725d0a5b78f4fc54d752cf94a5a9894 /install/static/certificate.js | |
parent | 7b296f2623610b0820a5553e2c570c6b3428c861 (diff) | |
parent | d99ebc0f3798c84e612c79c43eb85c31b20ab1ce (diff) | |
download | freeipa.git-db758c92cd4865ae02c8da357ce5e850a060a4ad.tar.gz freeipa.git-db758c92cd4865ae02c8da357ce5e850a060a4ad.tar.xz freeipa.git-db758c92cd4865ae02c8da357ce5e850a060a4ad.zip |
Merge branch 'master' of ssh://rcritten@git.fedorahosted.org/git/freeipa
Diffstat (limited to 'install/static/certificate.js')
-rwxr-xr-x | install/static/certificate.js | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/install/static/certificate.js b/install/static/certificate.js index e1297a83..affc58aa 100755 --- a/install/static/certificate.js +++ b/install/static/certificate.js @@ -421,10 +421,9 @@ function certificate_status_panel(spec) { td.append('Valid Certificate Present:'); td = $('<td/>').appendTo(tr); - $('<input/>', { + ipa_button({ 'id': 'get_button', - 'type': 'button', - 'value': 'Get', + 'label': 'Get', 'click': function() { ipa_cmd(that.entity_type+'_show', [pkey], {}, function(data, text_status, xhr) { @@ -434,10 +433,9 @@ function certificate_status_panel(spec) { } }).appendTo(td); - $('<input/>', { + ipa_button({ 'id': 'revoke_button', - 'type': 'button', - 'value': 'Revoke', + 'label': 'Revoke', 'click': function() { ipa_cmd(that.entity_type+'_show', [pkey], {}, function(data, text_status, xhr) { @@ -447,10 +445,9 @@ function certificate_status_panel(spec) { } }).appendTo(td); - $('<input/>', { + ipa_button({ 'id': 'view_button', - 'type': 'button', - 'value': 'View', + 'label': 'View', 'click': function() { ipa_cmd(that.entity_type+'_show', [pkey], {}, function(data, text_status, xhr) { @@ -476,10 +473,9 @@ function certificate_status_panel(spec) { })); td.append(' '); - $('<input/>', { + ipa_button({ 'id': 'restore_button', - 'type': 'button', - 'value': 'Restore', + 'label': 'Restore', 'click': function() { ipa_cmd(that.entity_type+'_show', [pkey], {}, function(data, text_status, xhr) { @@ -500,9 +496,9 @@ function certificate_status_panel(spec) { td.append('No Valid Certificate:'); td = $('<td/>').appendTo(tr); - $('<input/>', { - 'type': 'button', - 'value': 'New Certificate', + ipa_button({ + 'id': 'create_button', + 'label': 'New Certificate', 'click': function() { request_certificate(that.result); } |