public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH pve-manager] use new pve-yew-mobile-gui
@ 2025-07-22  7:22 Dietmar Maurer
  2025-07-29 17:54 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dietmar Maurer @ 2025-07-22  7:22 UTC (permalink / raw)
  To: pve-devel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH pve-manager] use new pve-yew-mobile-gui
  2025-07-22  7:22 [pve-devel] [PATCH pve-manager] use new pve-yew-mobile-gui Dietmar Maurer
@ 2025-07-29 17:54 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-07-29 17:54 UTC (permalink / raw)
  To: pve-devel, Dietmar Maurer

On Tue, 22 Jul 2025 09:22:56 +0200, Dietmar Maurer wrote:
> As replacement for the old sencha-touch based gui.
> 
> 

Applied, thanks! I downgraded the dependency for now to a recommends and
re-added a fallback for the old sencha touch UI in that case, but mostly so
that I can move the pve-manager along without caring about the new
pve-yew-mobile-gui package.

[1/1] use new pve-yew-mobile-gui
      commit: a7d469e51c869903f4b8beb6d8ca171d9f95f92f


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-29 17:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-22  7:22 [pve-devel] [PATCH pve-manager] use new pve-yew-mobile-gui Dietmar Maurer
2025-07-29 17:54 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal