diff --git a/js/dashboard/NodeInfo.js b/js/dashboard/NodeInfo.js index 1c3cfa3..e144e42 100644 --- a/js/dashboard/NodeInfo.js +++ b/js/dashboard/NodeInfo.js @@ -100,6 +100,21 @@ Ext.define('PMG.NodeInfoPanel', { }, 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', itemId: 'repositoryStatus',