v1.1.7: move create-btn after params, before history

This commit is contained in:
2026-07-28 13:17:00 +04:00
parent 5a4fad5d96
commit 9b003b4723
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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.6"
VERSION = "1.1.7"
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")
+5 -5
View File
@@ -110,11 +110,6 @@
<div class="card-body" style="padding:4px;" id="inst-list">
<span style="color:var(--muted);font-size:11px;">Загрузка...</span>
</div>
<div style="padding:4px 8px 8px;" id="create-btn-area">
<div class="inst-item" style="border-top:1px solid var(--brand-gray);padding-top:8px;margin-top:4px;" onclick="startCreate()">
<span style="flex:1;color:var(--brand-primary);cursor:pointer;">+ Создать новый инстанс</span>
</div>
</div>
</div>
<div id="params-area" style="display:none;padding:0 8px 8px;">
<div id="params-form"></div>
@@ -124,6 +119,11 @@
</div>
<div id="stages-box" style="display:none;max-height:200px;overflow-y:auto;"></div>
</div>
<div id="create-btn-area" style="padding:0 8px 8px;">
<div class="inst-item" style="border-top:1px solid var(--brand-gray);padding-top:8px;margin-top:4px;" onclick="startCreate()">
<span style="flex:1;color:var(--brand-primary);cursor:pointer;">+ Создать новый инстанс</span>
</div>
</div>
<div class="card" id="history-card" style="margin-top:8px;">
<div class="card-header" style="font-size:12px;cursor:pointer;" onclick="toggleHistory()">История <span style="color:var(--muted);font-size:10px;">(последние 50)</span></div>
<div class="card-body" style="padding:4px;display:none;max-height:300px;overflow-y:auto;" id="history-body">