Skip to content

Commit

Permalink
Show ldap discovery results in a nice table
Browse files Browse the repository at this point in the history
refs #7163
  • Loading branch information
Johannes Meyer committed Oct 15, 2014
1 parent d1ea7e8 commit 21379cb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
17 changes: 8 additions & 9 deletions application/forms/Setup/LdapDiscoveryConfirmPage.php
Expand Up @@ -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;

/**
Expand Down
6 changes: 6 additions & 0 deletions public/css/icinga/setup.less
Expand Up @@ -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;
Expand Down

0 comments on commit 21379cb

Please sign in to comment.