]> git.proxmox.com Git - pmg-gui.git/commitdiff
change ui to 'pve-nav'
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 26 May 2021 09:13:09 +0000 (11:13 +0200)
committerStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 8 Jun 2021 13:13:54 +0000 (13:13 +0000)
since 'nav' contains some styling we do not want (in extjs 7.0)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
css/ext6-pmg.css
js/ConfigPanel.js
js/MainView.js
js/NavigationTree.js

index 68b008b8f4cd1b7fa30331c1758ea03b4be6ae4a..b9d916f3b33b7f344aa4484822e0acf479066e04 100644 (file)
@@ -138,7 +138,7 @@ table:not(.x-grid-item-selected) tr.x-grid-row.disabled {
     color: #000;
 }
 
-.x-treelist-nav {
+.x-treelist-pve-nav {
     background-color: #f5f5f5;
     border-right: 1px solid #cfcfcf;
 }
index c7148cbaef1cbb1b6b3415198cb3c57bbf002354..f6aaaad6dbe2aecdf5da12b4871efe648521d553 100644 (file)
@@ -58,7 +58,7 @@ Ext.define('PMG.panel.Config', {
        items: {
            xtype: 'treelist',
            itemId: 'menu',
-           ui: 'nav',
+           ui: 'pve-nav',
            expanderOnly: true,
            expanderFirst: false,
            animation: false,
index 01b9658d9ea006a3ff3af3f2adcfce2b6e6017bf..9ebd065ab455d212d41aa64e3badf6da4f669b50 100644 (file)
@@ -233,7 +233,7 @@ Ext.define('PMG.MainView', {
                },
            }, {
                xtype: 'box',
-               cls: 'x-treelist-nav',
+               cls: 'x-treelist-pve-nav',
                flex: 1,
            }],
        },
index 63f8e94960dc2abcc4cc1dc67e7a582586de1dc8..2c4d5a5e78d8e4c5eabfeb02b95e70839e41128f 100644 (file)
@@ -224,5 +224,5 @@ Ext.define('PMG.view.main.NavigationTree', {
     expanderOnly: true,
     expanderFirst: false,
     store: 'NavigationStore',
-    ui: 'nav',
+    ui: 'pve-nav',
 });