Remove dark styles from navbar

pull/3621/head
Isaac Connor 2022-09-15 18:07:47 -04:00
parent 16e8af0fe3
commit 2a1d417511
1 changed files with 9 additions and 9 deletions

View File

@ -203,8 +203,8 @@ function getNormalNavBarHTML($running, $user, $bandwidth_options, $view, $skin)
$status = runtimeStatus($running);
?>
<div class="container-fluid p-0" id="navbar-container">
<nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-center flex-row" id="navbar-one">
<div class="container-fluid" id="navbar-container">
<nav class="navbar navbar-expand-md justify-content-center flex-row" id="navbar-one">
<div class="navbar-brand justify-content-start align-self-start">
<?php echo getNavBrandHTML() ?>
@ -248,7 +248,7 @@ function getNormalNavBarHTML($running, $user, $bandwidth_options, $view, $skin)
</div>
</nav><!-- End First Navbar -->
<nav class="navbar navbar-expand-md bg-dark justify-content-center p-0" id="navbar-two">
<nav class="navbar navbar-expand-md justify-content-center" id="navbar-two">
<div class="container-fluid" id="panel"<?php echo ( isset($_COOKIE['zmHeaderFlip']) and $_COOKIE['zmHeaderFlip'] == 'down' ) ? 'style="display:none;"' : '' ?>>
<?php
@ -285,7 +285,7 @@ function getNormalNavBarHTML($running, $user, $bandwidth_options, $view, $skin)
<?php
$banner_html = getConsoleBannerHTML();
if ($banner_html) {
echo '<nav class="navbar navbar-expand-md bg-dark justify-content-center p-0" id="navbar-three">'.$banner_html.'</nav>';
echo '<nav class="navbar navbar-expand-md justify-content-center" id="navbar-three">'.$banner_html.'</nav>';
}
?>
</div>
@ -300,8 +300,8 @@ function getCollapsedNavBarHTML($running, $user, $bandwidth_options, $view, $ski
$status = runtimeStatus($running);
?>
<div class="fixed-top container-fluid p-0">
<nav class="navbar navbar-dark bg-dark px-1 flex-nowrap">
<div class="fixed-top container-fluid">
<nav class="navbar px-1 flex-nowrap">
<div class="navbar-brand align-self-start px-0">
<?php echo getNavBrandHTML() ?>
@ -378,7 +378,7 @@ function getCollapsedNavBarHTML($running, $user, $bandwidth_options, $view, $ski
</nav><!-- End First Navbar -->
<nav class="navbar navbar-expand-md bg-dark justify-content-center p-0">
<nav class="navbar navbar-expand-md justify-content-center">
<?php echo getConsoleBannerHTML() ?>
</nav><!-- End Second Navbar -->
</div>
@ -650,10 +650,10 @@ function getLogHTML() {
$result = '';
if ( canView('System') ) {
if ( ZM\logToDatabase() > ZM\Logger::NOLOG ) {
if ( ZM\logToDatabase() > ZM\Logger::NOLOG ) {
$logstate = logState();
$class = ($logstate == 'ok') ? 'text-success' : ($logstate == 'alert' ? 'text-warning' : (($logstate == 'alarm' ? 'text-danger' : '')));
$result .= '<li id="getLogHTML" class="nav-item dropdown mx-2">'.makeLink('?view=log', '<span class="nav-link '.$class.'">'.translate('Log').'</span>').'</li>'.PHP_EOL;
$result .= '<li id="getLogHTML" class="nav-item dropdown"><a class="nav-link '.$class.'" href="?view=log">'.translate('Log').'</a></li>'.PHP_EOL;
}
}