mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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.
This commit is contained in:
parent
6650dbf6a4
commit
fb1f9ecf9f
8
install/static/certificate.js
Normal file → Executable file
8
install/static/certificate.js
Normal file → Executable file
@ -413,7 +413,9 @@ function certificate_status_widget(spec) {
|
|||||||
|
|
||||||
that.widget_create(container);
|
that.widget_create(container);
|
||||||
|
|
||||||
var table = $('<table/>').appendTo(container);
|
var table = $('<table/>', {
|
||||||
|
'class': 'certificate-status'
|
||||||
|
}).appendTo(container);
|
||||||
|
|
||||||
var tr = $('<tr/>').appendTo(table);
|
var tr = $('<tr/>').appendTo(table);
|
||||||
|
|
||||||
@ -434,12 +436,16 @@ function certificate_status_widget(spec) {
|
|||||||
'value': 'Get'
|
'value': 'Get'
|
||||||
}).appendTo(td);
|
}).appendTo(td);
|
||||||
|
|
||||||
|
td.append(' ');
|
||||||
|
|
||||||
if (!that.is_selfsign()) {
|
if (!that.is_selfsign()) {
|
||||||
$('<input/>', {
|
$('<input/>', {
|
||||||
'type': 'button',
|
'type': 'button',
|
||||||
'name': 'revoke',
|
'name': 'revoke',
|
||||||
'value': 'Revoke'
|
'value': 'Revoke'
|
||||||
}).appendTo(td);
|
}).appendTo(td);
|
||||||
|
|
||||||
|
td.append(' ');
|
||||||
}
|
}
|
||||||
|
|
||||||
$('<input/>', {
|
$('<input/>', {
|
||||||
|
@ -221,7 +221,9 @@ function host_provisioning_status_widget(spec) {
|
|||||||
|
|
||||||
that.widget_create(container);
|
that.widget_create(container);
|
||||||
|
|
||||||
var table = $('<table/>').appendTo(container);
|
var table = $('<table/>', {
|
||||||
|
'class': 'kerberos-key-status'
|
||||||
|
}).appendTo(container);
|
||||||
|
|
||||||
var tr = $('<tr/>').appendTo(table);
|
var tr = $('<tr/>').appendTo(table);
|
||||||
|
|
||||||
@ -262,12 +264,20 @@ function host_provisioning_status_widget(spec) {
|
|||||||
|
|
||||||
td = $('<td/>').appendTo(tr);
|
td = $('<td/>').appendTo(tr);
|
||||||
|
|
||||||
|
tr = $('<tr/>').appendTo(table);
|
||||||
|
|
||||||
|
td = $('<td/>').appendTo(tr);
|
||||||
|
|
||||||
|
td = $('<td/>').appendTo(tr);
|
||||||
|
|
||||||
$('<input/>', {
|
$('<input/>', {
|
||||||
'type': 'text',
|
'type': 'text',
|
||||||
'name': 'otp',
|
'name': 'otp',
|
||||||
'size': 10
|
'class': 'otp'
|
||||||
}).appendTo(td);
|
}).appendTo(td);
|
||||||
|
|
||||||
|
td = $('<td/>').appendTo(tr);
|
||||||
|
|
||||||
$('<input/>', {
|
$('<input/>', {
|
||||||
'type': 'button',
|
'type': 'button',
|
||||||
'name': 'enroll',
|
'name': 'enroll',
|
||||||
|
@ -233,6 +233,10 @@ dl.entryattrs input {
|
|||||||
min-width: 27.5em;
|
min-width: 27.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dl.entryattrs input.otp {
|
||||||
|
min-width: 15em;
|
||||||
|
width: 98%;
|
||||||
|
}
|
||||||
|
|
||||||
span.attrhint {
|
span.attrhint {
|
||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
@ -606,6 +610,13 @@ a.action-button-disabled {
|
|||||||
|
|
||||||
.strikethrough { text-decoration: line-through; }
|
.strikethrough { text-decoration: line-through; }
|
||||||
|
|
||||||
|
table.certificate-status {
|
||||||
|
line-height: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.kerberos-key-status {
|
||||||
|
line-height: 2;
|
||||||
|
}
|
||||||
|
|
||||||
.status-icon {
|
.status-icon {
|
||||||
width: 0.5em;
|
width: 0.5em;
|
||||||
|
@ -274,7 +274,9 @@ function service_provisioning_status_widget(spec) {
|
|||||||
|
|
||||||
that.widget_create(container);
|
that.widget_create(container);
|
||||||
|
|
||||||
var table = $('<table/>').appendTo(container);
|
var table = $('<table/>', {
|
||||||
|
'class': 'kerberos-key-status'
|
||||||
|
}).appendTo(container);
|
||||||
|
|
||||||
var tr = $('<tr/>').appendTo(table);
|
var tr = $('<tr/>').appendTo(table);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user