From b9f0d5afdec9e6aeb16fb2849b907b4b89b686f8 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Wed, 6 Sep 2023 15:09:07 +0200 Subject: [PATCH] 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 --- js/BackupConfiguration.js | 2 ++ 1 file changed, 2 insertions(+) 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', }, ], }); -- 2.39.2