ui: lxc resources: switch to vector based font awesome icons

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-04-01 11:20:54 +02:00
parent 02ecbc9817
commit 809f6b6ef5

View File

@ -60,7 +60,7 @@ Ext.define('PVE.lxc.RessourceView', {
header: gettext('Swap'), header: gettext('Swap'),
editor: caps.vms['VM.Config.Memory'] ? 'PVE.lxc.MemoryEdit' : undefined, editor: caps.vms['VM.Config.Memory'] ? 'PVE.lxc.MemoryEdit' : undefined,
defaultValue: 512, defaultValue: 512,
tdCls: 'pve-itype-icon-swap', iconCls: 'refresh',
group: 2, group: 2,
renderer: function(value) { renderer: function(value) {
return Proxmox.Utils.format_size(value*1024*1024); return Proxmox.Utils.format_size(value*1024*1024);
@ -96,7 +96,7 @@ Ext.define('PVE.lxc.RessourceView', {
header: gettext('Root Disk'), header: gettext('Root Disk'),
defaultValue: Proxmox.Utils.noneText, defaultValue: Proxmox.Utils.noneText,
editor: mpeditor, editor: mpeditor,
tdCls: 'pve-itype-icon-storage', iconCls: 'hdd-o',
group: 4, group: 4,
}, },
cpulimit: { cpulimit: {
@ -321,7 +321,7 @@ Ext.define('PVE.lxc.RessourceView', {
items: [ items: [
{ {
text: gettext('Mount Point'), text: gettext('Mount Point'),
iconCls: 'pve-itype-icon-storage', iconCls: 'fa fa-fw fa-hdd-o black',
disabled: !caps.vms['VM.Config.Disk'], disabled: !caps.vms['VM.Config.Disk'],
handler: function() { handler: function() {
var win = Ext.create('PVE.lxc.MountPointEdit', { var win = Ext.create('PVE.lxc.MountPointEdit', {