add the dirs to the proxy and the css file to the index template Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- PVE/Service/pveproxy.pm | 2 ++ www/index.html.tpl | 1 + 2 files changed, 3 insertions(+)
diff --git a/PVE/Service/pveproxy.pm b/PVE/Service/pveproxy.pm index a07330c4..dd123dd8 100755 --- a/PVE/Service/pveproxy.pm +++ b/PVE/Service/pveproxy.pm @@ -85,6 +85,8 @@ sub init { add_dirs($dirs, '/pve-docs/api-viewer/extjs/' => "$basedirs->{extjs}/"); add_dirs($dirs, '/novnc/' => "$basedirs->{novnc}/"); add_dirs($dirs, '/xtermjs/' => "$basedirs->{xtermjs}/"); + add_dirs($dirs, '/pwt/images/' => "$basedirs->{widgettoolkit}/images/"); + add_dirs($dirs, '/pwt/css/' => "$basedirs->{widgettoolkit}/css/"); $self->{server_config} = { title => 'Proxmox VE API', diff --git a/www/index.html.tpl b/www/index.html.tpl index c8a5cc36..fd087799 100644 --- a/www/index.html.tpl +++ b/www/index.html.tpl @@ -11,6 +11,7 @@ <link rel="stylesheet" type="text/css" href="/pve2/ext6/crisp/resources/charts-all.css" /> <link rel="stylesheet" type="text/css" href="/pve2/fa/css/font-awesome.css" /> <link rel="stylesheet" type="text/css" href="/pve2/css/ext6-pve.css?ver=[% version %]" /> + <link rel="stylesheet" type="text/css" href="/pwt/css/ext6-pmx.css?ver=[% wtversion %]" /> [% IF langfile %] <script type='text/javascript' src='/pve2/locale/pve-lang-[% lang %].js?ver=[% version %]'></script> [%- ELSE %] -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel