Change the error message banner to always take up space and be seen.

This commit is contained in:
Isaac Connor 2022-02-08 13:32:37 -05:00
parent 5b9ccc6889
commit 2b0398b35a
2 changed files with 10 additions and 2 deletions

View File

@ -340,6 +340,14 @@ ul.tabList li.active a {
.alarm, .errorText, .error {
color: #ff3f34;
}
/* Refers to the error box at the top of the web UI */
#error {
width: 100%;
padding: 5px;
font-weight: bold;
background-color: white;
color: #ff3f34;
}
.timedErrorBox {
color:white;

View File

@ -169,7 +169,7 @@ function getBodyTopHTML() {
';
global $error_message;
if ( $error_message ) {
echo '<div class="error">'.$error_message.'</div>';
echo '<div id="error">'.$error_message.'</div>';
}
} // end function getBodyTopHTML
@ -203,7 +203,7 @@ function getNormalNavBarHTML($running, $user, $bandwidth_options, $view, $skin)
$status = runtimeStatus($running);
?>
<div class="fixed-top container-fluid p-0">
<div class="container-fluid p-0">
<nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-center flex-row">
<div class="navbar-brand justify-content-start align-self-start">