mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 18:48:49 -05:00
Improved core separation on Dashboard page
This commit is contained in:
@@ -157,7 +157,7 @@ echo "<td>Array Status</td>".implode('',$row0);
|
||||
<?
|
||||
$tr = false;
|
||||
foreach ($cores as $pair):
|
||||
list($core1, $core2) = explode(',',$pair);
|
||||
list($core1, $core2) = preg_split('/[,-]/',$pair);
|
||||
if ($tr) echo "<tr>";
|
||||
if (isset($core2))
|
||||
echo "<td>core $core1 / $core2</td><td class='blue' id='cpu{$core1}'>"."</td><td class='blue' id='cpu{$core2}'></td>";
|
||||
|
||||
Reference in New Issue
Block a user