adds dark mode support to the api viewer that is activated depending
on the users theme preference. similar to the main gui's "auto"
theme.
this requires a bumps of the widget toolkit so the loaded css file is
present
Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
The loading of an external hosted ExtJS is from a time where we did
not have a extra ExtJS package as it still was in the pve-manager
one, which was not desired to be installed on a non-pve machine.
Add a dependency on libjs-extjs and a link from api-viewer/extjs to
the installation directory of the ExtJS package, this allows to reuse
ExtJS on PVE node hosted docs and on the hosted docs from proxmox.com
at the same time.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
The touch feels super zoomed, and the api-viewer is probably much
more viewed through a desktop/laptop not a mobile device with small
high-dpi touch screen.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Use the over 4 times smaller minfied version of ExtJS, not the debug
one.
Any developer can easily use the debug version if needed, but most of
the times it this isn't the case.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>