summaryrefslogtreecommitdiffstats
path: root/install/static
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-01-13 17:20:12 +0700
committerEndi Sukma Dewata <edewata@people01.fedoraproject.org>2011-01-15 04:55:16 +0000
commitfb1f9ecf9ffa615653ac0fc62c84e27851835a6d (patch)
tree7db7d7e96d79bcb30f65b38f65c3015a3ea902b6 /install/static
parent6650dbf6a47f162db3e874c187fce693a362517f (diff)
downloadfreeipa-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')
-rwxr-xr-x[-rw-r--r--]install/static/certificate.js8
-rw-r--r--install/static/host.js14
-rw-r--r--install/static/ipa.css11
-rw-r--r--install/static/service.js4
4 files changed, 33 insertions, 4 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/>', {
diff --git a/install/static/host.js b/install/static/host.js
index 2e82936be..76c5943cd 100644
--- a/install/static/host.js
+++ b/install/static/host.js
@@ -221,7 +221,9 @@ function host_provisioning_status_widget(spec) {
that.widget_create(container);
- var table = $('<table/>').appendTo(container);
+ var table = $('<table/>', {
+ 'class': 'kerberos-key-status'
+ }).appendTo(container);
var tr = $('<tr/>').appendTo(table);
@@ -262,12 +264,20 @@ function host_provisioning_status_widget(spec) {
td = $('<td/>').appendTo(tr);
+ tr = $('<tr/>').appendTo(table);
+
+ td = $('<td/>').appendTo(tr);
+
+ td = $('<td/>').appendTo(tr);
+
$('<input/>', {
'type': 'text',
'name': 'otp',
- 'size': 10
+ 'class': 'otp'
}).appendTo(td);
+ td = $('<td/>').appendTo(tr);
+
$('<input/>', {
'type': 'button',
'name': 'enroll',
diff --git a/install/static/ipa.css b/install/static/ipa.css
index 0b64203e6..d94dbc75a 100644
--- a/install/static/ipa.css
+++ b/install/static/ipa.css
@@ -233,6 +233,10 @@ dl.entryattrs input {
min-width: 27.5em;
}
+dl.entryattrs input.otp {
+ min-width: 15em;
+ width: 98%;
+}
span.attrhint {
font-size: 8pt;
@@ -606,6 +610,13 @@ a.action-button-disabled {
.strikethrough { text-decoration: line-through; }
+table.certificate-status {
+ line-height: 2;
+}
+
+table.kerberos-key-status {
+ line-height: 2;
+}
.status-icon {
width: 0.5em;
diff --git a/install/static/service.js b/install/static/service.js
index ad3a2fe67..62243c223 100644
--- a/install/static/service.js
+++ b/install/static/service.js
@@ -274,7 +274,9 @@ function service_provisioning_status_widget(spec) {
that.widget_create(container);
- var table = $('<table/>').appendTo(container);
+ var table = $('<table/>', {
+ 'class': 'kerberos-key-status'
+ }).appendTo(container);
var tr = $('<tr/>').appendTo(table);