# HG changeset patch # User Michiel Broek # Date 1407858888 -7200 # Node ID 3b72d4d3e389b61192116288a0af9189731658d4 # Parent 14700edd2a67239a5a5958a93ee343ef4f923f6f LED's using css styling. diff -r 14700edd2a67 -r 3b72d4d3e389 www-thermferm/css/style.css --- a/www-thermferm/css/style.css Tue Aug 12 13:09:50 2014 +0200 +++ b/www-thermferm/css/style.css Tue Aug 12 17:54:48 2014 +0200 @@ -362,3 +362,40 @@ height: 260px; float: right; } + +.led-red { + margin: 5px auto; + width: 12px; + height: 12px; + background-color: #940; + border-radius: 50%; + box-shadow: #000 0 -1px 7px 1px, inset #600 0 -1px 9px, #f00 0 2px 12px; +} + +.led-yellow { + margin: 5px auto; + width: 12px; + height: 12px; + background-color: #A90; + border-radius: 50%; + box-shadow: #000 0 -1px 7px 1px, inset #660 0 -1px 9px, #DD0 0 2px 12px; +} + +.led-green { + margin: 5px auto; + width: 12px; + height: 12px; + background-color: #690; + border-radius: 50%; + box-shadow: #000 0 -1px 7px 1px, inset #460 0 -1px 9px, #7D0 0 2px 12px; +} + +.led-blue { + margin: 5px auto; + width: 12px; + height: 12px; + background-color: #4AB; + border-radius: 50%; + box-shadow: #000 0 -1px 7px 1px, inset #006 0 -1px 9px, #06F 0 2px 12px; +} + diff -r 14700edd2a67 -r 3b72d4d3e389 www-thermferm/liveview.php --- a/www-thermferm/liveview.php Tue Aug 12 13:09:50 2014 +0200 +++ b/www-thermferm/liveview.php Tue Aug 12 17:54:48 2014 +0200 @@ -313,7 +313,8 @@ if ($fan_state == "100") $fan_led = "on"; $outstr .= '
'.PHP_EOL; - $outstr .= '
Fan'.PHP_EOL; +// $outstr .= '
Fan'.PHP_EOL; + $outstr .= '
Fan'.PHP_EOL; $outstr .= '
'.PHP_EOL; $outstr .= '
'.PHP_EOL;