[pmg-devel] [PATCH pmg-gui v2] js/BackupConfiguration: Add icons to tab buttons

Dominik Csapak d.csapak at proxmox.com
Wed Sep 6 11:33:17 CEST 2023


On 9/6/23 11:28, Thomas Lamprecht wrote:
>>
>> Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
>> ---
>> Differences from v1:
>>    - Use the `fa-database` icon for local backups as suggested by Dominik
> 
> where has this been suggested? I see no review on the list..
> Please keep reviews public and not in some silo, if you really want to talk
> off list it can be fine, but the summary of that discussion needs to go
> on the mailing lists, either by Dominik suggesting that or by you replying
> to v1 that it's will be replaced by a v2 due to said suggestion from Dominik.
> 
> I'd find the folder icon a slightly better fit for something local, like we
> use for local storage's in the storageSchema in Proxmox VE, but no hard
> feelings from my side – just wondering why database over that..

sorry that was probably my fault :S

Maximiliano asked me off list what i liked better, and i answered without too much thinking
of it (did not notice the v1 on the list at that point yet)

after thinking about it, i agree with thomas, that the 'folder' icon is even better,
is more consistent with pve (as that uses it for local storage too)

sorry again for the confusion


> 
>>    
>>   js/BackupConfiguration.js | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/js/BackupConfiguration.js b/js/BackupConfiguration.js
>> index e21771f..7122822 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-database',
>>   	},
>>   	{
>>   	    itemId: 'proxmoxbackupserver',
>>   	    title: 'Proxmox Backup Server',
>>   	    xtype: 'pmgPBSConfig',
>> +	    iconCls: 'fa fa-floppy-o',
>>   	},
>>      ],
>>   });
> 





More information about the pmg-devel mailing list