Commit Graph

4 Commits

Author SHA1 Message Date
Stefan Sterz
2891acd5e8 docs: add dark mode support to the api viewer
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 needs a bump of the widget toolkit so the dark-theme css is
present.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
2023-03-23 16:48:29 +01:00
Stoiko Ivanov
8686c16175 change api-viewer title to PMG
noted while testing the use of our extjs-package instead of cloudflare cdn
(ddc224d888).

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-08-21 16:50:29 +02:00
Thomas Lamprecht
ddc224d888 api-viewer: use our extjs package instead of the cloudflare cdn
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-pmg 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 PMG node hosted docs and on the hosted docs from proxmox.com
at the same time.

Adapted from the Proxmox VE version[0] of this change.

[0]: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff;h=e56030c4d7c3bd0de1ebc109d528fb6b7bef05a3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-08-17 12:48:25 +02:00
Dietmar Maurer
410dc2c9c4 Initial commit 2017-02-22 07:15:00 +01:00