]> git.proxmox.com Git - pmg-gui.git/commitdiff
server status: add button to show package version window
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Jul 2021 15:53:54 +0000 (17:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Jul 2021 15:53:54 +0000 (17:53 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/control
js/ServerStatus.js

index 4c9bf5db908fe94729e2dd99f137411ee6eea859..9f976f3586cda1db67edea90e186e4d21511b90a 100644 (file)
@@ -14,6 +14,6 @@ Depends: fonts-font-awesome,
          libjs-extjs (>= 6.0.1),
          libjs-framework7 (>= 4.1.1),
          pmg-i18n,
-         proxmox-widget-toolkit (>= 3.3-3),
+         proxmox-widget-toolkit (>= 3.3-5),
 Description: Proxmox Mail Gateway web interface
  Graphical user interface for the Proxmox Mail Gateway.
index 0df55173f1d04292b0ca327f0c4383cb7273f857..f7d79e90ee03d3540ab1b65df06027b60f9e9004 100644 (file)
@@ -46,6 +46,15 @@ Ext.define('PMG.ServerStatus', {
     },
 
     tbar: [
+       {
+           text: gettext('Package versions'),
+           iconCls: 'fa fa-gift',
+           handler: () => Proxmox.Utils.checked_command(() => {
+               Ext.create('Proxmox.window.PackageVersions', {
+                   autoShow: true,
+               });
+           }),
+       },
        {
            text: gettext("Console"),
            iconCls: 'fa fa-terminal',