Files
vacuum-wall/webui/static/pages/notfound.js
T
mteehan 5ba0f31767 Add state management, WebSocket polling, html.js templating, and refactor pages
- lib/state.py: per-subsystem collectors with versioned state store
- daemon/server.py: state refresh on request, batch routing updates
- webui/static/hoover/html.js: new html tag template helper via htm.js
- webui/static/hoover/websocket.js: real-time state change notifications
- webui/static/hoover/vdom.js: VDOM improvements for keyed diff
- All frontend pages refactored to use html templates
- Add tests for state management and polling
- Update docs and AGENTS.md
2026-06-23 21:12:56 +00:00

16 lines
424 B
JavaScript

import { html, PageHeader, definePage } from '/static/hoover/index.js?v=7';
export default definePage({
init() {
return { path: location.hash.slice(1) || '' };
},
render(state) {
return [
PageHeader({ title: '404' }),
html`<div class="card">
<div class="card-body text-muted">Page not found: ${state.path}</div>
</div>`,
];
},
});