feat: status page + maintenance
This commit is contained in:
		
							parent
							
								
									674edf2bf2
								
							
						
					
					
						commit
						7a2fdec8d4
					
				@ -3,9 +3,7 @@ function reboot() {
 | 
			
		||||
  xhttp.onreadystatechange = function() {
 | 
			
		||||
    if (this.readyState == 4 && this.status == 200) {
 | 
			
		||||
      document.getElementById("logs").innerHTML = this.responseText;
 | 
			
		||||
      setTimeout(function () {
 | 
			
		||||
        document.location="https://www.thsf.net/thsf.net/maintenance/status.py"}, 5000
 | 
			
		||||
      );
 | 
			
		||||
      setTimeout(function () {location.reload()}, 5000);
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
  xhttp.open("GET", "https://www.thsf.net/thsf.net/maintenance/reboot.py", true);
 | 
			
		||||
 | 
			
		||||
@ -55,7 +55,7 @@
 | 
			
		||||
}
 | 
			
		||||
.container_log {
 | 
			
		||||
  text-align: left;
 | 
			
		||||
  width: 48em;
 | 
			
		||||
  width: 48.4em;
 | 
			
		||||
  padding: 0.2em;
 | 
			
		||||
  border-width: 1px;
 | 
			
		||||
  border-style: solid;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user