';
- html += `${worker.hostname} ${worker.sdl_id.substring(0, 8)}... | `;
- html += `${status} | `;
- html += `${hardware} | `;
+
+ // ✅ Hostname column with hardware underneath
+ html += `
+ ${worker.hostname}
+ ${worker.sdl_id}
+ ${hardwareDisplay}
+ | `;
+
+ // ✅ Status column with uptime and last seen
+ html += `
+ ${statusBadge}
+ SDL: ${procUptime}
+ OS: ${sysUptime}
+ ${lastSeenAge}
+ | `;
+
+ // CPU
html += `
${cpuAvail} / ${cpuTotal}
${cpuUsed > 0 ? ` ${cpuUsed}% load` : ''}
| `;
+
+ // Memory
html += `
${memAvailGB} / ${memTotalGB} GB
${memPercent > 0 ? ` ${memPercent}% used` : ''}
| `;
+
+ // GPU
html += `
${gpuAvail} / ${gpuTotal}
${gpuMemGB > 0 ? ` (${gpuMemGB} GB)` : ''}
${gpuUsed > 0 ? ` ${gpuUsed}% load` : ''}
| `;
- html += `${uptime} | `;
- html += `${lastSeen} | `;
+
html += '
';
}
diff --git a/sdl-wkr/app/modules/sdl-wkr/index.js b/sdl-wkr/app/modules/sdl-wkr/index.js
index e64af4f..79d684c 100644
--- a/sdl-wkr/app/modules/sdl-wkr/index.js
+++ b/sdl-wkr/app/modules/sdl-wkr/index.js
@@ -525,11 +525,12 @@ function getSystemHardware() {
try {
const piModel = fs.readFileSync('/proc/device-tree/model', 'utf8')
.replace(/\0/g, '')
+ .replace(/Raspberry Pi/, '')
.trim();
if (piModel) {
hardware.type = 'hw'; // ✅ Changed from 'physical'
- hardware.manufacturer = 'Raspberry Pi Foundation';
+ hardware.manufacturer = 'Raspberry Pi';
hardware.model = piModel;
return hardware;
}