From d964bdb005f64919c8229e3c6c3f5f07c977fe15 Mon Sep 17 00:00:00 2001 From: zuevav Date: Thu, 24 Sep 2026 12:10:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D1=81=D1=82=20DEPO:=20=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=BA=D0=B8=20=D0=B1=D1=83=D0=BC=D0=B0=D0=B3=20?= =?UTF-8?q?=E2=80=94=20=D1=81=D0=BF=D0=B8=D1=81=D0=BE=D0=BA=20=D0=B8=D0=B7?= =?UTF-8?q?=20=D0=BA=D0=BE=D0=B4=D0=B0=20(slice=20=D0=B2=20=D1=88=D0=B0?= =?UTF-8?q?=D0=B1=D0=BB=D0=BE=D0=BD=D0=B5=20=D0=BB=D0=BE=D0=BC=D0=B0=D0=BB?= =?UTF-8?q?=20=D1=84=D0=BE=D1=80=D0=BC=D1=83)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- internal/lkgateway/depotest.go | 3 ++- internal/lkgateway/web/templates/admin_depo_test.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/lkgateway/depotest.go b/internal/lkgateway/depotest.go index dc3550b..45e8c35 100644 --- a/internal/lkgateway/depotest.go +++ b/internal/lkgateway/depotest.go @@ -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) { diff --git a/internal/lkgateway/web/templates/admin_depo_test.html b/internal/lkgateway/web/templates/admin_depo_test.html index eede5f6..50bad3a 100644 --- a/internal/lkgateway/web/templates/admin_depo_test.html +++ b/internal/lkgateway/web/templates/admin_depo_test.html @@ -48,7 +48,7 @@
{{$o := .Outcomes}}{{$c := .Codes}} - {{range $i, $n := (slice "1" "2" "3" "4" "5")}} + {{range $n := .Rows}}