1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/instances
catborise b45f673da7 fix(templates): status colours keep their contrast on every theme
The pool, network and interface cards had a solid green or red header
with light text, and status words (Connected, ON, OFF, the DRBD state)
were in the theme's green or red text colour. axe found them below the
WCAG AA 4.5:1 contrast on the live theme (4.29:1, 3.52:1), on the
default zephyr theme, whose green is light (2.5:1), and on dark themes
(darkly 1.18:1).

The card headers, and the status words as badges, are now the theme's
pale status background with its dark status text (bg-*-subtle with
text-*-emphasis). Bootstrap derives the pair from each theme's palette,
and it does not depend on the page's background: the dark Bootswatch
themes keep light-mode emphasis colours, which on their own would be
dark text on a dark page. The card border keeps the status colour.
2026-10-21 08:10:42 +03:00
..
api feat(instances): migration runs as a job 2026-10-16 07:57:02 +03:00
fixtures Instances overhaul 2020-07-13 15:33:09 +06:00
migrations fix(computes): VM ownership survives a move or a short absence 2026-10-04 01:08:11 +03:00
templates fix(templates): status colours keep their contrast on every theme 2026-10-21 08:10:42 +03:00
templatetags fix(instances): a refused VM create form comes back with what was entered 2026-10-20 08:12:25 +03:00
tests fix(instances): the image, network and template selects of the create page have names 2026-10-20 21:24:41 +03:00
__init__.py Fixe migrations for new deployments 2020-05-28 18:19:25 +06:00
apps.py format python code with black 2022-11-02 08:54:35 +03:00
forms.py feat(instances): choose VNC or the serial console on the VM page 2026-10-17 19:48:58 +03:00
jobs.py feat(instances): a running VM can be cloned 2026-10-16 16:52:38 +03:00
models.py fix(instances): a custom VM gets the MAC addresses its create form shows 2026-10-19 22:24:57 +03:00
states.py fix(instances): every VM state has a label and the actions it allows 2026-10-05 19:34:30 +03:00
urls.py fix: add an authorization matrix test and close the endpoints it finds 2026-10-02 20:33:12 +03:00
utils.py feat(instances): a running migration can be cancelled; its time limit goes 2026-10-16 07:57:02 +03:00
views.py fix: a form libvirt refuses goes back to its page with the reason 2026-10-20 22:37:40 +03:00