ui: window/AddTfaRecovery: fix style of TfaRecoveryShow window
to have a more similar layout/spacing to our other windows Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
884fec7735
commit
a442bd9792
@ -131,15 +131,13 @@ Ext.define('PBS.window.TfaRecoveryShow', {
|
|||||||
|
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
xtype: 'container',
|
xtype: 'form',
|
||||||
layout: 'form',
|
layout: 'anchor',
|
||||||
bodyPadding: 10,
|
bodyPadding: 10,
|
||||||
border: false,
|
border: false,
|
||||||
fieldDefaults: {
|
fieldDefaults: {
|
||||||
labelWidth: 100,
|
|
||||||
anchor: '100%',
|
anchor: '100%',
|
||||||
},
|
},
|
||||||
padding: '0 10 10 10',
|
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
xtype: 'textarea',
|
xtype: 'textarea',
|
||||||
@ -153,15 +151,15 @@ Ext.define('PBS.window.TfaRecoveryShow', {
|
|||||||
},
|
},
|
||||||
height: '160px',
|
height: '160px',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
xtype: 'displayfield',
|
||||||
|
border: false,
|
||||||
|
padding: '5 0 0 0',
|
||||||
|
userCls: 'pmx-hint',
|
||||||
|
value: gettext('Please record recovery keys - they will only be displayed now'),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
xtype: 'component',
|
|
||||||
border: false,
|
|
||||||
padding: '10 10 10 10',
|
|
||||||
userCls: 'pmx-hint',
|
|
||||||
html: gettext('Please record recovery keys - they will only be displayed now'),
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user