diff options
author | tigoe <tom.igoe@gmail.com> | 2013-07-06 09:11:37 -0400 |
---|---|---|
committer | tigoe <tom.igoe@gmail.com> | 2013-07-06 09:11:37 -0400 |
commit | 7310f8c8effd98901088584da55af9691d483932 (patch) | |
tree | 078c56dcd77e173ab7c92988c14987d06cbf0e22 /libraries/Bridge/examples/TemperatureWebPanel/www/index.html | |
parent | 028d96687cea24aec389c1d7ff66b7c46e2531bc (diff) |
Corrected file structure on TemperatureWebPanel
Diffstat (limited to 'libraries/Bridge/examples/TemperatureWebPanel/www/index.html')
-rwxr-xr-x | libraries/Bridge/examples/TemperatureWebPanel/www/index.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libraries/Bridge/examples/TemperatureWebPanel/www/index.html b/libraries/Bridge/examples/TemperatureWebPanel/www/index.html new file mode 100755 index 0000000..29c2704 --- /dev/null +++ b/libraries/Bridge/examples/TemperatureWebPanel/www/index.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + <head> + <script type="text/javascript" src="zepto.min.js"></script> + <script type="text/javascript"> + function refresh() { + $('#content').load('/arduino/temperature'); + } +</script> + + </head> + <body onload="setInterval(refresh, 1000);"> + <span id="content">0</span> + </body> +</html> + |