summaryrefslogtreecommitdiff
path: root/ebus
diff options
context:
space:
mode:
authoryvesf <yvesf-git@xapek.org>2011-07-18 09:17:10 +0200
committeryvesf <yvesf-git@xapek.org>2011-07-18 09:17:10 +0200
commit3c080ad7ebe97016b19f0a67f4bc94a4cfcf65bc (patch)
tree78acccdf04f82116a8d2a2f1948ebd3c3cfe3779 /ebus
parent447c1cc5876044035de5b016985b324f72b3b1ff (diff)
downloadebus-alt-3c080ad7ebe97016b19f0a67f4bc94a4cfcf65bc.tar.gz
ebus-alt-3c080ad7ebe97016b19f0a67f4bc94a4cfcf65bc.zip
relative pfade
Diffstat (limited to 'ebus')
-rw-r--r--ebus/webapp/static/ebus.js6
-rw-r--r--ebus/webapp/static/index.html8
2 files changed, 7 insertions, 7 deletions
diff --git a/ebus/webapp/static/ebus.js b/ebus/webapp/static/ebus.js
index afd667f..4563ee9 100644
--- a/ebus/webapp/static/ebus.js
+++ b/ebus/webapp/static/ebus.js
@@ -45,7 +45,7 @@ $(document).ready(function(){
plotSensorOverview(sensorname);
}
var plotSensorDetail = function(sensorname) {
- $.getJSON("/sensor/"+escape(sensorname)+"/"+from+"/"+to,
+ $.getJSON("sensor/"+escape(sensorname)+"/"+from+"/"+to,
function(response) {
if (response['data']) {
datasetDetail.push({'data':response['data'],
@@ -57,7 +57,7 @@ $(document).ready(function(){
});
};
var plotSensorOverview = function(sensorname) {
- $.getJSON("/sensor_cached/"+escape(sensorname)+"/"+fromOverview, //+"/"+to,
+ $.getJSON("sensor_cached/"+escape(sensorname)+"/"+fromOverview, //+"/"+to,
function(response) {
if (response['data']) {
datasetOverview.push({'data':response['data'],
@@ -96,4 +96,4 @@ $(document).ready(function(){
plotSensor("heizkreisregler10.betriebsdatenRegler1.kesselTemperatur");
plotSensor("feuerungsautomat1.betriebsdatenRegler1.aussenTemperatur");
// TODO http://people.iola.dk/olau/flot/examples/annotating.html
-}); \ No newline at end of file
+});
diff --git a/ebus/webapp/static/index.html b/ebus/webapp/static/index.html
index e6ab5b9..16fa3ac 100644
--- a/ebus/webapp/static/index.html
+++ b/ebus/webapp/static/index.html
@@ -1,10 +1,10 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/static/main.css" />
- <script src="/static/jquery-1.6.2.min.js"></script>
- <script src="/static/jquery.flot.js"></script>
- <script src="/static/jquery.flot.selection.js"></script>
- <script src="/static/ebus.js"></script>
+ <script src="static/jquery-1.6.2.min.js"></script>
+ <script src="static/jquery.flot.js"></script>
+ <script src="static/jquery.flot.selection.js"></script>
+ <script src="static/ebus.js"></script>
</head>
<body>
<div id="ebusgraph"></div>