ui: acme: minor nits

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-05-05 19:43:12 +02:00
parent b9cab976b0
commit 7daaa52c0e
2 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ Ext.define('PVE.dc.ACMEPluginEditor', {
isAdd: true, isAdd: true,
isCreate: false, isCreate: false,
width: 400, width: 450,
url: '/cluster/acme/plugins/', url: '/cluster/acme/plugins/',
subject: gettext('Plugin'), subject: gettext('Plugin'),
@ -144,7 +144,7 @@ Ext.define('PVE.dc.ACMEPluginEditor', {
}, },
name: 'plugin', name: 'plugin',
labelWidth: 120, labelWidth: 120,
fieldLabel: gettext('Plugin'), fieldLabel: gettext('Plugin ID'),
}, },
{ {
xtype: 'proxmoxintegerfield', xtype: 'proxmoxintegerfield',
@ -156,7 +156,7 @@ Ext.define('PVE.dc.ACMEPluginEditor', {
deleteEmpty: '{!isCreate}', deleteEmpty: '{!isCreate}',
}, },
minValue: 0, minValue: 0,
maxValue: 172800, maxValue: 48*60*60,
}, },
{ {
xtype: 'pveACMEApiSelector', xtype: 'pveACMEApiSelector',
@ -170,9 +170,9 @@ Ext.define('PVE.dc.ACMEPluginEditor', {
}, },
}, },
{ {
xtype: 'textarea',
fieldLabel: gettext('API Data'), fieldLabel: gettext('API Data'),
labelWidth: 120, labelWidth: 120,
xtype: 'textarea',
name: 'data', name: 'data',
}, },
], ],

View File

@ -12,7 +12,7 @@ Ext.define('PVE.form.ACMEApiSelector', {
extend: 'Ext.form.field.ComboBox', extend: 'Ext.form.field.ComboBox',
alias: 'widget.pveACMEApiSelector', alias: 'widget.pveACMEApiSelector',
fieldLabel: gettext('API'), fieldLabel: gettext('DNS API'),
displayField: 'name', displayField: 'name',
valueField: 'id', valueField: 'id',