ui: token selector: use same layout as auth id selector
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
5e8b97178e
commit
9dd6175808
@ -56,20 +56,21 @@ Ext.define('PBS.form.TokenSelector', {
|
|||||||
},
|
},
|
||||||
|
|
||||||
listConfig: {
|
listConfig: {
|
||||||
|
width: 500,
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
header: gettext('API Token'),
|
header: gettext('API Token'),
|
||||||
sortable: true,
|
sortable: true,
|
||||||
dataIndex: 'tokenid',
|
dataIndex: 'tokenid',
|
||||||
renderer: Ext.String.htmlEncode,
|
renderer: Ext.String.htmlEncode,
|
||||||
flex: 1,
|
flex: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: gettext('Comment'),
|
header: gettext('Comment'),
|
||||||
sortable: false,
|
sortable: false,
|
||||||
dataIndex: 'comment',
|
dataIndex: 'comment',
|
||||||
renderer: Ext.String.htmlEncode,
|
renderer: Ext.String.htmlEncode,
|
||||||
flex: 1,
|
flex: 3,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user