pve-manager/www/manager5
2015-06-23 13:20:08 +02:00
..
button copy button/Button.js from manager to manager5 2015-06-23 13:20:08 +02:00
data Add documentation header 2015-06-15 16:39:29 +02:00
dc copy dc/UserView.js from manager to manager5 2015-06-16 17:42:36 +02:00
form Add comment header for important classes, idea taken from Workspace.js 2015-05-29 09:05:48 +02:00
grid copy grid/ObjectGrid.js from manager to manager5 2015-06-23 13:20:08 +02:00
panel Add comment header for important classes, idea taken from Workspace.js 2015-05-29 09:05:48 +02:00
tree Add comment header for important classes, idea taken from Workspace.js 2015-05-29 09:05:48 +02:00
window copy window/Edit.js from manager to manager5 2015-06-23 13:20:08 +02:00
Readme.md Add Readme explaining how to use extjs5 for dev 2015-04-30 12:38:07 +02:00
StateProvider.js copy StateProvider.js from manager to manager5 2015-04-20 06:06:28 +02:00
Utils.js work around ipv6 browser inconsistencies 2015-05-27 08:28:54 +02:00
Workspace.js Add necessary javascript includes to load Status Panel 2015-05-29 09:04:21 +02:00

pveproxy with ExtJS 5 developpement mini howto

unpack the ExtJS 5 sources, and copy them to /usr/share/pve-manager/ext5

cd www/ext5/
make install

symlink the to our ext5 compatible javascript code

cd /usr/share/pve-manager
ln -s PATH_TO_YOUR_GIT_REPO/www/manager5

access the PVE proxy with ExtJS 5

https://localhost:8006/?ext5=1

With the extra parameter ext5=1, pve-proxy will call the function PVE::ExtJSIndex5::get_index() which returns a HTML page, with all javascript files included. Provided you included the javascript in PVE/ExtJSIndex5.pm, a simple browser refresh is then enough to see your changes.