mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 17:45:31 +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:
@ -358,6 +358,22 @@
|
|||||||
border-right-color: var(--box-bg) !important;
|
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 {
|
.box {
|
||||||
border-top: 3px solid;
|
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:link,
|
||||||
.nav-tabs-custom > .nav-tabs > li.active > a:visited,
|
.nav-tabs-custom > .nav-tabs > li.active > a:visited,
|
||||||
.nav-tabs-custom > .nav-tabs > li.active > a:hover,
|
.nav-tabs-custom > .nav-tabs > li.active > a:hover,
|
||||||
.bootstrap-table.fullscreen
|
.bootstrap-table.fullscreen,
|
||||||
|
.well
|
||||||
{
|
{
|
||||||
|
|
||||||
color: var(--color-fg);
|
color: var(--color-fg);
|
||||||
|
|||||||
@ -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');">
|
<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>
|
||||||
<div class="col-md-3">
|
<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>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@ -922,7 +922,7 @@
|
|||||||
<!-- LDAP test -->
|
<!-- LDAP test -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-md-8 col-md-offset-3" id="ldaptestrow">
|
<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>
|
<p class="help-block">{{ trans('admin/settings/general.ldap_login_sync_help') }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
@ -1137,11 +1137,11 @@
|
|||||||
html += '</ul>'
|
html += '</ul>'
|
||||||
html += '<div style="overflow:auto;">'
|
html += '<div style="overflow:auto;">'
|
||||||
html += '<div>{{ trans('admin/settings/message.ldap.sync_success') }}<br><br></div>'
|
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 += buildLdapResultsTableHeader()
|
||||||
html += buildLdapResultsTableBody(results.user_sync.users)
|
html += buildLdapResultsTableBody(results.user_sync.users)
|
||||||
html += '</table></div>'
|
html += '</table></div>'
|
||||||
html += '</div>'
|
html += ''
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user