mirror of
https://github.com/unraid/webgui.git
synced 2026-01-04 00:19:57 -06:00
Restore headers in pool devices
- headers are needed for proper formatting
This commit is contained in:
@@ -141,10 +141,8 @@ $cache = array_filter(cache_filter($disks),function($disk) use ($pool){return pr
|
||||
$power = _var($display,'power') && in_array('nvme',array_column($cache,'transport')) ? ' / '._('Power') : '';
|
||||
$root = explode($_tilde_,$pool)[0];
|
||||
?>
|
||||
<?if ($i==0):?>
|
||||
<thead><tr><td>_(Device)_</td><td>_(Identification)_</td><td>_(Temp)_<?=$power?></td><td>_(Reads)_</td><td>_(Writes)_</td><td>_(Errors)_</td><td>_(FS)_</td><td>_(Size)_</td><td>_(Used)_</td><td>_(Free)_</td></tr></thead>
|
||||
<?endif;?>
|
||||
<?endif;?>
|
||||
<tbody id="pool_device<?=$i++?>">
|
||||
<?foreach ($cache as $disk) if (substr($disk['status'],0,7)!='DISK_NP') echo "<tr><td colspan='10'></td></tr>"?>
|
||||
<?if (_var($display,'total') && _var($cache[$root],'devices',0)>1) echo "<tr class='tr_last'><td colspan='10'></td></tr>"?>
|
||||
|
||||
Reference in New Issue
Block a user