[pve-devel] [PATCH manager 5/5] add timezone option to container creation wizard

Oguz Bektas o.bektas at proxmox.com
Tue Jun 16 15:36:33 CEST 2020


renames the 'DNS' step to 'DNS / Time' and allows one to set the
timezone of the container during setup.

Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
 www/manager6/lxc/CreateWizard.js | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/www/manager6/lxc/CreateWizard.js b/www/manager6/lxc/CreateWizard.js
index 87076e0d..3a715669 100644
--- a/www/manager6/lxc/CreateWizard.js
+++ b/www/manager6/lxc/CreateWizard.js
@@ -227,9 +227,19 @@ Ext.define('PVE.lxc.CreateWizard', {
 	    isCreate: true
 	},
 	{
-	    xtype: 'pveLxcDNSInputPanel',
-	    title: gettext('DNS'),
-	    insideWizard: true
+	    xtype: 'container',
+	    layout: 'hbox',
+	    title: gettext('DNS / Time'),
+	    items: [
+		{
+		    xtype: 'pveLxcDNSInputPanel',
+		    insideWizard: true
+		},
+		{
+		    xtype: 'PVETimezonePanel',
+		    insideWizard: true
+		}
+	    ]
 	},
 	{
 	    title: gettext('Confirm'),
-- 
2.20.1




More information about the pve-devel mailing list