From 3c97fea4bcc404a0479016493df47e30f6e1b3a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Fri, 31 Jul 2026 14:04:02 +0400 Subject: [PATCH] =?UTF-8?q?v1.2.13:=20Organization=20card=20=E2=80=94=20sa?= =?UTF-8?q?me=20style=20as=20infra=20items=20+=20UUID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Collapsible header like other infra cards - Table row with displayName + instanceUid + status badge - ClientID shown in header --- site/app.py | 2 +- site/templates/index.html | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/site/app.py b/site/app.py index f437f27..bd59e49 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.12" +VERSION = "1.2.13" 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/templates/index.html b/site/templates/index.html index 24cdf05..4c519f9 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -107,10 +107,11 @@
Обзор
{% if organization %}
-
Организация
-
- {{ organization.displayName }}{% if client_id %} ({{ client_id }}){% endif %}
- {{ organization.explainedStatus or "OK" }} +
Организация{% if client_id %} ({{ client_id }}){% endif %}
+
+ + +
{{ organization.displayName }}
{{ organization.instanceUid }}
{{ organization.explainedStatus or 'OK' }}
{% endif %}