followup: pull out 'Since/Until' to remove extra whitespace

This is similar to how we did in panel/LogView but adds disabling
also to the label, not only the picker field, which is a bit nicer.

And no, it really does not seems like this can be done easier...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-05-15 13:14:10 +02:00
parent a1498508da
commit cd82be4911

View File

@ -286,9 +286,13 @@ Ext.define('Proxmox.panel.JournalView', {
}
]
},
{
xtype: 'box',
bind: { disabled: '{livemode}' },
autoEl: { cn: gettext('Since') + ':' }
},
{
xtype: 'datefield',
fieldLabel: gettext('Since'),
name: 'since_date',
reference: 'since',
format: 'Y-m-d',
@ -298,9 +302,13 @@ Ext.define('Proxmox.panel.JournalView', {
maxValue: '{until}'
}
},
{
xtype: 'box',
bind: { disabled: '{livemode}' },
autoEl: { cn: gettext('Until') + ':' }
},
{
xtype: 'datefield',
fieldLabel: gettext('Until'),
name: 'until_date',
reference: 'until',
format: 'Y-m-d',