Cleanup and readme notes

This commit is contained in:
2020-04-05 18:29:27 +02:00
parent 5c65f305da
commit 4d8c80c2d8
7 changed files with 29 additions and 206 deletions

23
Legacy/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>