From: Maximiliano Sandoval Date: Wed, 6 Sep 2023 13:09:07 +0000 (+0200) Subject: backup config: add icons to tab buttons X-Git-Url: https://git.proxmox.com/?p=pmg-gui.git;a=commitdiff_plain;h=b9f0d5afdec9e6aeb16fb2849b907b4b89b686f8 backup config: add icons to tab buttons From a UX perspective flat buttons, i.e. buttons without a frame or background, are not obviously clickable without an icon. The choice of icons was taken from the storageSchema map in PVE.Utils module currently residing in the pve-manager repo. Signed-off-by: Maximiliano Sandoval [TL: clarify where the choice come from and other small nits] Signed-off-by: Thomas Lamprecht --- diff --git a/js/BackupConfiguration.js b/js/BackupConfiguration.js index e21771f..ed9959c 100644 --- a/js/BackupConfiguration.js +++ b/js/BackupConfiguration.js @@ -12,11 +12,13 @@ Ext.define('PMG.BackupConfiguration', { itemId: 'local', title: gettext('Local Backup/Restore'), xtype: 'pmgBackupRestore', + iconCls: 'fa fa-folder', }, { itemId: 'proxmoxbackupserver', title: 'Proxmox Backup Server', xtype: 'pmgPBSConfig', + iconCls: 'fa fa-floppy-o', }, ], });