mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 15:58:20 +00:00
add the css/images from proxmox widget toolkit
add the dirs to the proxy and the css file to the index template Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
d0cdf92082
commit
cc8c253f23
@ -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',
|
||||
|
@ -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 %]
|
||||
|
Loading…
Reference in New Issue
Block a user