Show ldap discovery results in a nice table

refs #7163
This commit is contained in:
Johannes Meyer 2014-10-15 15:46:54 +02:00
parent d1ea7e87a2
commit 21379cb24d
2 changed files with 14 additions and 9 deletions

View File

@ -20,15 +20,14 @@ class LdapDiscoveryConfirmPage extends Form
const TYPE_MISC = 'LDAP';
private $infoTemplate = <<< 'EOT'
<br/>
Found LDAP server on {domain}
<ul>
<li><b>Type:</b> {type}</li>
<li><b>Port:</b> {port}</li>
<li><b>Root DN:</b> {root_dn}</li>
<li><b>User-Class:</b> {user_class}</li>
<li><b>User-Attribue:</b> {user_attribute}</li>
</ul>
Found LDAP server on {domain}
<table><tbody>
<tr><td><strong>Type:</strong></td><td>{type}</td></tr>
<tr><td><strong>Port:</strong></td><td>{port}</td></tr>
<tr><td><strong>Root DN:</strong></td><td>{root_dn}</td></tr>
<tr><td><strong>User Object Class:</strong></td><td>{user_class}</td></tr>
<tr><td><strong>User Name Attribute:</strong></td><td>{user_attribute}</td></tr>
</tbody></table>
EOT;
/**

View File

@ -134,6 +134,12 @@
}
}
#setup_ldap_discovery_confirm table {
margin: 1em 0;
border-collapse: separate;
border-spacing: 1em 0.2em;
}
#setup_admin_account {
div.instructions {
width: 30.2em;