mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-10-05 01:43:30 +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-novnc,
|
||||||
.pve-itype-icon-xtermjs,
|
.pve-itype-icon-xtermjs,
|
||||||
.pve-itype-icon-display,
|
.pve-itype-icon-display,
|
||||||
.pve-itype-icon-memory,
|
|
||||||
.pve-itype-icon-processor,
|
|
||||||
.pve-itype-icon-network,
|
.pve-itype-icon-network,
|
||||||
.pve-itype-icon-network-server,
|
.pve-itype-icon-network-server,
|
||||||
.pve-itype-icon-keyboard,
|
.pve-itype-icon-keyboard,
|
||||||
@ -389,16 +387,6 @@
|
|||||||
background-image:url(../images/icon-cd.png);
|
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
|
.pve-itype-icon-display
|
||||||
{
|
{
|
||||||
background-image:url(../images/icon-display.png);
|
background-image:url(../images/icon-display.png);
|
||||||
|
@ -14,7 +14,7 @@ all:
|
|||||||
# unchecked.png converted from extjs examples/ux/css/images/unchecked.gif
|
# 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
|
# 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)
|
# are self made (sources as .xcf)
|
||||||
# icon-swap, icon-display, icon-harddisk, icon-keyboard, icon-network, icon-usb, icon-cloud
|
# 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)
|
# 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 \
|
openvz-off.png \
|
||||||
blank.gif \
|
blank.gif \
|
||||||
swap.png \
|
swap.png \
|
||||||
icon-ram.png \
|
|
||||||
icon-cpu.png \
|
|
||||||
icon-swap.png \
|
icon-swap.png \
|
||||||
icon-cd.png \
|
icon-cd.png \
|
||||||
icon-network.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'),
|
header: gettext('Memory'),
|
||||||
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-memory',
|
tdCls: 'pmx-itype-icon-memory',
|
||||||
group: 1,
|
group: 1,
|
||||||
renderer: function(value) {
|
renderer: function(value) {
|
||||||
return Proxmox.Utils.format_size(value*1024*1024);
|
return Proxmox.Utils.format_size(value*1024*1024);
|
||||||
@ -59,7 +59,7 @@ Ext.define('PVE.lxc.RessourceView', {
|
|||||||
header: gettext('Cores'),
|
header: gettext('Cores'),
|
||||||
editor: caps.vms['VM.Config.CPU'] ? 'PVE.lxc.CPUEdit' : undefined,
|
editor: caps.vms['VM.Config.CPU'] ? 'PVE.lxc.CPUEdit' : undefined,
|
||||||
defaultValue: '',
|
defaultValue: '',
|
||||||
tdCls: 'pve-itype-icon-processor',
|
tdCls: 'pmx-itype-icon-processor',
|
||||||
group: 3,
|
group: 3,
|
||||||
renderer: function(value) {
|
renderer: function(value) {
|
||||||
var cpulimit = me.getObjectValue('cpulimit');
|
var cpulimit = me.getObjectValue('cpulimit');
|
||||||
|
@ -23,7 +23,7 @@ Ext.define('PVE.node.StatusView', {
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
itemId: 'cpu',
|
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'),
|
title: gettext('CPU usage'),
|
||||||
valueField: 'cpu',
|
valueField: 'cpu',
|
||||||
maxField: 'cpuinfo',
|
maxField: 'cpuinfo',
|
||||||
@ -49,7 +49,7 @@ Ext.define('PVE.node.StatusView', {
|
|||||||
padding: '0 0 20 0',
|
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',
|
itemId: 'memory',
|
||||||
title: gettext('RAM usage'),
|
title: gettext('RAM usage'),
|
||||||
valueField: 'memory',
|
valueField: 'memory',
|
||||||
|
@ -67,7 +67,7 @@ Ext.define('PVE.panel.GuestStatusView', {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
itemId: 'cpu',
|
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'),
|
title: gettext('CPU usage'),
|
||||||
valueField: 'cpu',
|
valueField: 'cpu',
|
||||||
maxField: 'cpus',
|
maxField: 'cpus',
|
||||||
@ -78,7 +78,7 @@ Ext.define('PVE.panel.GuestStatusView', {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
itemId: 'memory',
|
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'),
|
title: gettext('Memory usage'),
|
||||||
valueField: 'mem',
|
valueField: 'mem',
|
||||||
maxField: 'maxmem',
|
maxField: 'maxmem',
|
||||||
|
@ -36,13 +36,13 @@ Ext.define('PVE.panel.TemplateStatusView', {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
itemId: 'cpus',
|
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'),
|
title: gettext('Processors'),
|
||||||
textField: 'cpus',
|
textField: 'cpus',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
itemId: 'memory',
|
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'),
|
title: gettext('Memory'),
|
||||||
textField: 'maxmem',
|
textField: 'maxmem',
|
||||||
renderer: Proxmox.Utils.render_size,
|
renderer: Proxmox.Utils.render_size,
|
||||||
|
@ -66,7 +66,7 @@ Ext.define('PVE.qemu.HardwareView', {
|
|||||||
editor: caps.vms['VM.Config.Memory'] ? 'PVE.qemu.MemoryEdit' : undefined,
|
editor: caps.vms['VM.Config.Memory'] ? 'PVE.qemu.MemoryEdit' : undefined,
|
||||||
never_delete: true,
|
never_delete: true,
|
||||||
defaultValue: '512',
|
defaultValue: '512',
|
||||||
tdCls: 'pve-itype-icon-memory',
|
tdCls: 'pmx-itype-icon-memory',
|
||||||
group: 2,
|
group: 2,
|
||||||
multiKey: ['memory', 'balloon', 'shares'],
|
multiKey: ['memory', 'balloon', 'shares'],
|
||||||
renderer: function(value, metaData, record, ri, ci, store, pending) {
|
renderer: function(value, metaData, record, ri, ci, store, pending) {
|
||||||
@ -95,7 +95,7 @@ Ext.define('PVE.qemu.HardwareView', {
|
|||||||
never_delete: true,
|
never_delete: true,
|
||||||
editor: caps.vms['VM.Config.CPU'] || caps.vms['VM.Config.HWType']
|
editor: caps.vms['VM.Config.CPU'] || caps.vms['VM.Config.HWType']
|
||||||
? 'PVE.qemu.ProcessorEdit' : undefined,
|
? 'PVE.qemu.ProcessorEdit' : undefined,
|
||||||
tdCls: 'pve-itype-icon-processor',
|
tdCls: 'pmx-itype-icon-processor',
|
||||||
group: 3,
|
group: 3,
|
||||||
defaultValue: '1',
|
defaultValue: '1',
|
||||||
multiKey: ['sockets', 'cpu', 'cores', 'numa', 'vcpus', 'cpulimit', 'cpuunits'],
|
multiKey: ['sockets', 'cpu', 'cores', 'numa', 'vcpus', 'cpulimit', 'cpuunits'],
|
||||||
|
Loading…
Reference in New Issue
Block a user