Compare commits

...

2 Commits

Author SHA1 Message Date
08cbccc756 allow download of .../dist assets 2025-07-08 21:45:33 +02:00
62882e78d8 darken inputs in dark mode 2025-07-08 14:50:14 +02:00
2 changed files with 11 additions and 0 deletions

View File

@ -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)))

View File

@ -51,6 +51,16 @@ th, tr:last-child > td {
}
.red { color: #c00; }
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;
}
}
header {