mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-03 23:46:58 +00:00
![]() the usual: * move static conf. to class definition * change "show" event to "activate" special attention here to the bufferedRenderer: false value here: if the grid panel has bufferedRenderer: true (default) and the store is our Diffstore, it adds the Summary Row twice, once before the store is loaded and once after. because there probably will not be many pools in a ceph configuration managed by the gui, we can safely deactivate bufferedRenderer (according to extjs documentation, this is intended for gridpanels with several thousand rows, which is not an issue with ceph pools i think) Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> |
||
---|---|---|
.. | ||
button | ||
ceph | ||
data | ||
dc | ||
form | ||
grid | ||
ha | ||
lxc | ||
node | ||
panel | ||
pool | ||
qemu | ||
storage | ||
tree | ||
window | ||
Parser.js | ||
Readme.md | ||
StateProvider.js | ||
Toolkit.js | ||
Utils.js | ||
VNCConsole.js | ||
Workspace.js |
pveproxy with ExtJS 6 developpement mini howto
unpack the ExtJS 6 sources, and copy them to /usr/share/pve-manager/ext6
cd www/ext6/
make install
symlink the ext6 dir in pve-manager to the manager5 directory
cd /usr/share/pve-manager
ln -s PATH_TO_YOUR_GIT_REPO/www/manager6
access the PVE proxy with ExtJS 6
https://localhost:8006/?ext6=1
With the extra parameter ext6=1, pve-proxy will call the function PVE::ExtJSIndex6::get_index() which returns a HTML page, with all javascript symlinked from your git repository. Provided you included the javascript files in PVE/ExtJSIndex5.pm, after editing a file in the git repository, a simple refresh is enough to see your changes in the browser.