diff --git a/cmd/dkl-local-server/main.go b/cmd/dkl-local-server/main.go index 8096f22..55a996e 100644 --- a/cmd/dkl-local-server/main.go +++ b/cmd/dkl-local-server/main.go @@ -72,6 +72,7 @@ func main() { staticHandler := http.FileServer(http.FS(dlshtml.FS)) http.Handle("/favicon.ico", staticHandler) http.Handle("/ui/", staticHandler) + http.Handle("/dist/", http.StripPrefix("/dist/", http.FileServer(http.Dir(*dataDir+"/dist")))) http.Handle("/public-state", streamsse.StreamHandler(wPublicState)) http.Handle("/state", requireAdmin(streamsse.StreamHandler(wState))) diff --git a/html/ui/style.css b/html/ui/style.css index e3c7a74..e75d6f4 100644 --- a/html/ui/style.css +++ b/html/ui/style.css @@ -55,6 +55,11 @@ th, tr:last-child > td { textarea, input[type=text] { background: #111; color: #ddd; + border: dotted 1pt; + border-top-color: #805300; + border-left-color: #805300; + border-bottom-color: orange; + border-right-color: orange; } }