3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-04 07:45:29 +00:00

Merge pull request #18395 from grokability/#18394-ldap-text-dark-mode

Fixed #18394 - LDAP sync test table background in dark mode
This commit is contained in:
snipe
2026-01-05 15:34:00 +00:00
committed by GitHub
2 changed files with 22 additions and 5 deletions

View File

@ -358,6 +358,22 @@
border-right-color: var(--box-bg) !important;
}
.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > th,
.table-bordered,
.well
{
border: 1px solid var(--box-header-top-border-color) !important;
border-left-color: var(--box-header-top-border-color) !important;
border-right-color: var(--box-header-top-border-color) !important;
}
.box {
border-top: 3px solid;
}
@ -398,7 +414,8 @@
.nav-tabs-custom > .nav-tabs > li.active > a:link,
.nav-tabs-custom > .nav-tabs > li.active > a:visited,
.nav-tabs-custom > .nav-tabs > li.active > a:hover,
.bootstrap-table.fullscreen
.bootstrap-table.fullscreen,
.well
{
color: var(--color-fg);

View File

@ -902,7 +902,7 @@
<input type="password" name="ldaptest_password" id="ldaptest_password" class="form-control" placeholder="{{trans('admin/settings/general.ldap_password_placeholder')}}" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');">
</div>
<div class="col-md-3">
<a class="btn btn-default btn-sm" id="ldaptestlogin" style="margin-right: 10px;">{{ trans('admin/settings/general.ldap_test') }}</a>
<a class="btn btn-theme btn-sm" id="ldaptestlogin" style="margin-right: 10px;">{{ trans('admin/settings/general.ldap_test') }}</a>
</div>
@ -922,7 +922,7 @@
<!-- LDAP test -->
<div class="form-group">
<div class="col-md-8 col-md-offset-3" id="ldaptestrow">
<a class="btn btn-default btn-sm" id="ldaptest" style="margin-right: 10px;">{{ trans('admin/settings/general.ldap_test_sync') }}</a>
<a class="btn btn-theme btn-sm" id="ldaptest" style="margin-right: 10px;">{{ trans('admin/settings/general.ldap_test_sync') }}</a>
<p class="help-block">{{ trans('admin/settings/general.ldap_login_sync_help') }}</p>
</div>
<div class="col-md-12">
@ -1137,11 +1137,11 @@
html += '</ul>'
html += '<div style="overflow:auto;">'
html += '<div>{{ trans('admin/settings/message.ldap.sync_success') }}<br><br></div>'
html += '<div class="table-wrapper"><table class="table table-bordered table-condensed">'
html += '<table class="table table-striped snipe-table table-bordered table-condensed">'
html += buildLdapResultsTableHeader()
html += buildLdapResultsTableBody(results.user_sync.users)
html += '</table></div>'
html += '</div>'
html += ''
return html;
}