update security

This commit is contained in:
David Schroeder
2026-07-26 16:41:25 -05:00
parent 90b7b2c597
commit 81f65b5173
14 changed files with 869 additions and 5 deletions
+61
View File
@@ -0,0 +1,61 @@
{{define "hosts.html"}}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{.Title}} · TAPM</title>
<link rel="stylesheet" href="/static/app.css">
</head>
<body>
{{template "topbar" .}}
<main class="page">
<section class="view-heading">
<div>
<p class="eyebrow">Privacy-minimized fleet registry</p>
<h1>ProxMenu hosts.</h1>
<p>Installations are identified by a random ID. No hostname, machine ID, username, VM inventory, or credential is collected.</p>
</div>
</section>
<section class="panel">
<div class="fleet-table">
<div class="fleet-row fleet-header" aria-hidden="true">
<span>Installation</span>
<span>Software</span>
<span>Platform</span>
<span>Last activity</span>
</div>
{{range .FleetHosts}}
<article class="fleet-row">
<div>
<strong>{{shortInstallationID .InstallationID}}</strong>
<span class="status {{if .VerifiedAt.Valid}}enabled{{end}}">{{if .VerifiedAt.Valid}}Verified{{else}}Unverified{{end}}</span>
<small>First seen {{formatTime .FirstSeenAt}}</small>
</div>
<div>
<strong>{{if .ProxMenuVersion}}{{.ProxMenuVersion}}{{else}}Unknown version{{end}}</strong>
{{if .GitCommit}}<small>Commit {{shortCommit .GitCommit}}</small>{{end}}
</div>
<div>
<span>{{if .PVEVersion}}{{.PVEVersion}}{{else}}Unknown PVE{{end}}</span>
<small>{{.OSVersion}}{{if .Architecture}} · {{.Architecture}}{{end}}</small>
{{if .KernelVersion}}<small>Kernel {{.KernelVersion}}</small>{{end}}
<small>{{if .Clustered}}Clustered{{else}}Standalone{{end}}</small>
</div>
<div>
<strong>{{.LastEvent}} · {{.LastResult}}</strong>
<span class="status {{if isStale .LastSeenAt}}closed{{else}}enabled{{end}}">{{if isStale .LastSeenAt}}Stale{{else}}Current{{end}}</span>
<small>{{formatTime .LastSeenAt}}</small>
{{if .LastErrorCode}}<small>Error: {{.LastErrorCode}}</small>{{end}}
</div>
</article>
{{else}}
<p class="empty">No ProxMenu installations have registered yet.</p>
{{end}}
</div>
</section>
</main>
</body>
</html>
{{end}}