[pve-devel] [PATCH manager 3/6] ui: ACMEAccountCreate: add optional name field

Dominik Csapak d.csapak at proxmox.com
Tue May 5 14:38:15 CEST 2020


so that we can create multiple accounts, but leave it empty and set the
emptyText to the default name 'default'

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/node/ACME.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/www/manager6/node/ACME.js b/www/manager6/node/ACME.js
index cfdcc5cf..40ecc00e 100644
--- a/www/manager6/node/ACME.js
+++ b/www/manager6/node/ACME.js
@@ -56,6 +56,13 @@ Ext.define('PVE.node.ACMEAccountCreate', {
     showTaskViewer: true,
 
     items: [
+	{
+	    xtype: 'proxmoxtextfield',
+	    fieldLabel: gettext('Name'),
+	    name: 'name',
+	    emptyText: 'default',
+	    allowBlank: true,
+	},
 	{
 	    xtype: 'proxmoxComboGrid',
 	    name: 'directory',
-- 
2.20.1





More information about the pve-devel mailing list