change ui to 'pve-nav'

since 'nav' contains some styling we do not want (in extjs 7.0)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-05-26 11:13:09 +02:00 committed by Stoiko Ivanov
parent 6df6b89bff
commit 9d87a3338d
4 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ table:not(.x-grid-item-selected) tr.x-grid-row.disabled {
color: #000; color: #000;
} }
.x-treelist-nav { .x-treelist-pve-nav {
background-color: #f5f5f5; background-color: #f5f5f5;
border-right: 1px solid #cfcfcf; border-right: 1px solid #cfcfcf;
} }

View File

@ -58,7 +58,7 @@ Ext.define('PMG.panel.Config', {
items: { items: {
xtype: 'treelist', xtype: 'treelist',
itemId: 'menu', itemId: 'menu',
ui: 'nav', ui: 'pve-nav',
expanderOnly: true, expanderOnly: true,
expanderFirst: false, expanderFirst: false,
animation: false, animation: false,

View File

@ -233,7 +233,7 @@ Ext.define('PMG.MainView', {
}, },
}, { }, {
xtype: 'box', xtype: 'box',
cls: 'x-treelist-nav', cls: 'x-treelist-pve-nav',
flex: 1, flex: 1,
}], }],
}, },

View File

@ -224,5 +224,5 @@ Ext.define('PMG.view.main.NavigationTree', {
expanderOnly: true, expanderOnly: true,
expanderFirst: false, expanderFirst: false,
store: 'NavigationStore', store: 'NavigationStore',
ui: 'nav', ui: 'pve-nav',
}); });