From 2eecf17aa4af2faf5598883582c7a8bd0c86a4fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Wed, 29 Jul 2026 11:03:31 +0400 Subject: [PATCH] =?UTF-8?q?v1.1.18:=20fix=20stages=20position=20for=20CREA?= =?UTF-8?q?TE=20=E2=80=94=20after=20create-btn,=20not=20in=20inst-list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/app.py | 2 +- site/static/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/site/app.py b/site/app.py index 2a93fb3..9a71bae 100644 --- a/site/app.py +++ b/site/app.py @@ -18,7 +18,7 @@ from routes.api import bp as api_bp from routes.api_test import bp as api_test_bp # Версия — меняется при КАЖДОМ изменении кода. Показывается в топбаре UI. -VERSION = "1.1.17" +VERSION = "1.1.18" app = Flask(__name__, template_folder="templates", static_folder="static") app.config["NUBES_API_ENDPOINT"] = os.getenv("NUBES_API_ENDPOINT", "https://lk-api-gateway-test.ngcloud.ru/api/v1/svc") diff --git a/site/static/app.js b/site/static/app.js index 8b9884c..dc35c37 100644 --- a/site/static/app.js +++ b/site/static/app.js @@ -312,7 +312,7 @@ async function executeOp(params){ stagesBox.className='stages-box'; stagesBox.style.cssText='max-height:200px;overflow-y:auto;padding:4px 8px;margin-left:16px;background:var(--brand-grey-light);border-radius:4px;'; if(afterEl){afterEl.after(stagesBox);} - else{document.getElementById('inst-list').appendChild(stagesBox);} + else{document.getElementById('create-btn-area').after(stagesBox);} try{ const r=await fetch('/api/test',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({