mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-05 22:56:29 +00:00
ui: acme add domain: move Domain field below, hide plugin in http mode
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9c164224e5
commit
a94b71fba8
@ -275,7 +275,9 @@ Ext.define('PVE.node.ACMEDomainEdit', {
|
||||
change: function(cb, value) {
|
||||
let me = this;
|
||||
let view = me.up('pveACMEDomainEdit');
|
||||
view.down('field[name=plugin]').setDisabled(value !== 'dns');
|
||||
let pluginField = view.down('field[name=plugin]');
|
||||
pluginField.setDisabled(value !== 'dns');
|
||||
pluginField.setHidden(value !== 'dns');
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -283,18 +285,21 @@ Ext.define('PVE.node.ACMEDomainEdit', {
|
||||
xtype: 'hidden',
|
||||
name: 'alias',
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxtextfield',
|
||||
name: 'domain',
|
||||
allowBlank: false,
|
||||
fieldLabel: gettext('Domain'),
|
||||
},
|
||||
{
|
||||
xtype: 'pveACMEPluginSelector',
|
||||
name: 'plugin',
|
||||
disabled: true,
|
||||
hidden: true,
|
||||
allowBlank: false,
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxtextfield',
|
||||
name: 'domain',
|
||||
allowBlank: false,
|
||||
vtype: 'DnsName',
|
||||
value: '',
|
||||
fieldLabel: gettext('Domain'),
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user