ui: improve ACL view layout

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-10-31 11:33:31 +01:00
parent 0ccdd1b6a4
commit ba2e4b15da

View File

@ -149,31 +149,30 @@ Ext.define('PBS.config.ACLView', {
columns: [ columns: [
{ {
header: gettext('Path'), header: gettext('Path'),
width: 200, width: 250,
sortable: true, sortable: true,
renderer: Ext.String.htmlEncode, renderer: Ext.String.htmlEncode,
dataIndex: 'path', dataIndex: 'path',
}, },
{ {
header: gettext('User/Group/API Token'), header: gettext('User/Group/API Token'),
width: 100, width: 150,
sortable: true, sortable: true,
renderer: Ext.String.htmlEncode, renderer: Ext.String.htmlEncode,
dataIndex: 'ugid', dataIndex: 'ugid',
}, },
{ {
header: gettext('Role'), header: gettext('Role'),
width: 80, width: 100,
sortable: true, sortable: true,
dataIndex: 'roleid', dataIndex: 'roleid',
}, },
{ {
header: gettext('Propagate'), header: gettext('Propagate'),
width: 150, flex: 1, // last element flex looks better
sortable: true, sortable: true,
renderer: Proxmox.Utils.format_boolean, renderer: Proxmox.Utils.format_boolean,
dataIndex: 'propagate', dataIndex: 'propagate',
}, },
], ],
}); });