1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/virtsecrets
catborise ca74c02c4f fix(templates): the fields of the create modals are named by their labels
An accessibility scan with every modal opened found 49 fields without a
name: the labels of the instance create forms (custom, template and each
flavor's modal), the interface, network, secret and storage pool modals
did not point at their fields. Each label now has a for= and its field an
id, prefixed per form (and per flavor), so a click on the label focuses
the field too. The "Advanced" collapse buttons and the memory and
processing bars are named.

The VCPU config select had id="vcpu_mode" in each of these forms, nine
times on the create page; the unique-ID test did not see it as the test
driver reports no CPU modes. The id goes (nothing used it), and the test
now renders that branch.
2026-10-19 20:01:36 +03:00
..
migrations Django 3.2.4 LTS upgrade 2021-06-15 13:28:47 +03:00
templates fix(templates): the fields of the create modals are named by their labels 2026-10-19 20:01:36 +03:00
tests fix(virtsecrets): a secret's usage value goes into its XML as text 2026-10-19 16:43:06 +03:00
__init__.py Django 3.2.4 LTS upgrade 2021-06-15 13:28:47 +03:00
forms.py format python code with black 2022-11-02 08:54:35 +03:00
models.py ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
views.py reorg imports and black format 2022-11-02 16:05:41 +03:00