ui: improve ACL view layout
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0ccdd1b6a4
commit
ba2e4b15da
@ -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',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user