Accessibility: skip link, labelled landmarks, visible focus, page-change announcements, sortable headings as real buttons, every label tied to its field, named row checkboxes, and text contrast raised to 4.5:1 in both themes. Command palette: also runs actions (silence/end maintenance, theme, density, wall display, sign out) and is a proper dialog; g-then-letter shortcuts, "/" and "?". Row detail panel for six tables. Server Activity card, with the health check now recording offline/back-online and disk events in the audit log. Map page of hosts, servers, DNS names and monitors. Full-screen wall display. A getting-started checklist on the admin dashboard. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
15 lines
522 B
TypeScript
15 lines
522 B
TypeScript
import { Router } from "express";
|
|
import { requireAuth } from "../auth/middleware.js";
|
|
import { buildTopology } from "../services/topology.js";
|
|
import { asyncHandler } from "../utils/asyncHandler.js";
|
|
|
|
export const mapRouter = Router();
|
|
|
|
mapRouter.use(requireAuth);
|
|
|
|
// How servers, Proxmox hosts, DNS names and monitors connect. Everyone signed in can see it: it is the same information the pages
|
|
// it links to already show.
|
|
mapRouter.get("/", asyncHandler(async (_req, res) => {
|
|
res.json(await buildTopology());
|
|
}));
|