Minor adjustments to the LDAP result display

This commit is contained in:
Alex Tselegidis 2024-06-01 13:21:49 +02:00
parent 99addd2efd
commit b49787ca5a

View file

@ -199,17 +199,17 @@ App.Pages.LdapSettings = (function () {
} }
const $entry = $(` const $entry = $(`
<div class="card mb-2"> <div class="card small mb-2">
<div class="card-header"> <div class="card-header p-2 fw-bold">
${entry.dn} ${entry.dn}
</div> </div>
<div class="card-body"> <div class="card-body p-2">
<p class="d-block mb-2">${lang('content')}</p> <p class="d-block mb-2">${lang('content')}</p>
<pre class="overflow-y-auto bg-light rounded p-2" style="max-height: 200px">${JSON.stringify(entry, null, 2)}</pre> <pre class="overflow-y-auto bg-light rounded p-2" style="max-height: 200px">${JSON.stringify(entry, null, 2)}</pre>
<div class="d-lg-flex"> <div class="d-lg-flex">
<button class="btn btn-outline-primary ldap-import ms-lg-auto"> <button class="btn btn-outline-primary btn-sm px-4 ldap-import ms-lg-auto">
${lang('import')} ${lang('import')}
</button> </button>
</div> </div>