]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: token selector: use same layout as auth id selector
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Nov 2020 11:24:54 +0000 (12:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Nov 2020 11:24:54 +0000 (12:24 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/form/TokenSelector.js

index 078a19dc92b97c6b772f8c28f86c4d26da3354d1..45cf66b13d8230d5a12f4ef828825a7a1c3b5b83 100644 (file)
@@ -56,20 +56,21 @@ Ext.define('PBS.form.TokenSelector', {
     },
 
     listConfig: {
+       width: 500,
        columns: [
            {
                header: gettext('API Token'),
                sortable: true,
                dataIndex: 'tokenid',
                renderer: Ext.String.htmlEncode,
-               flex: 1,
+               flex: 2,
            },
            {
                header: gettext('Comment'),
                sortable: false,
                dataIndex: 'comment',
                renderer: Ext.String.htmlEncode,
-               flex: 1,
+               flex: 3,
            },
        ],
     },