From b4db08ed5cfe84618f1820fdc49b716ccaca61ec Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Sun, 10 May 2015 21:53:06 +0100 Subject: [PATCH] change temp colour to red --- templates/index.html.ep | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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 @@ - + - + -- 2.43.0
Time: Sunrise: Temperature in: Humidity:
Temperature out: Min: @ Max: @ Humidity: Dew Point:
Wind: mph @ deg Wind Dir Minute Avg: Wind Speed Minute Avg: