Curemtnt STtaus, added clap moving to tokio next

This commit is contained in:
2020-01-26 16:01:34 +01:00
parent 972f111f1d
commit 6976c72cbf
15 changed files with 1216 additions and 9 deletions

23
Other tries/index.html Normal file
View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<body onload="init()">
<p><span id="res"></span></p>
<script>
function init() {
setInterval(() => {
loadDoc("racestate.txt");
}, 250);
}
function loadDoc(url) {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById("res").innerHTML = this.responseText;
}
};
xhttp.open("GET", url, true);
xhttp.send();
}
</script>
</body>
</html>