feat: restore cron page, email in navbar, metrics pipeline v1.3.19

This commit is contained in:
Naeel
2026-05-02 13:58:45 +04:00
committed by “Naeel”
parent 1610011f7f
commit 2bc04d5bfd
11 changed files with 833 additions and 20 deletions
+16
View File
@@ -0,0 +1,16 @@
package ui
import (
_ "embed"
"net/http"
)
//go:embed cron.html
var cronPage string
func CronHandler() http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("Content-Type", "text/html; charset=utf-8")
_, _ = w.Write([]byte(cronPage))
})
}