mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 05:52:32 +00:00
Improve a bit the esthetics of the User Settings window
* group the action buttons on the left, to distinguish them from the modal 'close' button * display the action buttons as grey instead of blue, to be consistent with the rest of the GUI
This commit is contained in:
parent
9317d08a2d
commit
61516423ad
@ -106,7 +106,7 @@ Ext.define('PVE.window.Settings', {
|
||||
title: gettext('Browser Settings'),
|
||||
layout: {
|
||||
type: 'vbox',
|
||||
align: 'right'
|
||||
align: 'left'
|
||||
},
|
||||
defaults: {
|
||||
width: '100%',
|
||||
@ -155,15 +155,13 @@ Ext.define('PVE.window.Settings', {
|
||||
fieldLabel: gettext('Saved User name'),
|
||||
labelAlign: 'left',
|
||||
labelWidth: '50%',
|
||||
fieldStyle: {
|
||||
'text-align':'right'
|
||||
},
|
||||
stateId: 'login-username',
|
||||
reference: 'savedUserName',
|
||||
value: ''
|
||||
},
|
||||
{
|
||||
xtype: 'button',
|
||||
cls: 'x-btn-default-toolbar-small pve-inline-button',
|
||||
text: gettext('Clear User name'),
|
||||
width: 'auto',
|
||||
name: 'clear-username'
|
||||
@ -180,6 +178,7 @@ Ext.define('PVE.window.Settings', {
|
||||
},
|
||||
{
|
||||
xtype: 'button',
|
||||
cls: 'x-btn-default-toolbar-small pve-inline-button',
|
||||
text: gettext('Reset Layout'),
|
||||
width: 'auto',
|
||||
name: 'reset'
|
||||
|
Loading…
Reference in New Issue
Block a user