]> git.proxmox.com Git - pmg-gui.git/commitdiff
backup config: add icons to tab buttons
authorMaximiliano Sandoval <m.sandoval@proxmox.com>
Wed, 6 Sep 2023 13:09:07 +0000 (15:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 Sep 2023 06:12:22 +0000 (08:12 +0200)
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 <m.sandoval@proxmox.com>
 [TL: clarify where the choice come from and other small nits]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/BackupConfiguration.js

index e21771ffcba3f25fd725f0e19bd2eb46cb459275..ed9959c0b97fb415f7d52e095cc8a0b55b8c18e2 100644 (file)
@@ -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',
        },
    ],
 });