mirror of
https://github.com/unraid/webgui.git
synced 2026-01-26 03:29:08 -06:00
Fix single line display of non-hyperthreaded cores on Dashboard page
This commit is contained in:
@@ -159,7 +159,7 @@ $tr = false;
|
||||
foreach ($cores as $pair):
|
||||
list($core1, $core2) = explode(',',$pair);
|
||||
if ($tr) echo "<tr>";
|
||||
if ($core2>=0)
|
||||
if (isset($core2))
|
||||
echo "<td>core $core1 / $core2</td><td class='blue' id='cpu{$core1}'>"."</td><td class='blue' id='cpu{$core2}'></td>";
|
||||
else
|
||||
echo "<td>core $core1</td><td colspan='2' class='blue' id='cpu{$core1}'>";
|
||||
|
||||
Reference in New Issue
Block a user