From: Thomas Lamprecht Date: Wed, 27 Mar 2024 11:44:40 +0000 (+0100) Subject: guest import: fine tune icons X-Git-Url: https://git.proxmox.com/?p=pve-manager.git;a=commitdiff_plain;h=549bffb7bbe5c2b0d8faf136a8249889f84799ef guest import: fine tune icons 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 --- diff --git a/www/manager6/storage/Browser.js b/www/manager6/storage/Browser.js index 71225f7e..2123141d 100644 --- a/www/manager6/storage/Browser.js +++ b/www/manager6/storage/Browser.js @@ -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];