[CODE] different background if lights are on

This commit is contained in:
Jannik Beyerstedt 2017-10-04 20:54:18 +02:00
parent c12367f238
commit 492674393f
2 changed files with 9 additions and 2 deletions

View file

@ -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 != '') : ?>