From d0152da73b11f8f5ba18ecfc04c27555cb2fc588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80?= <78488229+viktor138irk@users.noreply.github.com> Date: Thu, 7 May 2026 08:58:55 +0900 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BC=D0=BF=D0=B0=D0=BA=D1=82?= =?UTF-8?q?=D0=BD=D1=8B=D0=B5=20=D0=B4=D0=B5=D0=B9=D1=81=D1=82=D0=B2=D0=B8?= =?UTF-8?q?=D1=8F=20VM=20=D0=B1=D1=8B=D0=BB=D0=B8=20=D0=B4=D0=BE=D0=B1?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D1=8B=20=D0=BD=D0=B0=20=D0=B4?= =?UTF-8?q?=D0=B0=D1=88=D0=B1=D0=BE=D1=80=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/templates/dashboard.html | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/web/templates/dashboard.html b/web/templates/dashboard.html index b66bd32..65f8fd5 100644 --- a/web/templates/dashboard.html +++ b/web/templates/dashboard.html @@ -80,23 +80,31 @@ + Создать VM - +
{% for vm in vms %} - + {% set is_running = 'running' in vm.state %} + - - + {% else %}
IDNameIPStateActions
{{ vm.id }} {{ vm.name }} {{ vm.ip|default('—') }}{{ vm.state }} - Подробнее -
-
-
-
+
{{ vm.state }} +
+ Детали + Консоль + {% if is_running %} +
+
+
+ {% else %} +
+
+ {% endif %} +