From: Dirk Koopman Date: Sun, 10 May 2015 20:53:06 +0000 (+0100) Subject: change temp colour to red X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b4db08ed5cfe84618f1820fdc49b716ccaca61ec;p=dweather.git change temp colour to red --- diff --git a/templates/index.html.ep b/templates/index.html.ep index 2dd444f..aad1a36 100644 --- a/templates/index.html.ep +++ b/templates/index.html.ep @@ -26,6 +26,7 @@ var windrose_mins = <%= $main::windmins %>; var windspeed; var winddir; + var updatespermin = <%= $main::updatepermin %>; var h = new Object(); @@ -79,7 +80,7 @@ rr.Dir = lastdir; if (!("Wind" in rr)) rr.Wind = lastwind; - fill_windrose(rr, windrose_mins * $updatespermin); + fill_windrose(rr, windrose_mins * updatespermin); fill_windspeed(rr); fill_winddir(rr); lastwind = rr.Wind; @@ -118,13 +119,13 @@ labels: { format: '{value}°C', style: { - color: Highcharts.getOptions().colors[2] + color: '#ff0000' } }, title: { text: 'Temperature', style: { - color: Highcharts.getOptions().colors[2] + color: '#ff0000' } }, opposite: true @@ -226,6 +227,7 @@ }, { name: 'Temperature', type: 'spline', + color: '#ff0000', data: [ <% $s = ""; for (@main::last5daysh) { @@ -645,7 +647,7 @@


- +
@@ -661,13 +663,13 @@ - + - +
Time: Sunrise: Temperature in: Humidity:
Temperature out: Min: @ Max: @ Humidity: Dew Point:
Wind: mph @ deg Wind Dir Minute Avg: Wind Speed Minute Avg: