Skip to content
Permalink
Browse files

phrases added to air quality + indoor modules

  • Loading branch information...
brian underdown brian underdown
brian underdown authored and brian underdown committed Feb 26, 2019
1 parent c1ce6ce commit e7139d1984c6bf952548d25f4feba22bc5069ef2
Showing with 7 additions and 2 deletions.
  1. +1 −0 airqualitymodule.php
  2. +2 −0 css/main.dark.css
  3. +3 −1 css/main.light.css
  4. +1 −1 weather34uvsolar.php
@@ -45,6 +45,7 @@ function map($value, $fromLow, $fromHigh, $toLow, $toHigh){
$a="";if($aqiweather["aqi"]==$a){$aqiweather["aqi"] = "0" ;}
?>
<div class="updatedtime"><span><?php if(file_exists($json_string)&&time()- filemtime($json_string)>300)echo $offline. '<offline> Offline </offline>';else echo $online." ".$aqiweather["time"];?></div>
<div class="airqualitywordbig">Air Quality</div>
<div class="tempconverter2">
<?php //WEATHER34 AIR QAULITY SVG
if ($aqiweather["aqi"]>200){echo "<div class=tempconvertercirclepurple>PM2.5"; }

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

@@ -10,7 +10,7 @@
if ($weather["solar"]==0){echo "<div class=solarluxtodaydark>".$weather["solar"];}
else if ($weather["solar"]>0){echo "<div class=solarluxtoday>".$weather["solar"];}?></div></div></div>
<div class="solarluxtodayword"><valuetext>Solar Radiation</valuetext></div><div class="solarwrap"></div>

<div class="uvsolarwordbig">Currently</div>

<div class="uvcontainer1"><?php if ($weather["uv"]>10) {echo '<div class=uvtoday11>'.number_format($weather["uv"],1)."<smalluvunit> &nbsp;UVI";}else if ($weather["uv"]>8) {echo '<div class=uvtoday9-10>'.number_format($weather["uv"],1)."<smalluvunit> &nbsp;UVI";}else if ($weather["uv"]>5) {echo '<div class=uvtoday6-8>'.number_format($weather["uv"],1)."<smalluvunit> &nbsp;UVI";}else if ($weather["uv"]>3) {echo '<div class=uvtoday4-5>'.number_format($weather["uv"],1)."<smalluvunit> &nbsp;UVI";}
else if (date('Hi')>$sunset && $weather["uv"]==0) {echo '<div class=uvtodaydark>'.number_format($weather["uv"],1)."<smalluvunit> &nbsp;UVI";}

0 comments on commit e7139d1

Please sign in to comment.
You can’t perform that action at this time.