1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/instances/templates
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
..
instances fix(instances): a refused VM create form comes back with what was entered 2026-10-20 08:12:25 +03:00
add_instance_network_block.html fix(templates): pages parse without markup errors, element IDs are unique 2026-10-19 07:49:25 +03:00
add_instance_owner_block.html logger updates (#31) 2023-08-09 09:20:18 +03:00
add_instance_volume.html fix(templates): pages parse without markup errors, element IDs are unique 2026-10-19 07:49:25 +03:00
allinstances.html refactor(instances): the instance page drops scripts for console fields it no longer has 2026-10-19 20:12:26 +03:00
allinstances_index_grouped.html fix(templates): status colours keep their contrast on every theme 2026-10-21 08:10:42 +03:00
allinstances_index_nongrouped.html fix(templates): status colours keep their contrast on every theme 2026-10-21 08:10:42 +03:00
bottom_bar.html fix(instances): the VM page opens the tab a redirect points to, and host links are for administrators 2026-10-08 08:50:21 +03:00
create_flav_block.html fix(templates): icon-only buttons, selects and delete pages have accessible names 2026-10-19 16:15:06 +03:00
create_inst_block.html fix(templates): the fields of the create modals are named by their labels 2026-10-19 20:01:36 +03:00
create_instance_w1.html fix(templates): icon-only buttons, selects and delete pages have accessible names 2026-10-19 16:15:06 +03:00
create_instance_w2.html fix(instances): the image, network and template selects of the create page have names 2026-10-20 21:24:41 +03:00
instance.html refactor(instances): the instance page drops scripts for console fields it no longer has 2026-10-19 20:12:26 +03:00
instance_actions.html fix(instances): every VM state has a label and the actions it allows 2026-10-05 19:34:30 +03:00
instance_state.html fix(instances): every VM state has a label and the actions it allows 2026-10-05 19:34:30 +03:00