From 3d69dfe5d9af08c668887f4d9c7bd914e454caca Mon Sep 17 00:00:00 2001 From: catborise Date: Sat, 31 Oct 2026 16:35:35 +0300 Subject: [PATCH] feat(instances): the network device Edit dialog as the disk one The Edit dialog of a VM's network device listed its fields in an order of its own, named the source list "Net Source" with every option prefixed "Network" or "Interface", said nothing about a running VM and closed with Close and Apply. Now it reads like the disk Edit dialog: the device's model and MAC under the title, a running VM's note that the changes apply at its next start, the source chosen from Networks and Interfaces groups, the model and the NWFilter side by side, the MAC in monospace, and Cancel and Save. The posted fields are unchanged. --- .../templates/instances/settings_tab.html | 82 +++++++++++-------- instances/tests/test_pending_edits.py | 9 +- 2 files changed, 55 insertions(+), 36 deletions(-) diff --git a/instances/templates/instances/settings_tab.html b/instances/templates/instances/settings_tab.html index c267f7b3..e8a12997 100644 --- a/instances/templates/instances/settings_tab.html +++ b/instances/templates/instances/settings_tab.html @@ -343,48 +343,60 @@