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