[CODE] different background if lights are on
This commit is contained in:
parent
c12367f238
commit
492674393f
2 changed files with 9 additions and 2 deletions
|
@ -72,7 +72,7 @@ if (isset($_GET['action'])) {
|
|||
<link rel="stylesheet" href="style.css?v1.1">
|
||||
|
||||
</head>
|
||||
<body class="container <?php echo ($light->isNight) ? 'dark' : 'light' ?>">
|
||||
<body class="container <?php echo ($light->isNight) ? 'dark' : 'light' ?> <?php echo ($light->state) ? 'on' : ''?>">
|
||||
<h1>Garagenlicht</h1>
|
||||
|
||||
<?php if ($error_string != '') : ?>
|
||||
|
|
Reference in a new issue