[pve-devel] [PATCH pve-manager] use new pve-yew-mobile-gui
Dietmar Maurer
dietmar at proxmox.com
Tue Jul 22 09:22:56 CEST 2025
As replacement for the old sencha-touch based gui.
Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
---
PVE/Service/pveproxy.pm | 4 +++-
debian/control | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/PVE/Service/pveproxy.pm b/PVE/Service/pveproxy.pm
index c4bb54ea..b419e625 100755
--- a/PVE/Service/pveproxy.pm
+++ b/PVE/Service/pveproxy.pm
@@ -55,6 +55,7 @@ my $basedirs = {
manager => '/usr/share/pve-manager',
novnc => '/usr/share/novnc-pve',
sencha_touch => '/usr/share/javascript/sencha-touch',
+ yew_mobile => '/usr/share/javascript/pve-yew-mobile-gui',
widgettoolkit => '/usr/share/javascript/proxmox-widget-toolkit',
xtermjs => '/usr/share/pve-xtermjs',
};
@@ -87,6 +88,7 @@ sub init {
add_dirs($dirs, '/pve2/js/' => "$basedirs->{manager}/js/");
add_dirs($dirs, '/pve2/locale/', "$basedirs->{i18n}/");
add_dirs($dirs, '/pve2/sencha-touch/', "$basedirs->{sencha_touch}/");
+ add_dirs($dirs, '/pve2/yew-mobile/', "$basedirs->{yew_mobile}/");
add_dirs($dirs, '/pve2/touch/', "$basedirs->{manager}/touch/");
add_dirs($dirs, '/pwt/css/' => "$basedirs->{widgettoolkit}/css/");
add_dirs($dirs, '/pwt/images/' => "$basedirs->{widgettoolkit}/images/");
@@ -275,7 +277,7 @@ sub get_index {
} elsif ($xtermjs) {
$dir = $basedirs->{xtermjs};
} elsif ($mobile) {
- $dir = "$basedirs->{manager}/touch";
+ $dir = "$basedirs->{yew_mobile}";
}
my $page = '';
diff --git a/debian/control b/debian/control
index 28d84c61..fd8f1aaf 100644
--- a/debian/control
+++ b/debian/control
@@ -91,6 +91,7 @@ Depends: apt (>= 1.5~),
pve-ha-manager,
pve-i18n (>= 3.2.0~),
pve-xtermjs (>= 4.7.0-1),
+ pve-yew-mobile-gui (>= 0.1.0),
qemu-server (>= 9.0.2),
rsync,
spiceterm,
--
2.47.2
More information about the pve-devel
mailing list