From: Dietmar Maurer <dietmar@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve-manager] use new pve-yew-mobile-gui
Date: Tue, 22 Jul 2025 09:22:56 +0200 [thread overview]
Message-ID: <20250722072256.3168428-1-dietmar@proxmox.com> (raw)
As replacement for the old sencha-touch based gui.
Signed-off-by: Dietmar Maurer <dietmar@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
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next reply other threads:[~2025-07-22 7:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-22 7:22 Dietmar Maurer [this message]
2025-07-29 17:54 ` [pve-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250722072256.3168428-1-dietmar@proxmox.com \
--to=dietmar@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.