From 881351d8c24076d405f57eaf6d1fe41947f2d2a2 Mon Sep 17 00:00:00 2001 From: zuevav Date: Mon, 5 Oct 2026 19:38:45 +0300 Subject: [PATCH] =?UTF-8?q?=C2=AB=D0=9F=D0=BE=D0=B4=D0=B3=D0=BE=D1=82?= =?UTF-8?q?=D0=BE=D0=B2=D0=BA=D0=B0=20=D0=BC=D0=BE=D0=B4=D1=83=D0=BB=D0=B5?= =?UTF-8?q?=D0=B9=C2=BB:=20=D0=BF=D0=BE=D0=BB=D0=BE=D1=81=D0=BA=D0=B0=20?= =?UTF-8?q?=D1=85=D0=BE=D0=B4=D0=B0=20=D1=83=D1=81=D1=82=D0=B0=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=BA=D0=B8=20=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=D1=83?= =?UTF-8?q?=D0=B5=D1=82=D1=81=D1=8F=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20tra?= =?UTF-8?q?nsform,=20=D0=B0=20=D0=BD=D0=B5=20width?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014FsEKyJrYF69Cj9ZXzFLRi --- internal/lkgateway/web/templates/admin_prepare.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/lkgateway/web/templates/admin_prepare.html b/internal/lkgateway/web/templates/admin_prepare.html index f86152b..1364aee 100644 --- a/internal/lkgateway/web/templates/admin_prepare.html +++ b/internal/lkgateway/web/templates/admin_prepare.html @@ -10,7 +10,7 @@ .prep-row b { font-weight:620; } .prep-row .muted { font-size:13px; } .prep-bar { height:6px; border-radius:3px; background:var(--card-2); overflow:hidden; margin:6px 0 0; } -.prep-bar i { display:block; height:100%; width:0; background:var(--accent); transition:width .4s ease; } +.prep-bar i { display:block; height:100%; width:100%; background:var(--accent); transform-origin:left center; transform:scaleX(0); transition:transform .4s ease; } .prep-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:16px; flex-wrap:wrap; } @keyframes prepspin { to { transform:rotate(360deg); } } .spin { display:inline-block; width:14px; height:14px; border:2px solid var(--accent-weak); border-top-color:var(--accent); border-radius:50%; animation:prepspin .8s linear infinite; vertical-align:-2px; } @@ -40,7 +40,7 @@ function mb(n){return (n/1048576).toFixed(1).replace('.',',')+' МБ'} function draw(d){ rows.innerHTML=d.items.map(function(it){return '
'+ic[it.state]+'
'+esc(it.title)+''+(it.detail?'
'+esc(it.detail)+'':'')+'
'}).join(''); - if(d.running && d.stage){ prog.style.display=''; stage.textContent=d.stage+(d.total?' — '+mb(d.done)+' из '+mb(d.total):''); fill.style.width=(d.total?Math.min(100,Math.round(d.done*100/d.total)):15)+'%'; } + if(d.running && d.stage){ prog.style.display=''; stage.textContent=d.stage+(d.total?' — '+mb(d.done)+' из '+mb(d.total):''); fill.style.transform='scaleX('+(d.total?Math.min(1,d.done/d.total):0.15)+')'; } else prog.style.display='none'; var bad=d.items.filter(function(it){return it.state==='err'}).length, warn=d.items.filter(function(it){return it.state==='warn'}).length; if(d.running || d.busy || (d.pending && !d.finished)){ sum.innerHTML='Ставлю и запускаю модули… обычно меньше минуты'; nxt.style.display='none'; return false; }