diff --git a/site/app.py b/site/app.py
index 0ec72e0..fd8b154 100644
--- a/site/app.py
+++ b/site/app.py
@@ -19,7 +19,7 @@ from routes.api_scenario_run import bp_run as api_scenario_run_bp
from routes.api_scenario_defs import bp_defs as api_scenario_defs_bp
# Версия — меняется при КАЖДОМ изменении кода. Показывается в топбаре UI.
-VERSION = "1.2.9"
+VERSION = "1.2.10"
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/js/views.js b/site/static/js/views.js
index 8f65f6b..e533f91 100644
--- a/site/static/js/views.js
+++ b/site/static/js/views.js
@@ -15,8 +15,17 @@ function switchView(viewId) {
if (viewId === 'scenarios-view' && typeof toggleScenario === 'function') {
if (!scenarioOpen) toggleScenario();
}
- if (viewId === 'logs-view' && typeof toggleLog === 'function') {
+ if (viewId === 'logs-view') {
+ // Показать лог в виде, скрыть нижнюю панель
const lp = document.getElementById('log-panel');
- if (lp && lp.style.display === 'none') toggleLog();
+ const lvc = document.getElementById('log-view-content');
+ if (lp && lvc) {
+ lvc.innerHTML = lp.innerHTML || 'Логи загружаются...';
+ lp.style.display = 'none';
+ }
+ } else {
+ // Скрыть нижнюю панель на всех видах кроме логов
+ const lp = document.getElementById('log-panel');
+ if (lp) lp.style.display = 'none';
}
}
diff --git a/site/templates/index.html b/site/templates/index.html
index 8995382..24cdf05 100644
--- a/site/templates/index.html
+++ b/site/templates/index.html
@@ -49,7 +49,7 @@