mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 10:11:12 +00:00
![]() setting the field value of to '' would trigger the 'change' event which would then disable the sport/dport/proto comboboxes too early, an empty form would have the comboboxes disabled too instead keep the field to a null value if it is empty, but force it to '' before sending to the pve-proxy also makes the macro selector keyboard editable, similar to the other comboboxes in the input panel |
||
---|---|---|
.. | ||
button | ||
data | ||
dc | ||
form | ||
grid | ||
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.