fix: enhance layout consistency in OpenDevices.page

- Wrapped the devices table in a div for improved layout structure.
- This change continues the effort to enhance visual consistency across the plugin.
This commit is contained in:
Zack Spear
2025-05-20 18:51:26 -07:00
parent b8a01225e1
commit d5c38ea14d

View File

@@ -25,15 +25,30 @@ $('<?=$tabX?>').bind({click:function() {$('i.toggle').show('slow');}});
<?endif;?>
</script>
<table class="unraid disk_status">
<thead><tr><td>_(Device)_</td><td>_(Identification)_</td><td><?=$power?>_(Temp)_</td><td>_(Reads)_</td><td>_(Writes)_</td><td>_(Errors)_</td><td>_(FS)_</td><td>_(Size)_</td><td>_(Used)_</td><td>_(Free)_</td></tr></thead>
<tbody id="open_devices">
<?
foreach ($devs as $dev):
echo "<tr><td colspan='10'></td></tr>";
endforeach;
?>
</tbody>
</table>
<div class="TableContainer">
<table class="unraid disk_status">
<thead>
<tr>
<td>_(Device)_</td>
<td>_(Identification)_</td>
<td><?=$power?>_(Temp)_</td>
<td>_(Reads)_</td>
<td>_(Writes)_</td>
<td>_(Errors)_</td>
<td>_(FS)_</td>
<td>_(Size)_</td>
<td>_(Used)_</td>
<td>_(Free)_</td>
</tr>
</thead>
<tbody id="open_devices">
<?
foreach ($devs as $dev):
echo "<tr><td colspan='10'></td></tr>";
endforeach;
?>
</tbody>
</table>
</div>
:open_devices_help: