mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-04-28 22:56:18 +00:00
dashboard: show boot-mode information
Add a extra row for showing the current boot mode, for that we need to grow the height of the status panel and graphs to have enough space again. Mirrors commit 1f1d8bf3 ("ui: node summary: add boot-mode information") from pve-manager. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
378a1024cb
commit
505f5d7fbc
@ -100,6 +100,21 @@ Ext.define('PMG.NodeInfoPanel', {
|
|||||||
},
|
},
|
||||||
value: '',
|
value: '',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
colspan: 2,
|
||||||
|
title: gettext('Boot Mode'),
|
||||||
|
printBar: false,
|
||||||
|
textField: 'boot-info',
|
||||||
|
renderer: boot => {
|
||||||
|
if (boot.mode === 'legacy-bios') {
|
||||||
|
return 'Legacy BIOS';
|
||||||
|
} else if (boot.mode === 'efi') {
|
||||||
|
return `EFI${boot.secureboot ? ' (Secure Boot)' : ''}`;
|
||||||
|
}
|
||||||
|
return Proxmox.Utils.unknownText;
|
||||||
|
},
|
||||||
|
value: '',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
xtype: 'pmxNodeInfoRepoStatus',
|
xtype: 'pmxNodeInfoRepoStatus',
|
||||||
itemId: 'repositoryStatus',
|
itemId: 'repositoryStatus',
|
||||||
|
Loading…
Reference in New Issue
Block a user