1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/interfaces
catborise 3a4488d34f fix(templates): pages parse without markup errors, element IDs are unique
Rendered through every URL on libvirt's test driver, the pages had
duplicate IDs and markup browsers repaired silently:

- Each flavor modal's "Advanced" button toggled #flav-add-collapse, the
  first modal's section; every modal now has its own. The flavor and
  template copies of the custom tab's control IDs, and the template
  tab's unused images input, are gone.
- The VM page's action icons and the XML editors were styled by
  repeated IDs; they use classes.
- Modal forms opened inside modal-body and closed after modal-footer;
  they wrap both. Stray end tags and duplicate attributes are removed,
  paragraphs no longer hold modals or rows, table heads have a row, and
  the create page closes its row and column.
- html lang is the active language instead of "en".

A test walks every URL as a superuser and fails on a repeated ID. The
console page still has no doctype: its full-height layout relies on
quirks mode and needs its own check.
2026-10-19 07:49:25 +03:00
..
api ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
migrations add missing migrations for new models 2022-08-24 09:34:16 +03:00
templates fix(templates): pages parse without markup errors, element IDs are unique 2026-10-19 07:49:25 +03:00
tests fix(interfaces): deleting a bridge keeps the devices it held 2026-10-18 22:01:18 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
forms.py fix(interfaces): an ethernet interface needs no bridge member, and unreadable host devices are reported 2026-10-08 08:50:21 +03:00
models.py format python code with black 2022-11-02 08:54:35 +03:00
views.py fix(interfaces): no create, start, stop or delete where libvirt cannot change interfaces 2026-10-10 21:38:22 +03:00