{# R90.8 part 4 (Hani #1 2026-11-21, approved 2026-11-24): a VM's own actions in the left tree (▾) and the device list
(Actions…) - the same actions as its node's Tools › Backup tab, sent to that node with NEXXVU's backup token. One popup
per page (a popup is never cut off by the narrow tree); Shut down, Restart and Stop need the tick. Delete stays on the
node's tab only. #}
{% macro tip(label, text) %}ⓘ{{ text }}{% endmacro %}
{% macro vm_attrs(v) -%}
data-vm-node="{{ v.node }}" data-vmid="{{ v.vmid }}" data-vm-label="{{ v.name }} (VM {{ v.vmid }} on {{ v.node_name }})" data-vm-status="{{ v.status or '' }}" data-vm-power="{{ 1 if v.can_power else 0 }}"
{%- endmacro %}
{% macro vm_menu(v) -%}
{%- endmacro %}
{% macro vm_dialog() -%}
{%- endmacro %}