]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/window/Settings.js
ui: ceph install mask: avoid showing version
[pve-manager.git] / www / manager6 / window / Settings.js
index 2fa01ef08c41da87bba4a20a78e941d38798a574..3bf974f0e046e8012fe0d5c1279b257285c20dae 100644 (file)
@@ -23,10 +23,7 @@ Ext.define('PVE.window.Settings', {
        }
     ],
 
-    layout: {
-       type: 'column',
-       align: 'top'
-    },
+    layout: 'hbox',
 
     controller: {
        xclass: 'Ext.app.ViewController',
@@ -36,7 +33,7 @@ Ext.define('PVE.window.Settings', {
            var sp = Ext.state.Manager.getProvider();
 
            var username = sp.get('login-username') || Proxmox.Utils.noneText;
-           me.lookupReference('savedUserName').setValue(username);
+           me.lookupReference('savedUserName').setValue(Ext.String.htmlEncode(username));
            var vncMode = sp.get('novnc-scaling');
            if (vncMode !== undefined) {
                me.lookupReference('noVNCScalingGroup').setValue({ noVNCScalingField: vncMode });
@@ -185,7 +182,7 @@ Ext.define('PVE.window.Settings', {
 
     items: [{
        xtype: 'fieldset',
-       columnWidth: 0.5,
+       flex: 1,
        title: gettext('Webinterface Settings'),
        margin: '5',
        layout: {
@@ -311,7 +308,7 @@ Ext.define('PVE.window.Settings', {
     {
        xtype: 'container',
        layout: 'vbox',
-       columnWidth: 0.5,
+       flex: 1,
        margin: '5',
        defaults: {
            width: '100%',