mirror of
https://github.com/bobwen-dev/cockpit-temperature-plugin
synced 2025-04-11 22:56:08 +02:00
39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
|
|
<head>
|
|
<title>Temperature</title>
|
|
<meta charset="utf-8">
|
|
<link href="../base1/cockpit.css" type="text/css" rel="stylesheet">
|
|
<script src="../base1/jquery.js"></script>
|
|
<script src="../base1/cockpit.js"></script>
|
|
<script type="text/javascript" src="smoothie.js"></script>
|
|
<script type="text/javascript" src="temperature.js"></script>
|
|
|
|
<style>
|
|
tr {
|
|
font-size: 16pt
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body onresize="resize_canvas()">
|
|
<div align=center>
|
|
<table id=table style="width:100%;font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif">
|
|
<tr>
|
|
<th colspan="2" style="font-size:24pt;text-align:center">CPU Temperature</th>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" style="text-align:center;width:100%"><canvas id="smoothie-chart" height="300"></canvas></td>
|
|
</tr>
|
|
<tr>
|
|
<th style="text-align:right;width:30%;padding:4px">Current Temperature [°C]:</th><td id="cur_temp" style="text-align:left;width: 70%"></td>
|
|
</tr>
|
|
<tr>
|
|
<th style="text-align:right;padding:4px">Average Temperature [°C](5m):</th><td id=avg_temp style="text-align:left"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |