ktrue / CU-HWS

Home Weather Station website template for Cumulus (WeeWX, WeatherCat too)
Other
23 stars 13 forks source link

airqualitymodule.php not showing color circle on all browsers #26

Closed ktrue closed 5 years ago

ktrue commented 5 years ago

On some browsers, the color circle behind the face image does not show. Looking at the HTML generated shows HTML errors (unclosed ) that when closed with a /> screws up all the formatting for the module. Looks like HTML relies on quirks-mode to render. Needs to be massaged to produce proper HTML.

weather34 commented 5 years ago

hi ken quick fix just grab the airqualitymodule.php from the mb version . probably cu version is looking for some undefined css . i dropped in everything was fine through 0 to 500+ kt

ktrue commented 5 years ago

I've merged airqualitymodule.php and purpleair.php from the Meteobridge distribution. airqualitymodule has some internationalization, purpleair.php is English only at present. Closing this issue for now.