forked from kuba-moo/nipa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstatus.html
77 lines (73 loc) · 1.73 KB
/
status.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PW status</title>
<link rel="shortcut icon" href="/favicon-status.png" type="image/png" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.min.js"></script>
<script src="status.js"></script>
<script>
do_it();
</script>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #eeeeee;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #eeeeee;
}
.row {
display: flex;
}
.column {
flex: 50%;
padding: 1em;
}
</style>
</head>
<body>
<div class="row">
<div class="column">
<h3>Processing times (by check post time)</h3>
<canvas id="process-time"></canvas>
</div>
<div class="column">
<h3>Processing times (by patch post time)</h3>
<canvas id="process-time-p"></canvas>
</div>
</div>
<div class="row">
<div class="column">
<table id="systemd">
<tr>
<th>Service</th>
<th>Active</th>
<th>State</th>
<th>Result</th>
<th>Tasks</th>
<th>CPU Use</th>
<th>Memory Use</th>
</tr>
</table>
<br>
<table id="runners">
<tr>
<th>Tree</th>
<th>Work</th>
</tr>
</table>
</div>
<div class="column">
<canvas id="run-time"></canvas>
</div>
</div>
</body>
</html>