[pve-devel] [PATCH] use Template::Toolkit for html indexes

Dominik Csapak d.csapak at proxmox.com
Tue Mar 7 11:18:18 CET 2017


this series changes the way we generate the index pages in the pveproxy

this has several advantages:

* we have the complete novnc code in the novnc package
(this is good for future updates, since the index changes as often as the rest)
* the html code is logically seperated from the perl code
(this makes it easier to edit the html code, as you can have the correct 
syntax highlighting)
* pveproxy only loads the html files into memory when serving the page instead
of when loading the module, which should happen less frequently -> less memory
used

sadly this series spans multiple packages, but for future novnc updates, this
should not happen anymore


[PATCH novnc] generate index.html.tpl from vnc.html

[PATCH manager 1/4] specify basedirs instead of hardcoding them
[PATCH manager 2/4] add the index.html.tpl files for the default ui
[PATCH manager 3/4] use Template::Toolkit instead of
[PATCH manager 4/4] remove unneeded *Index.pm files




More information about the pve-devel mailing list