xtype: 'pmgQuarantineList',
emptyText: gettext('No data in database'),
selModel: 'checkboxmodel',
- emailSelection: false,
+ quarantineType: 'attachment',
reference: 'list',
region: 'west',
width: 500,
dockedItems: [
{
xtype: 'toolbar',
+ overflowHandler: 'scroller',
dock: 'top',
items: [
{
enableToggle: true,
iconCls: 'fa fa-file-code-o',
},
+ {
+ xtype: 'tbseparator',
+ reference: 'themeCheckSep',
+ },
+ {
+ xtype: 'proxmoxcheckbox',
+ reference: 'themeCheck',
+ checked: true,
+ boxLabel: gettext('Dark-mode filter'),
+ iconCls: 'fa fa-paint-brush',
+ },
'->',
{
xtype: 'button',
},
],
},
- {
- xtype: 'pmgAttachmentGrid',
- minHeight: 50,
- maxHeight: 250,
- scrollable: true,
- reference: 'attachmentlist',
- },
{
xtype: 'pmgMailInfo',
hidden: true,
reference: 'mailinfo',
},
+ {
+ xtype: 'pmgAttachmentGrid',
+ reference: 'attachmentlist',
+ dock: 'bottom',
+ collapsible: false,
+ },
],
},
],