Files
Adrian Zürcher 9f262c4a55
All checks were successful
Build Process Supervisor / build (amd64, .exe, windows) (push) Successful in 2m24s
Build Process Supervisor / build (amd64, , linux) (push) Successful in 2m36s
Build Process Supervisor / build (arm, 6, , linux) (push) Successful in 2m19s
Build Process Supervisor / build (arm64, , linux) (push) Successful in 2m14s
more abstraction and simple dashboard for processes
2025-08-06 13:57:34 +02:00

57 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Process Dashboard</title>
<script src="https://unpkg.com/htmx.org@1.9.5"></script>
</head>
<body>
<ul id="process-page">
<div class="top-link-container">
<a href="/taskmanager/htop" class="top-link" target="_blank" rel="noopener noreferrer">
📈 Task Manager
</a>
</div>
<!-- Header -->
<h2>Processes</h2>
<ul id="process-list"
hx-get="/processes"
hx-trigger="every 5s"
hx-swap="innerHTML">
{{ template "processes.html" . }}
</ul>
</body>
<style>
body {
font-family: "Segoe UI", Roboto, sans-serif;
margin: 2rem;
background-color: #f7f9fb;
color: #222;
}
.top-link-container {
text-align: center;
margin-bottom: 2rem;
}
.top-link {
font-size: 1.2rem;
text-decoration: none;
color: #4a90e2;
font-weight: 500;
}
.top-link:hover {
text-decoration: underline;
}
h2 {
text-align: center;
color: #444;
margin-bottom: 1.5rem;
}
</style>
</html>