first commit

This commit is contained in:
s.golasch
2023-08-01 13:11:28 +02:00
commit 7dbc2efe1d
95 changed files with 7441 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
// Query the status method
request = new XMLHttpRequest();
request.open('GET', 'http://localhost:7020/status', true);
request.onload = function() {
// Put the received data into the dom
var el = document.createElement('div');
var contents = document.createTextNode(request.responseText);
el.appendChild(contents);
document.getElementsByTagName('body')[0].appendChild(el);
};
request.onerror = function() {
// There was a connection error of some sort
console.error('err:', arguments);
};
// Fire the request
request.send();