2023-05-27 18:46:33 +11:00
|
|
|
$("#reboot").on("click", function(){
|
|
|
|
console.log("vroom");
|
2023-05-27 17:58:14 +11:00
|
|
|
$.get("https://www.thsf.net/thsf.net/maintenance/reboot.py", function(data, status){
|
2023-05-27 18:22:38 +11:00
|
|
|
console.log(status);
|
2023-05-27 18:46:33 +11:00
|
|
|
$("#logs").html = data;
|
2023-05-27 17:58:14 +11:00
|
|
|
setTimeout(function () {document.location.reload()}, 5000);
|
|
|
|
});
|
|
|
|
});
|