Skip to content

A free open source IT asset/license management system

testing ldap test table fix

Godfrey Mc0dba95426ef
diff --git a/resources/views/settings/ldap.blade.php b/resources/views/settings/ldap.blade.php
index 016d54f48f..8c62c0cd8d 100644
--- a/resources/views/settings/ldap.blade.php
+++ b/resources/views/settings/ldap.blade.php
@@ -696,7 +696,8 @@
* Build the results html table
*/
function buildLdapTestResults(results) {
- let html = '<ul style="list-style: none;padding-left: 5px;">'
+ let html = '<table id="ldap_test_table">'
+ html += '<ul style="list-style: none;padding-left: 5px;">'
html += '<li class="text-success"><i class="fas fa-check" aria-hidden="true"></i> ' + results.login.message + ' </li>'
html += '<li class="text-success"><i class="fas fa-check" aria-hidden="true"></i> ' + results.bind.message + ' </li>'
html += '</ul>'
@@ -704,7 +705,7 @@
html += '<table class="table table-bordered table-condensed" style="background-color: #fff">'
html += buildLdapResultsTableHeader()
html += buildLdapResultsTableBody(results.user_sync.users)
- html += '<table>'
+ html += '</table>'
return html;
}