ui: add port support for remotes

by adding a field to RemoteEdit and showing it in the grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2020-09-29 16:18:59 +02:00
committed by Dietmar Maurer
parent ba20987ae7
commit 9c33683c25
2 changed files with 21 additions and 2 deletions

View File

@ -48,6 +48,16 @@ Ext.define('PBS.window.RemoteEdit', {
name: 'host',
fieldLabel: gettext('Host'),
},
{
xtype: 'proxmoxintegerfield',
allowBlank: true,
minValue: 1,
maxValue: 2**16,
name: 'port',
emptyText: 8007,
deleteEmpty: true,
fieldLabel: gettext('Port'),
},
],
column2: [