ui: window/AddTotp: fix spacing styling of form fields
by moving the lower fields into the form itself and dropping the padding Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
a442bd9792
commit
b168a27f73
@ -125,7 +125,6 @@ Ext.define('PBS.window.AddTotp', {
|
||||
reference: 'totp_form',
|
||||
fieldDefaults: {
|
||||
anchor: '100%',
|
||||
padding: '0 5',
|
||||
},
|
||||
items: [
|
||||
{
|
||||
@ -205,8 +204,6 @@ Ext.define('PBS.window.AddTotp', {
|
||||
value: `Proxmox Backup Server - ${Proxmox.NodeName}`,
|
||||
qrupdate: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
xtype: 'box',
|
||||
itemId: 'qrbox',
|
||||
@ -233,7 +230,6 @@ Ext.define('PBS.window.AddTotp', {
|
||||
disabled: '{!showTOTPVerifiction}',
|
||||
visible: '{showTOTPVerifiction}',
|
||||
},
|
||||
padding: '0 5',
|
||||
emptyText: gettext('Scan QR code and enter TOTP auth. code to verify'),
|
||||
},
|
||||
{
|
||||
@ -245,10 +241,11 @@ Ext.define('PBS.window.AddTotp', {
|
||||
name: 'password',
|
||||
allowBlank: false,
|
||||
validateBlank: true,
|
||||
padding: '0 0 5 5',
|
||||
emptyText: gettext('verify current password'),
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
initComponent: function() {
|
||||
let me = this;
|
||||
|
Loading…
Reference in New Issue
Block a user