-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConsole.html
49 lines (48 loc) · 1.88 KB
/
Console.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PixlSMP Dashboard</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="content">
<div class="main-content">
<div class="top">
P i x l S M P
</div>
<br>
<div class="dashboard">
<div>
<a class="links" href="./index.html"> Übersicht</a> <br>
<a class="links link_active" href="./Console.html"> Konsole</a> <br>
<a class="links" href="./Auslastung.html"> Auslastung</a> <br>
<a class="links" href="./Screenshots.html"> Screenshots</a> <br>
<a class="links" href="./Waypoints.html"> Waypoints</a> <br>
<a class="links" href="./SFTP-Server.html"> SFPT-Server</a>
</div>
<div>
<div id="console" class="usage"></div>
<script>
// Funktion zum Aktualisieren der Temperatur
function updateTemperatur() {
// Führe den Befehl aus und aktualisiere die Anzeige
$.ajax({
url: 'console.php', // Beispiel-Pfad zu deinem Skript
type: 'GET',
success: function(data) {
$('#console').text(data);
}
});
}
// Aktualisiere die Temperatur alle 1000 Millisekunden (1 Sekunde)
setInterval(updateTemperatur, 1);
</script>
</div>
</div>
</div>
</div>
</body>
</html>