add and test style from file

This commit is contained in:
bel
2020-03-15 16:55:46 +00:00
parent c1fe373427
commit 9d51626e4b
4 changed files with 52 additions and 8 deletions

View File

@@ -35,6 +35,7 @@ func (s *Server) list(w http.ResponseWriter, r *http.Request) {
panic(err)
}
out[i]["id"] = j.Name
out[i]["title"] = j.Title
out[i]["cron"] = j.Schedule
out[i]["language"] = j.Runner.String()
out[i]["script"] = j.Raw