Тест DEPO: строки бумаг — список из кода (slice в шаблоне ломал форму)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -363,9 +363,10 @@ func registerDepoTest(mux *http.ServeMux, a *admin) {
|
||||
DB string
|
||||
JobMode string
|
||||
Flash string
|
||||
Rows []string
|
||||
}{nowPage("Тестирование DEPO", "depotest"), clients, secs, parts, codes,
|
||||
append([]struct{ Code, Title string }(nil), depoTestOutcomes...), runs, running,
|
||||
fs.Server + " / " + fs.DepoDB(), fs.DepoJobMode, r.URL.Query().Get("flash")}
|
||||
fs.Server + " / " + fs.DepoDB(), fs.DepoJobMode, r.URL.Query().Get("flash"), []string{"1", "2", "3", "4", "5"}}
|
||||
render(w, a.depoTest, data)
|
||||
})
|
||||
mux.HandleFunc("/admin/depo-test/run", func(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
Reference in New Issue
Block a user