Mercurial > bottledash
diff views/bottledash_view.tpl @ 22:3dfa9ed1dd8b
added static files
author | sean |
---|---|
date | Thu, 13 Aug 2015 13:01:12 +0200 |
parents | f730dd0bcf85 |
children | f63737665ac5 |
line wrap: on
line diff
--- a/views/bottledash_view.tpl Thu Aug 13 12:17:46 2015 +0200 +++ b/views/bottledash_view.tpl Thu Aug 13 13:01:12 2015 +0200 @@ -127,16 +127,14 @@ document.getElementById(ip).className = "tile statusmon " + status; } - //check current state of I + //check current state of an IP function check_server_state(ip){ var request = new XMLHttpRequest(); var params = "service=" + ip; request.open('POST', "http://localhost:8080/ask-systemstate", false); request.send(params); - // console.log(request.responseText); return request.responseText - } function check_server_state_loop() {