add Updates panel (APT interface).

This commit is contained in:
Dietmar Maurer 2017-09-25 12:58:45 +02:00
parent 087dc38ec6
commit 81c250bdcd

View File

@ -24,9 +24,18 @@ Ext.define('PMG.ServerAdministration', {
nodename: Proxmox.NodeName
},
{
xtype: 'proxmoxNodeAPT',
title: gettext('Updates'),
upgradeBtn: {
xtype: 'button',
disabled: !(Proxmox.UserName && Proxmox.UserName === 'root@pam'),
text: gettext('Upgrade'),
handler: function() {
PMG.Utils.openVNCViewer('upgrade', Proxmox.NodeName);
}
},
itemId: 'updates',
html: "Server Administration2"
nodename: Proxmox.NodeName
},
{
xtype: 'proxmoxLogView',