diff options
Diffstat (limited to 'src/usr/local/www/system_usermanager_settings_ldapacpicker.php')
-rw-r--r-- | src/usr/local/www/system_usermanager_settings_ldapacpicker.php | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/src/usr/local/www/system_usermanager_settings_ldapacpicker.php b/src/usr/local/www/system_usermanager_settings_ldapacpicker.php index d400b10..31770f3 100644 --- a/src/usr/local/www/system_usermanager_settings_ldapacpicker.php +++ b/src/usr/local/www/system_usermanager_settings_ldapacpicker.php @@ -86,6 +86,8 @@ if ($_GET) { ?> <html> <head> + <link rel="stylesheet" href="/bootstrap/css/pfSense.css" /> + <STYLE type="text/css"> TABLE { border-width: 1px 1px 1px 1px; @@ -126,18 +128,17 @@ function post_choices() { //]]> </script> -<body link="#0000CC" vlink="#0000CC" alink="#0000CC" > -<form method="post" action="system_usermanager_settings_ldapacpicker.php"> + <body> + <form method="post" action="system_usermanager_settings_ldapacpicker.php"> <?php if (empty($ous)): ?> - <p><?=gettext("Could not connect to the LDAP server. Please check your LDAP configuration.");?></p> - <input type='button' value='<?=gettext("Close"); ?>' onClick="window.close();"> + <p><?=gettext("Could not connect to the LDAP server. Please check your LDAP configuration.");?></p> + <input type='button' class="btn btn-sm btn-default" value='<?=gettext("Close"); ?>' onClick="window.close();"> <?php else: ?> - <b><?=gettext("Please select which containers to Authenticate against:");?></b> - <p/> - <table width="100%" border="0" cellpadding="0" cellspacing="0"> - <tr> - <td class="tabnavtbl"> - <table width="100%"> + <b><?=gettext("Please select which containers to Authenticate against:");?></b> + <p/> + <div class="table-responsive"> + <table class="table table-hover table-striped"> + <tbody> <?php if (is_array($ous)) { foreach ($ous as $ou) { @@ -146,19 +147,19 @@ function post_choices() { } else { $CHECKED=""; } - echo " <tr><td><input type='checkbox' value='{$ou}' id='ou' name='ou[]'{$CHECKED}> {$ou}<br /></td></tr>\n"; + echo " <tr><td><div class='checkbox'><input type='checkbox' value='{$ou}' id='ou' name='ou[]'{$CHECKED}> {$ou}<br /></div></td></tr>\n"; } } ?> - </table> - </td> - </tr> - </table> - <p/> - - <input type='button' value='<?=gettext("Save");?>' onClick="post_choices();"> + </tbody> + </table> + </div> + <p/> + + <input type='button' class="btn btn-sm btn-primary" value='<?=gettext("Save");?>' onClick="post_choices();"> <?php endif; ?> -</form> -</body> + </form> + </body> + <script src="/bootstrap/js/bootstrap.min.js"></script> </html> |