diff options
author | marc <marc@thinkpad.localnet.cc> | 2011-07-10 11:43:14 +0200 |
---|---|---|
committer | marc <marc@thinkpad.localnet.cc> | 2011-07-10 11:43:14 +0200 |
commit | 4e7f2748ccd6feba3e24b5ae5a285eeac7decc4b (patch) | |
tree | 443fb6b177212e2b124c4a95e76a5501068e5a81 /ebus/webapp/static/index.html | |
parent | 053dac10a85feea51cf6cb3435b3d3f08e4e0ddb (diff) | |
download | ebus-alt-4e7f2748ccd6feba3e24b5ae5a285eeac7decc4b.tar.gz ebus-alt-4e7f2748ccd6feba3e24b5ae5a285eeac7decc4b.zip |
Test mit Ajax und Flot bei der Auswertung
Diffstat (limited to 'ebus/webapp/static/index.html')
-rw-r--r-- | ebus/webapp/static/index.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ebus/webapp/static/index.html b/ebus/webapp/static/index.html new file mode 100644 index 0000000..84db15a --- /dev/null +++ b/ebus/webapp/static/index.html @@ -0,0 +1,19 @@ +<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> + $(document).ready(function(){ + $.getJSON("/sensor/heizkreisregler9.solarDaten.tempKollektor/1/1", + function(data) { + $.plot($("#ebusgraph"), [data], { xaxis: { mode: "time"}}); + }); + }); + </script> + </head> + <body> + <h1>ULTIMATE CONTROL PANEL</h1> + <div id="ebusgraph"></div> + </body> +</html> |