]> git.proxmox.com Git - pve-manager.git/commit - PVE/Service/pveproxy.pm
pveproxy/template: add support for switching themes
authorStefan Sterz <s.sterz@proxmox.com>
Wed, 8 Mar 2023 16:40:07 +0000 (17:40 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 8 Mar 2023 16:55:41 +0000 (17:55 +0100)
commit5137b16fd2e2618b37b82b0b5423e091c8117eb8
tree4ec5950d435e417afc9347290da0562eb7fe039f
parentd975d810b47f1f91aedf30bdc449ff59748251bd
pveproxy/template: add support for switching themes

load the dark theme only if requested through a cookie, also adds
support for the "auto" theme that uses the dark theme based on a
media query.

this requires a bump of the widget toolkit so the dark-theme css file
is available.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
PVE/Service/pveproxy.pm
www/index.html.tpl