Commit 62a6f9c3 authored by Leigh B Stoller's avatar Leigh B Stoller

Add 30 second refresh.

parent 9b8f98bb
......@@ -16,7 +16,26 @@ function (sup, clusterString)
"#status-nofed","auto","large");
bilevelAsterGraph("/cloudlab-fedonly.json",
"#status-fedonly","auto","large");
setTimeout(function f() { Refresh() }, 30000);
}
/*
* Refresh the graphs.
*/
function Refresh()
{
$('#status-fedonly').html("");
$('#status-nofed').html("");
$("div").remove(".d3-tip");
bilevelAsterGraph("/cloudlab-nofed.json",
"#status-nofed","auto","large");
bilevelAsterGraph("/cloudlab-fedonly.json",
"#status-fedonly","auto","large");
setTimeout(function f() { Refresh() }, 30000);
}
$(document).ready(initialize);
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment