v1.1.7: move create-btn after params, before history
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ from routes.api import bp as api_bp
|
|||||||
from routes.api_test import bp as api_test_bp
|
from routes.api_test import bp as api_test_bp
|
||||||
|
|
||||||
# Версия — меняется при КАЖДОМ изменении кода. Показывается в топбаре UI.
|
# Версия — меняется при КАЖДОМ изменении кода. Показывается в топбаре UI.
|
||||||
VERSION = "1.1.6"
|
VERSION = "1.1.7"
|
||||||
|
|
||||||
app = Flask(__name__, template_folder="templates", static_folder="static")
|
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")
|
app.config["NUBES_API_ENDPOINT"] = os.getenv("NUBES_API_ENDPOINT", "https://lk-api-gateway-test.ngcloud.ru/api/v1/svc")
|
||||||
|
|||||||
@@ -110,11 +110,6 @@
|
|||||||
<div class="card-body" style="padding:4px;" id="inst-list">
|
<div class="card-body" style="padding:4px;" id="inst-list">
|
||||||
<span style="color:var(--muted);font-size:11px;">Загрузка...</span>
|
<span style="color:var(--muted);font-size:11px;">Загрузка...</span>
|
||||||
</div>
|
</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>
|
||||||
<div id="params-area" style="display:none;padding:0 8px 8px;">
|
<div id="params-area" style="display:none;padding:0 8px 8px;">
|
||||||
<div id="params-form"></div>
|
<div id="params-form"></div>
|
||||||
@@ -124,6 +119,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="stages-box" style="display:none;max-height:200px;overflow-y:auto;"></div>
|
<div id="stages-box" style="display:none;max-height:200px;overflow-y:auto;"></div>
|
||||||
</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" 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-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">
|
<div class="card-body" style="padding:4px;display:none;max-height:300px;overflow-y:auto;" id="history-body">
|
||||||
|
|||||||
Reference in New Issue
Block a user