From 1d5d063d6a443c9d4a1206d2743e4824411da956 Mon Sep 17 00:00:00 2001 From: mae Date: Wed, 4 Mar 2026 22:50:58 -0600 Subject: cmd/mbf: package status dashboard This displays package metadata with optional status from a report. --- cmd/mbf/internal/pkgserver/ui/ui.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 cmd/mbf/internal/pkgserver/ui/ui.go (limited to 'cmd/mbf/internal/pkgserver/ui/ui.go') diff --git a/cmd/mbf/internal/pkgserver/ui/ui.go b/cmd/mbf/internal/pkgserver/ui/ui.go new file mode 100644 index 00000000..3fc0d89c --- /dev/null +++ b/cmd/mbf/internal/pkgserver/ui/ui.go @@ -0,0 +1,9 @@ +// Package ui holds the static web UI. +package ui + +import "net/http" + +// Register arranges for mux to serve the embedded frontend. +func Register(mux *http.ServeMux) { + mux.Handle("GET /", http.FileServer(http.FS(static))) +} -- cgit v1.3.1