adding maintenance info
This commit is contained in:
40
sys0-code/app/maintenance.html
Normal file
40
sys0-code/app/maintenance.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Wartungsmodus</title>
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
.maintenance-message {
|
||||
text-align: center;
|
||||
max-width: 600px;
|
||||
padding: 20px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
background-color: #fff;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="maintenance-message">
|
||||
<h1 class="display-4">Wartungsmodus</h1>
|
||||
<p class="lead">System0-2.0 wird derzeit gewartet. Wir sind bald wieder für Sie da.</p>
|
||||
<hr class="my-4">
|
||||
<p>Vielen Dank für Ihr Verständnis und Ihre Geduld.</p>
|
||||
</div>
|
||||
|
||||
<!-- Bootstrap JS and dependencies (optional) -->
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.3.0/js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -107,7 +107,7 @@ function getColorByStatus(status) {
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
fetchPrinterData();
|
||||
setInterval(fetchPrinterData, 60000); // Refresh every 60 seconds
|
||||
setInterval(fetchPrinterData, 6000); // Refresh every 60 seconds
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user