Merge pull request #135 from bergware/6.4-wip

Show condensed table in dashboard when fewer disks are present
This commit is contained in:
tom mortensen
2017-06-24 17:29:13 -07:00
committed by GitHub

View File

@@ -114,6 +114,7 @@ $slots = count($disks) + count($devs);
?>
<?if ($slots<30):?>
<style>
table.share_status.fixed{width:<?=min(round(($slots+1)*10/3+13),100)?>%}
table.share_status.fixed td:nth-child(<?=$slots+1?>)~td{display:none}
</style>
<?endif;?>