1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00

feat(computes): a host's Instances page is the VM list of its VMs

A host's Instances page had a table of its own, older than the VM list:
no state filter, no tag filter, no bulk bar, a two-line Name/Description
head and a round green button for a new VM. It now shows the VM list
itself, of that host's VMs and without a host column, beside the host's
tabs, Bulk Migrate and New VM. The bulk bar sends back to the list it
was used on.
This commit is contained in:
catborise 2026-11-21 20:17:07 +03:00
parent 59db1f5515
commit 383cbe89a6
16 changed files with 192 additions and 247 deletions

View file

@ -74,7 +74,7 @@ class MaintenanceSwitchTests(TestCase):
self.compute.maintenance_since = timezone.now()
self.compute.save()
self.assertFalse(page().xpath("//a[@href=$u]", u=create))
self.assertTrue(page().xpath("//button[@disabled][contains(@aria-label, 'New Instance')]"))
self.assertTrue(page().xpath("//button[@disabled][contains(., 'New VM')]"))
class MaintenanceGuardTests(TestCase):