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 %} +