1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/storages
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 fix(storages): keep volumes a VM still needs 2026-10-13 09:13:02 +03:00
migrations add missing migrations for new models 2022-08-24 09:34:16 +03:00
templates fix(templates): status colours keep their contrast on every theme 2026-10-21 08:10:42 +03:00
tests fix(storages): Ceph and NFS pool values are escaped, host names may be long 2026-10-19 20:43:45 +03:00
__init__.py build new tree 2015-02-27 11:28:22 +02:00
forms.py fix(storages): pool sources take real device and export paths, a leading special character is refused 2026-10-19 12:10:33 +03:00
jobs.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00
models.py reorg imports and black format 2022-11-02 16:05:41 +03:00
upload.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00
views.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00