From 4903316ed93c55ff34c1af1d32c0cc1f60c95c66 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Thu, 10 Oct 2013 03:55:39 +0000 Subject: [PATCH] stuff --- raspberry-kiosk/kiosk.html | 17 +++++++---------- raspberry-kiosk/kiosk.js | 10 +++++----- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/raspberry-kiosk/kiosk.html b/raspberry-kiosk/kiosk.html index 9313be9..135e44c 100644 --- a/raspberry-kiosk/kiosk.html +++ b/raspberry-kiosk/kiosk.html @@ -5,7 +5,10 @@ - + + @@ -30,15 +33,9 @@ Lädt ... -
- -
-
- -
-
- -
+
+
+
diff --git a/raspberry-kiosk/kiosk.js b/raspberry-kiosk/kiosk.js index 8919004..278d3d6 100644 --- a/raspberry-kiosk/kiosk.js +++ b/raspberry-kiosk/kiosk.js @@ -423,11 +423,11 @@ $(document).ready(function() loadCalendarMainPage(); setInterval("loadCalendarMainPage()", 123*1000); } - if (document.getElementById("sensorgraphs")) - { - setInterval("updateSensors()",145*1000); - } - if (document.getElementById("tempgooglegraph") || document.getElementById("lightgooglegraph")) +// if (document.getElementById("sensorgraphs")) +// { +// setInterval("updateSensors()",145*1000); +// } + if (document.getElementById("tempgooglegraph") || document.getElementById("lightgooglegraph") || document.getElementById("movementgooglegraph")) { loadAndDrawSensorData(); setInterval("loadAndDrawSensorData()",145*1000); -- 1.7.10.4