Implement client side enable, disable, edit

This commit is contained in:
bel
2020-03-15 20:14:03 +00:00
parent 4467094230
commit 0971908da7
8 changed files with 63 additions and 18 deletions

View File

@@ -33,6 +33,7 @@ func (s *Server) list(w http.ResponseWriter, r *http.Request) {
if err != nil {
panic(err)
}
out[i]["disabled"] = j.Disabled
out[i]["id"] = j.Name
out[i]["title"] = j.Title
out[i]["cron"] = j.Schedule