server status: add button to show package version window

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-07-19 17:53:54 +02:00
parent 3cc0ec1b17
commit c621e29b5e
2 changed files with 10 additions and 1 deletions

2
debian/control vendored
View 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.

View 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',