mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-10-04 09:40:25 +00:00
ui: use some icons from widget-toolkit
we moved them there Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
1bd7bcdbf1
commit
a8ea1b6876
@ -281,8 +281,6 @@
|
||||
.pve-itype-icon-novnc,
|
||||
.pve-itype-icon-xtermjs,
|
||||
.pve-itype-icon-display,
|
||||
.pve-itype-icon-memory,
|
||||
.pve-itype-icon-processor,
|
||||
.pve-itype-icon-network,
|
||||
.pve-itype-icon-network-server,
|
||||
.pve-itype-icon-keyboard,
|
||||
@ -389,16 +387,6 @@
|
||||
background-image:url(../images/icon-cd.png);
|
||||
}
|
||||
|
||||
.pve-itype-icon-memory
|
||||
{
|
||||
background-image:url(../images/icon-ram.png);
|
||||
}
|
||||
|
||||
.pve-itype-icon-processor
|
||||
{
|
||||
background-image:url(../images/icon-cpu.png);
|
||||
}
|
||||
|
||||
.pve-itype-icon-display
|
||||
{
|
||||
background-image:url(../images/icon-display.png);
|
||||
|
@ -14,7 +14,7 @@ all:
|
||||
# unchecked.png converted from extjs examples/ux/css/images/unchecked.gif
|
||||
# swap.png downloaded from https://www.iconfinder.com/icons/17009/arrows_exchange_interact_refresh_reload_swap_sync_update_icon#size=16
|
||||
|
||||
# icon-ram, icon-cpu, icon-cd, icon-pci
|
||||
# icon-cd, icon-pci
|
||||
# are self made (sources as .xcf)
|
||||
# icon-swap, icon-display, icon-harddisk, icon-keyboard, icon-network, icon-usb, icon-cloud
|
||||
# come from fontawesome (respective fa-refresh, fa-desktop, fa-hdd-o, fa-keyboard-o, fa-exchange, fa-usb, fa-ellipsis-h, fa-cloud)
|
||||
@ -65,8 +65,6 @@ IMAGES = ${GNOME_IMAGES} \
|
||||
openvz-off.png \
|
||||
blank.gif \
|
||||
swap.png \
|
||||
icon-ram.png \
|
||||
icon-cpu.png \
|
||||
icon-swap.png \
|
||||
icon-cd.png \
|
||||
icon-network.png \
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 205 B |
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 193 B |
Binary file not shown.
@ -39,7 +39,7 @@ Ext.define('PVE.lxc.RessourceView', {
|
||||
header: gettext('Memory'),
|
||||
editor: caps.vms['VM.Config.Memory'] ? 'PVE.lxc.MemoryEdit' : undefined,
|
||||
defaultValue: 512,
|
||||
tdCls: 'pve-itype-icon-memory',
|
||||
tdCls: 'pmx-itype-icon-memory',
|
||||
group: 1,
|
||||
renderer: function(value) {
|
||||
return Proxmox.Utils.format_size(value*1024*1024);
|
||||
@ -59,7 +59,7 @@ Ext.define('PVE.lxc.RessourceView', {
|
||||
header: gettext('Cores'),
|
||||
editor: caps.vms['VM.Config.CPU'] ? 'PVE.lxc.CPUEdit' : undefined,
|
||||
defaultValue: '',
|
||||
tdCls: 'pve-itype-icon-processor',
|
||||
tdCls: 'pmx-itype-icon-processor',
|
||||
group: 3,
|
||||
renderer: function(value) {
|
||||
var cpulimit = me.getObjectValue('cpulimit');
|
||||
|
@ -23,7 +23,7 @@ Ext.define('PVE.node.StatusView', {
|
||||
items: [
|
||||
{
|
||||
itemId: 'cpu',
|
||||
iconCls: 'fa fa-fw pve-itype-icon-processor pve-icon',
|
||||
iconCls: 'fa fa-fw pmx-itype-icon-processor pmx-icon',
|
||||
title: gettext('CPU usage'),
|
||||
valueField: 'cpu',
|
||||
maxField: 'cpuinfo',
|
||||
@ -49,7 +49,7 @@ Ext.define('PVE.node.StatusView', {
|
||||
padding: '0 0 20 0',
|
||||
},
|
||||
{
|
||||
iconCls: 'fa fa-fw pve-itype-icon-memory pve-icon',
|
||||
iconCls: 'fa fa-fw pmx-itype-icon-memory pmx-icon',
|
||||
itemId: 'memory',
|
||||
title: gettext('RAM usage'),
|
||||
valueField: 'memory',
|
||||
|
@ -67,7 +67,7 @@ Ext.define('PVE.panel.GuestStatusView', {
|
||||
},
|
||||
{
|
||||
itemId: 'cpu',
|
||||
iconCls: 'fa fa-fw pve-itype-icon-processor pve-icon',
|
||||
iconCls: 'fa fa-fw pmx-itype-icon-processor pmx-icon',
|
||||
title: gettext('CPU usage'),
|
||||
valueField: 'cpu',
|
||||
maxField: 'cpus',
|
||||
@ -78,7 +78,7 @@ Ext.define('PVE.panel.GuestStatusView', {
|
||||
},
|
||||
{
|
||||
itemId: 'memory',
|
||||
iconCls: 'fa fa-fw pve-itype-icon-memory pve-icon',
|
||||
iconCls: 'fa fa-fw pmx-itype-icon-memory pmx-icon',
|
||||
title: gettext('Memory usage'),
|
||||
valueField: 'mem',
|
||||
maxField: 'maxmem',
|
||||
|
@ -36,13 +36,13 @@ Ext.define('PVE.panel.TemplateStatusView', {
|
||||
},
|
||||
{
|
||||
itemId: 'cpus',
|
||||
iconCls: 'fa fa-fw pve-itype-icon-processor pve-icon',
|
||||
iconCls: 'fa fa-fw pmx-itype-icon-processor pmx-icon',
|
||||
title: gettext('Processors'),
|
||||
textField: 'cpus',
|
||||
},
|
||||
{
|
||||
itemId: 'memory',
|
||||
iconCls: 'fa fa-fw pve-itype-icon-memory pve-icon',
|
||||
iconCls: 'fa fa-fw pmx-itype-icon-memory pmx-icon',
|
||||
title: gettext('Memory'),
|
||||
textField: 'maxmem',
|
||||
renderer: Proxmox.Utils.render_size,
|
||||
|
@ -66,7 +66,7 @@ Ext.define('PVE.qemu.HardwareView', {
|
||||
editor: caps.vms['VM.Config.Memory'] ? 'PVE.qemu.MemoryEdit' : undefined,
|
||||
never_delete: true,
|
||||
defaultValue: '512',
|
||||
tdCls: 'pve-itype-icon-memory',
|
||||
tdCls: 'pmx-itype-icon-memory',
|
||||
group: 2,
|
||||
multiKey: ['memory', 'balloon', 'shares'],
|
||||
renderer: function(value, metaData, record, ri, ci, store, pending) {
|
||||
@ -95,7 +95,7 @@ Ext.define('PVE.qemu.HardwareView', {
|
||||
never_delete: true,
|
||||
editor: caps.vms['VM.Config.CPU'] || caps.vms['VM.Config.HWType']
|
||||
? 'PVE.qemu.ProcessorEdit' : undefined,
|
||||
tdCls: 'pve-itype-icon-processor',
|
||||
tdCls: 'pmx-itype-icon-processor',
|
||||
group: 3,
|
||||
defaultValue: '1',
|
||||
multiKey: ['sockets', 'cpu', 'cores', 'numa', 'vcpus', 'cpulimit', 'cpuunits'],
|
||||
|
Loading…
Reference in New Issue
Block a user