Skip to content

Commit

Permalink
[BS5] remove ui theme selector - add darkmode toggler
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddleSpl0it committed Jun 23, 2022
1 parent 560df58 commit 052959f
Show file tree
Hide file tree
Showing 38 changed files with 233 additions and 286,379 deletions.
4 changes: 0 additions & 4 deletions data/web/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,12 @@
];
}

$themes = array_diff(scandir('/web/css/themes'), array('..', '.'));
$themes = array_filter((str_replace("-bootstrap.css", "", $themes)));

$template = 'admin.twig';
$template_data = [
'tfa_data' => $tfa_data,
'tfa_id' => @$_SESSION['tfa_id'],
'fido2_cid' => @$_SESSION['fido2_cid'],
'fido2_data' => $fido2_data,
'themes' => $themes,
'gal' => @$_SESSION['gal'],
'license_guid' => license('guid'),
'api' => [
Expand Down
4 changes: 4 additions & 0 deletions data/web/css/build/013-mailcow.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
.navbar-nav {
margin: 0;
}
.navbar-nav .nav-item {
display: flex;
padding: 0 10px !important;
}
.navbar-nav .nav-link {
height: 44px;
display: flex;
Expand Down
Loading

0 comments on commit 052959f

Please sign in to comment.