mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-20 12:12:58 +00:00
ui: lxc resources: switch to vector based font awesome icons
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
02ecbc9817
commit
809f6b6ef5
@ -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', {
|
||||||
|
Loading…
Reference in New Issue
Block a user