From 40ca4c3cde28589d001fb291f820195d5eedb027 Mon Sep 17 00:00:00 2001 From: rmm Date: Wed, 5 Jul 2023 17:23:01 +0200 Subject: [PATCH] Small visual fixes. --- pve-mod-gui-temp.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pve-mod-gui-temp.sh b/pve-mod-gui-temp.sh index f7d99f8..4b36008 100644 --- a/pve-mod-gui-temp.sh +++ b/pve-mod-gui-temp.sh @@ -93,7 +93,7 @@ function configure { fi fi - # Check if NVME data is available + # Check if NVMe data is available msg "\nDetecting support for NVMe temperature sensors..." if (echo "$sensorOutput" | grep -q "nvme-" ); then msg "Detected sensors:\n$(echo "$sensorOutput" | grep -o '"nvme[^"]*"' | sed 's/"//g')" @@ -225,7 +225,7 @@ function install_mod { let temp = items[coreKey][secondLevelKey];\n\ let index = coreKey.match(/\\\S+\\\s*(\\\d+)/);\n\ index = (index !== null && index.length > 1) ? index[1] : '?';\n\ - temps.push(\`\${cpuTempCaption} \${index}: \${temp}°C\`);\n\ + temps.push(\`\${cpuTempCaption} \${index}: \${temp}°C\`);\n\ }\n\ })\n\ } catch(e) { /*_*/ }\n\ @@ -270,7 +270,7 @@ function install_mod { Object.keys(objValue[drvKey][sensorName]).forEach((secondLevelKey) => {\n\ if (secondLevelKey.includes('_input')) {\n\ let temp = objValue[drvKey][sensorName][secondLevelKey];\n\ - temps.push(\`Drive \${index}: \${temp}°C\`);\n\ + temps.push(\`Drive \${index}: \${temp}°C\`);\n\ }\n\ })\n\ } catch(e) { /*_*/ }\n\ @@ -294,7 +294,7 @@ function install_mod { itemId: 'thermalNvme',\n\ colspan: 1,\n\ printBar: false,\n\ - title: gettext('NVME Thermal State'),\n\ + title: gettext('NVMe Thermal State'),\n\ iconCls: 'fa fa-fw fa-thermometer-half',\n\ textField: 'thermalstate',\n\ renderer: function(value) {\n\ @@ -312,7 +312,7 @@ function install_mod { Object.keys(objValue[nvmeKey][sensorName]).forEach((secondLevelKey) => {\n\ if (secondLevelKey.includes('_input')) {\n\ let temp = objValue[nvmeKey][sensorName][secondLevelKey];\n\ - temps.push(\`Drive \${index}: \${temp}°C\`);\n\ + temps.push(\`Drive \${index}: \${temp}°C\`);\n\ }\n\ })\n\ } catch(e) { /*_*/ }\n\