]> git.proxmox.com Git - pve-manager.git/commitdiff
guest import: fine tune icons
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Mar 2024 11:44:40 +0000 (12:44 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Mar 2024 11:44:41 +0000 (12:44 +0100)
We switched the storage browser navigation entry to 'Virtual Guests'
recently, but still used the icon for import.

For now switch to use to the one for VMs for this entry, matching the
label, and use the import icon for the "Import" button instead.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/storage/Browser.js

index 71225f7ef1d8c823ef94b05205e63b44de00977c..2123141dfb5ca9e49cca12f67c675ae936037245 100644 (file)
@@ -139,7 +139,7 @@ Ext.define('PVE.storage.Browser', {
                me.items.push({
                    xtype: 'pveStorageContentView',
                    title: gettext('Virtual Guests'),
-                   iconCls: 'fa fa-cloud-download',
+                   iconCls: 'fa fa-desktop',
                    itemId: 'contentImport',
                    content: 'import',
                    useCustomRemoveButton: true, // hide default remove button
@@ -150,6 +150,7 @@ Ext.define('PVE.storage.Browser', {
                            xtype: 'proxmoxButton',
                            disabled: true,
                            text: gettext('Import'),
+                           iconCls: 'fa fa-cloud-download',
                            handler: function() {
                                let grid = this.up('pveStorageContentView');
                                let selection = grid.getSelection()?.[0];