[pbs-devel] [PATCH v3 proxmox-backup 2/3] node: status: added bootmode
Gabriel Goller
g.goller at proxmox.com
Mon Nov 27 11:52:04 CET 2023
On 11/27/23 11:39, Lukas Wagner wrote:
>
>
> On 11/27/23 11:16, Gabriel Goller wrote:
>> diff --git a/www/panel/NodeInfo.js b/www/panel/NodeInfo.js
>> index 2551c9a5..907abe3a 100644
>> --- a/www/panel/NodeInfo.js
>> +++ b/www/panel/NodeInfo.js
>> @@ -147,6 +147,22 @@ Ext.define('PBS.NodeInfoPanel', {
>> textField: 'kversion',
>> value: '',
>> },
>> + {
>> + colspan: 2,
>> + title: gettext('Boot Mode'),
>> + printBar: false,
>> + textField: 'boot-info',
>> + renderer: boot => {
>> + console.log(boot);
>
> Left-over debug-print? :) (also indented wrong using only spaces)
Oof, right. Submitted a new patch!
>
>> + 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',
>
More information about the pbs-devel
mailing list