From ec933815d85cd1fda8c39011343f4c53e5ca9c44 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 10:18:39 +0900 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86?= =?UTF-8?q?=D0=B0=20=D1=85=D0=BE=D1=81=D1=82=D0=B0=20=D0=B1=D1=8B=D0=BB?= =?UTF-8?q?=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD?= =?UTF-8?q?=D0=B0=20=D0=BD=D0=B0=20=D0=B5=D0=B4=D0=B8=D0=BD=D0=BE=D0=B5=20?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/templates/host.html | 154 +++++++++++++++++++++------------------- 1 file changed, 79 insertions(+), 75 deletions(-) diff --git a/web/templates/host.html b/web/templates/host.html index 0d19e9c..0406140 100644 --- a/web/templates/host.html +++ b/web/templates/host.html @@ -7,86 +7,90 @@ -
-
-
-
Профиль хоста
-
Автоматически выбранная сборка Virtuality
-
-
- user: {{ user }} - Сеть - Создать VM - ← Дашборд -
-
+
+ {% include "_sidebar.html" %} - {% if profile.virtualization_warning %} -
{{ profile.virtualization_warning }}
- {% endif %} +
+
+
+
Профиль хоста
+
Автоматически выбранная сборка Virtuality
+
+
+ user: {{ user }} + ← Дашборд +
+
+
-
-
-
Profile
-
{{ profile.label }}
-
-
-
Arch
-
{{ profile.arch }}
-
-
-
Virtualization
-
{{ profile.virtualization_mode|default('unknown') }}
-
-
-
Default network
-
{{ profile.recommended_network }}
-
-
+ {% if profile.virtualization_warning %} +
{{ profile.virtualization_warning }}
+ {% endif %} -
-
+
+
+
Profile
+
{{ profile.label }}
+
+
+
Arch
+
{{ profile.arch }}
+
+
+
Virtualization
+
{{ profile.virtualization_mode|default('unknown') }}
+
+
+
Default network
+
{{ profile.recommended_network }}
+
+
+ +
+
+
+

Модель устройства

+ auto-detected +
+
+
Model{{ profile.model }}
+
VM mode{{ profile.recommended_vm_mode }}
+
Ready{{ 'yes' if profile.ready else 'needs check' }}
+
+
+ На физическом сервере для нормальной скорости нужен KVM: включи Intel VT-x / AMD-V в BIOS/UEFI. Если KVM недоступен, Virtuality может использовать QEMU fallback, но VM будут работать медленно. +
+
+ +
+
+

Проверки

+
+
+
+ {% for check in profile.checks %} + {% set level = check.level|default('ok' if check.ok else 'err') %} +
+ + {{ check.name }} + {{ check.hint }} + + {{ 'OK' if level == 'ok' else 'WARN' if level == 'warn' else 'FAIL' }} +
+ {% endfor %} +
+
+
+ +
-

Модель устройства

- auto-detected +

Raw profile

+ /var/lib/virtuality/config/host_profile.json
-
-
Model{{ profile.model }}
-
VM mode{{ profile.recommended_vm_mode }}
-
Ready{{ 'yes' if profile.ready else 'needs check' }}
-
-
- На физическом сервере для нормальной скорости нужен KVM: включи Intel VT-x / AMD-V в BIOS/UEFI. Если KVM недоступен, Virtuality может использовать QEMU fallback, но VM будут работать медленно. -
-
- -
-
-

Проверки

-
-
-
- {% for check in profile.checks %} - {% set level = check.level|default('ok' if check.ok else 'err') %} -
- - {{ check.name }} - {{ check.hint }} - - {{ 'OK' if level == 'ok' else 'WARN' if level == 'warn' else 'FAIL' }} -
- {% endfor %} -
-
-
- -
-
-

Raw profile

- /var/lib/virtuality/config/host_profile.json -
-
{{ profile_json }}
-
+
{{ profile_json }}
+ +
+